org.exoplatform.clouddrive.cmis
Interface JCRLocalCMISDrive.LocalFile

All Known Implementing Classes:
JCRLocalCMISDrive.FileAPI.ContextLocalFile
Enclosing class:
JCRLocalCMISDrive

public static interface JCRLocalCMISDrive.LocalFile


Method Summary
 String findRemoteParent(Set<String> remoteParents)
          Find an Id of remote parent not containing in locals of the file referenced by this file Id.
 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).
 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).
 

Method Detail

findRemoteParent

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.

Parameters:
remoteParents - Set of strings with Ids of remote parents
Returns:
String an Id or null if remote parent not found
Throws:
CMISException

findVersionSeriesId

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).

Returns:
String version series id or null if it cannot be found or error happened

findVersionSeriesCheckedOutId

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).

Returns:
String version series id or null if it cannot be found or error happened


Copyright © 2003–2015 eXo Platform SAS. All rights reserved.