org.alfresco.filesys.repo.rules.operations
Class RenameFileOperation

java.lang.Object
  extended by org.alfresco.filesys.repo.rules.operations.RenameFileOperation
All Implemented Interfaces:
Operation

public class RenameFileOperation
extends java.lang.Object
implements Operation

Rename a file within the same directory


Constructor Summary
RenameFileOperation(java.lang.String from, java.lang.String to, java.lang.String fromPath, java.lang.String toPath, org.alfresco.service.cmr.repository.NodeRef rootNodeRef)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getFrom()
           
 java.lang.String getFromPath()
           
 org.alfresco.service.cmr.repository.NodeRef getRootNodeRef()
           
 java.lang.String getTo()
           
 java.lang.String getToPath()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenameFileOperation

public RenameFileOperation(java.lang.String from,
                           java.lang.String to,
                           java.lang.String fromPath,
                           java.lang.String toPath,
                           org.alfresco.service.cmr.repository.NodeRef rootNodeRef)
Parameters:
from - name of file from
to - name of file to
fromPath - full path of from
toPath - full path of to
rootNodeRef -
Method Detail

getFrom

public java.lang.String getFrom()

getTo

public java.lang.String getTo()

getToPath

public java.lang.String getToPath()

getFromPath

public java.lang.String getFromPath()

getRootNodeRef

public org.alfresco.service.cmr.repository.NodeRef getRootNodeRef()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.