|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.webdav.WebDAVMethod
org.alfresco.repo.webdav.HierarchicalMethod
org.alfresco.repo.webdav.AbstractMoveOrCopyMethod
public abstract class AbstractMoveOrCopyMethod
Implements the WebDAV COPY and MOVE methods
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.alfresco.repo.webdav.WebDAVMethod |
---|
WebDAVMethod.Condition |
Field Summary |
---|
Fields inherited from class org.alfresco.repo.webdav.HierarchicalMethod |
---|
m_overwrite, m_strDestinationPath |
Fields inherited from class org.alfresco.repo.webdav.WebDAVMethod |
---|
logger, m_conditions, m_davHelper, m_depth, m_request, m_resourceTag, m_response, m_rootNodeRef, m_strPath, m_userAgent |
Constructor Summary | |
---|---|
AbstractMoveOrCopyMethod()
Default constructor |
Method Summary | |
---|---|
protected void |
executeImpl()
Exceute the request |
protected abstract void |
moveOrCopy(org.alfresco.service.cmr.model.FileFolderService fileFolderService,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
org.alfresco.service.cmr.repository.NodeRef destParentNodeRef,
java.lang.String name)
Implement the move or copy, depending on the implementation |
Methods inherited from class org.alfresco.repo.webdav.HierarchicalMethod |
---|
checkDestinationPath, getDestinationPath, hasOverWrite, parseRequestBody, parseRequestHeaders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMoveOrCopyMethod()
Method Detail |
---|
protected abstract void moveOrCopy(org.alfresco.service.cmr.model.FileFolderService fileFolderService, org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.cmr.repository.NodeRef destParentNodeRef, java.lang.String name) throws java.lang.Exception
fileFolderService
- the service to do the worksourceNodeRef
- the node to copy or movedestParentNodeRef
- the destination parentname
- the name of the file or folder
java.lang.Exception
protected final void executeImpl() throws WebDAVServerException, java.lang.Exception
executeImpl
in class WebDAVMethod
WebDAVServerException
java.lang.Exception
- any unhandled exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |