org.alfresco.filesys.repo.rules.commands
Class RenameFileCommand
java.lang.Object
org.alfresco.filesys.repo.rules.commands.RenameFileCommand
- All Implemented Interfaces:
- Command
public class RenameFileCommand
- extends java.lang.Object
- implements Command
Rename command
Constructor Summary |
RenameFileCommand(java.lang.String from,
java.lang.String to,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String fromPath,
java.lang.String toPath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenameFileCommand
public RenameFileCommand(java.lang.String from,
java.lang.String to,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String fromPath,
java.lang.String toPath)
getFrom
public java.lang.String getFrom()
getTo
public java.lang.String getTo()
getTransactionRequired
public AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
- Description copied from interface:
Command
- Is a transaction required to run this command?
- Specified by:
getTransactionRequired
in interface Command
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()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.