org.alfresco.filesys.repo.rules.commands
Class RenameFileCommand

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getFrom()
           
 java.lang.String getFromPath()
           
 org.alfresco.service.cmr.repository.NodeRef getRootNode()
           
 java.lang.String getTo()
           
 java.lang.String getToPath()
           
 AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
          Is a transaction required to run this command?
 void setFromPath(java.lang.String fromPath)
           
 void setRootNode(org.alfresco.service.cmr.repository.NodeRef rootNode)
           
 void setToPath(java.lang.String toPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.