org.exoplatform.clouddrive.cmis
Class JCRLocalCMISDrive.FileAPI.ContextLocalFile
java.lang.Object
org.exoplatform.clouddrive.cmis.JCRLocalCMISDrive.FileAPI.ContextLocalFile
- All Implemented Interfaces:
- JCRLocalCMISDrive.LocalFile
- Enclosing class:
- JCRLocalCMISDrive.FileAPI
protected class JCRLocalCMISDrive.FileAPI.ContextLocalFile
- extends Object
- implements 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). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileId
protected final String fileId
fileNode
protected final javax.jcr.Node fileNode
JCRLocalCMISDrive.FileAPI.ContextLocalFile
protected JCRLocalCMISDrive.FileAPI.ContextLocalFile(String fileId,
javax.jcr.Node fileNode)
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
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
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.