org.alfresco.filesys.repo.rules.operations
Class RenameFileOperation
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 fromto - name of file tofromPath - full path of fromtoPath - full path of torootNodeRef -
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.