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