Class MoveFileCommand
- java.lang.Object
-
- org.alfresco.filesys.repo.rules.commands.MoveFileCommand
-
-
Constructor Summary
Constructors Constructor Description MoveFileCommand(String from, String to, org.alfresco.service.cmr.repository.NodeRef rootNode, String fromPath, String toPath)MoveFileCommand(String from, String to, org.alfresco.service.cmr.repository.NodeRef rootNode, String fromPath, String toPath, boolean moveAsSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFrom()StringgetFromPath()org.alfresco.service.cmr.repository.NodeRefgetRootNode()StringgetTo()StringgetToPath()AlfrescoTransactionSupport.TxnReadStategetTransactionRequired()Is a transaction required to run this command?booleanisMoveAsSystem()voidsetFromPath(String fromPath)voidsetRootNode(org.alfresco.service.cmr.repository.NodeRef rootNode)voidsetToPath(String toPath)
-
-
-
Method Detail
-
getFrom
public String getFrom()
-
getTo
public String getTo()
-
getTransactionRequired
public AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
Description copied from interface:CommandIs a transaction required to run this command?- Specified by:
getTransactionRequiredin interfaceCommand
-
setRootNode
public void setRootNode(org.alfresco.service.cmr.repository.NodeRef rootNode)
-
getRootNode
public org.alfresco.service.cmr.repository.NodeRef getRootNode()
-
setFromPath
public void setFromPath(String fromPath)
-
getFromPath
public String getFromPath()
-
setToPath
public void setToPath(String toPath)
-
getToPath
public String getToPath()
-
isMoveAsSystem
public boolean isMoveAsSystem()
-
-