Class FileInfoImpl

    • Method Detail

      • getNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
        Description copied from interface: PermissionCheckValue
        Get the underlying node value that needs to be permission checked.
        Specified by:
        getNodeRef in interface FileInfo
        Specified by:
        getNodeRef in interface PermissionCheckValue
        Returns:
        Returns a reference to the low-level node representing this file
      • isFolder

        public boolean isFolder()
        Specified by:
        isFolder in interface FileInfo
        Returns:
        Return true if this instance represents a folder, false if this represents a file
      • isLink

        public boolean isLink()
        Specified by:
        isLink in interface FileInfo
        Returns:
        true if this instance represents a link to a node
      • isHidden

        public boolean isHidden()
        Specified by:
        isHidden in interface FileInfo
        Returns:
        true if this instance represents a hidden file
      • getLinkNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getLinkNodeRef()
        Specified by:
        getLinkNodeRef in interface FileInfo
        Returns:
        Return the reference to the node that this node is linked to
      • getName

        public String getName()
        Specified by:
        getName in interface FileInfo
        Returns:
        Returns the name of the file or folder within the parent folder
      • getCreatedDate

        public Date getCreatedDate()
        Specified by:
        getCreatedDate in interface FileInfo
        Returns:
        Returns the date the node was created
      • getModifiedDate

        public Date getModifiedDate()
        Specified by:
        getModifiedDate in interface FileInfo
        Returns:
        Returns the modified date
      • getContentData

        public org.alfresco.service.cmr.repository.ContentData getContentData()
        Description copied from interface: FileInfo
        Get the content data. This is only valid for files.
        Specified by:
        getContentData in interface FileInfo
        Returns:
        Returns the content data
      • getProperties

        public Map<org.alfresco.service.namespace.QName,​Serializable> getProperties()
        Specified by:
        getProperties in interface FileInfo
        Returns:
        Returns all the node properties
      • getType

        public org.alfresco.service.namespace.QName getType()
        Specified by:
        getType in interface FileInfo
        Returns:
        Returns (sub-)type of folder or file