Class OpenFileOperation

  • All Implemented Interfaces:
    Operation

    public class OpenFileOperation
    extends Object
    implements Operation
    Open File Operation.

    Open a file with the given name.

    • Constructor Detail

      • OpenFileOperation

        public OpenFileOperation​(String name,
                                 OpenFileMode mode,
                                 boolean truncate,
                                 org.alfresco.service.cmr.repository.NodeRef rootNode,
                                 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 String getName()
      • getPath

        public String getPath()
      • getRootNodeRef

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

        public boolean isTruncate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object