Class OpenFileOperation

  • All Implemented Interfaces:
    Operation

    public class OpenFileOperation
    extends java.lang.Object
    implements Operation
    Open File Operation.

    Open a file with the given name.

    • Constructor Detail

      • OpenFileOperation

        public OpenFileOperation​(java.lang.String name,
                                 OpenFileMode mode,
                                 boolean truncate,
                                 org.alfresco.service.cmr.repository.NodeRef rootNode,
                                 java.lang.String path)
        Parameters:
        name - the name of the file to open
        mode - if true open the file in read/write
        truncate - boolean
        rootNode - root node
        path - the full path/name to open
    • Method Detail

      • getName

        public java.lang.String getName()
      • getPath

        public java.lang.String getPath()
      • getRootNodeRef

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

        public boolean isTruncate()
      • 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