com.bradmcevoy.http
Interface MoveableResource

All Superinterfaces:
Resource
All Known Subinterfaces:
FileResource, FolderResource

public interface MoveableResource
extends Resource

webDAV MOVE


Method Summary
 void moveTo(CollectionResource rDest, java.lang.String name)
           
 
Methods inherited from interface com.bradmcevoy.http.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
 

Method Detail

moveTo

void moveTo(CollectionResource rDest,
            java.lang.String name)
            throws ConflictException,
                   NotAuthorizedException,
                   BadRequestException
Parameters:
rDest - is the destination folder to move to.
name - is the new name of the moved resource
Throws:
ConflictException - if the destination already exists, or the operation could not be completed because of some other persisted state
NotAuthorizedException
BadRequestException


Copyright © 2011. All Rights Reserved.