Class RenameFileCommand
- java.lang.Object
-
- org.alfresco.filesys.repo.rules.commands.RenameFileCommand
-
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
SoftRenameFileCommand
public class RenameFileCommand extends java.lang.Object implements Command
Rename command
-
-
Constructor Summary
Constructors Constructor Description RenameFileCommand(java.lang.String from, java.lang.String to, org.alfresco.service.cmr.repository.NodeRef rootNode, java.lang.String fromPath, java.lang.String toPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFrom()java.lang.StringgetFromPath()org.alfresco.service.cmr.repository.NodeRefgetRootNode()java.lang.StringgetTo()java.lang.StringgetToPath()AlfrescoTransactionSupport.TxnReadStategetTransactionRequired()Is a transaction required to run this command?booleanisSoft()voidsetFromPath(java.lang.String fromPath)voidsetRootNode(org.alfresco.service.cmr.repository.NodeRef rootNode)voidsetToPath(java.lang.String toPath)
-
-
-
Method Detail
-
getFrom
public java.lang.String getFrom()
-
getTo
public java.lang.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(java.lang.String fromPath)
-
getFromPath
public java.lang.String getFromPath()
-
setToPath
public void setToPath(java.lang.String toPath)
-
getToPath
public java.lang.String getToPath()
-
isSoft
public boolean isSoft()
-
-