Class JCRLocalCMISDrive.FileAPI.ContextLocalFile

    • Field Detail

      • fileId

        protected final String fileId
        The file id.
      • fileNode

        protected final javax.jcr.Node fileNode
        The file node.
    • Constructor Detail

      • ContextLocalFile

        protected ContextLocalFile​(String fileId,
                                   javax.jcr.Node fileNode)
        Instantiates a new context local file.
        Parameters:
        fileId - the file id
        fileNode - the file node
    • Method Detail

      • findRemoteParent

        public String findRemoteParent​(Set<String> remoteParents)
                                throws CMISException
        Find an Id of remote parent not containing in locals of the file referenced by this file Id.
        Specified by:
        findRemoteParent in interface JCRLocalCMISDrive.LocalFile
        Parameters:
        remoteParents - Set of strings with Ids of remote parents
        Returns:
        String an Id or null if remote parent not found
        Throws:
        CMISException - the CMIS exception
      • findVersionSeriesId

        public String findVersionSeriesId()
        Latest known locally version series id (cmiscd:versionSeriesId) of the document or null if it such property not found (it is a folder or versioning not available for the document).
        Specified by:
        findVersionSeriesId in interface JCRLocalCMISDrive.LocalFile
        Returns:
        String version series id or null if it cannot be found or error happened
      • findVersionSeriesCheckedOutId

        public String findVersionSeriesCheckedOutId()
        Latest known locally id of checked-out document (cmiscd:versionSeriesCheckedOutId) or or null if such property not found (it is a folder or versioning not available for the document).
        Specified by:
        findVersionSeriesCheckedOutId in interface JCRLocalCMISDrive.LocalFile
        Returns:
        String version series id or null if it cannot be found or error happened