Class RenameFileOperation

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

public class RenameFileOperation extends Object implements Operation
Rename a file within the same directory
  • Constructor Details

    • RenameFileOperation

      public RenameFileOperation(String from, String to, String fromPath, String toPath, 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 Details

    • getFrom

      public String getFrom()
    • getTo

      public String getTo()
    • getToPath

      public String getToPath()
    • getFromPath

      public String getFromPath()
    • getRootNodeRef

      public NodeRef getRootNodeRef()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object