Package org.exoplatform.clouddrive.cmis
Interface JCRLocalCMISDrive.LocalFile
-
- All Known Implementing Classes:
JCRLocalCMISDrive.FileAPI.ContextLocalFile
- Enclosing class:
- JCRLocalCMISDrive
public static interface JCRLocalCMISDrive.LocalFileThe Interface LocalFile.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringfindRemoteParent(Set<String> remoteParents)Find an Id of remote parent not containing in locals of the file referenced by this file Id.StringfindVersionSeriesCheckedOutId()Latest known locally id of checked-out document (cmiscd:versionSeriesCheckedOutId) or ornullif such property not found (it is a folder or versioning not available for the document).StringfindVersionSeriesId()Latest known locally version series id (cmiscd:versionSeriesId) of the document ornullif it such property not found (it is a folder or versioning not available for the document).voidmarkMoved(String prevParentId)Deprecated.voidmarkRenamed(String prevName)Track file rename locally.
-
-
-
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-Setof strings with Ids of remote parents- Returns:
- String an Id or
nullif remote parent not found - Throws:
CMISException- the CMIS exception
-
findVersionSeriesId
String findVersionSeriesId()
Latest known locally version series id (cmiscd:versionSeriesId) of the document ornullif it such property not found (it is a folder or versioning not available for the document).- Returns:
- String version series id or
nullif it cannot be found or error happened
-
findVersionSeriesCheckedOutId
String findVersionSeriesCheckedOutId()
Latest known locally id of checked-out document (cmiscd:versionSeriesCheckedOutId) or ornullif such property not found (it is a folder or versioning not available for the document).- Returns:
- String version series id or
nullif it cannot be found or error happened
-
markMoved
@Deprecated void markMoved(String prevParentId)
Deprecated.Track file move locally.- Parameters:
prevParentId-String
-
-