Class MoveFileOperation

  • All Implemented Interfaces:
    Operation

    public class MoveFileOperation
    extends Object
    implements Operation
    Rename a file within the same directory
    • Constructor Detail

      • MoveFileOperation

        public MoveFileOperation​(String from,
                                 String to,
                                 String fromPath,
                                 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 String getFrom()
      • getTo

        public String getTo()
      • getToPath

        public String getToPath()
      • getFromPath

        public String getFromPath()
      • getRootNodeRef

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

        public int hashCode()
        Overrides:
        hashCode in class Object