protected class JCRLocalCMISDrive.FileAPI.ContextLocalFile extends Object implements JCRLocalCMISDrive.LocalFile
| Modifier and Type | Field and Description |
|---|---|
protected String |
fileId
The file id.
|
protected javax.jcr.Node |
fileNode
The file node.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ContextLocalFile(String fileId,
javax.jcr.Node fileNode)
Instantiates a new context local file.
|
| Modifier and Type | Method and Description |
|---|---|
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). |
void |
markMoved(String prevParentId)
Deprecated.
|
void |
markRenamed(String prevName)
Track file rename locally.
|
protected final String fileId
protected final javax.jcr.Node fileNode
protected ContextLocalFile(String fileId, javax.jcr.Node fileNode)
fileId - the file idfileNode - the file nodepublic String findRemoteParent(Set<String> remoteParents) throws CMISException
findRemoteParent in interface JCRLocalCMISDrive.LocalFileremoteParents - Set of strings with Ids of remote parentsnull if remote parent not foundCMISException - the CMIS exceptionpublic String findVersionSeriesId()
null if it such property not found (it is a
folder or versioning not available for the document).findVersionSeriesId in interface JCRLocalCMISDrive.LocalFilenull if it cannot be
found or error happenedpublic String findVersionSeriesCheckedOutId()
null if such
property not found (it is a folder or versioning not available for the
document).findVersionSeriesCheckedOutId in interface JCRLocalCMISDrive.LocalFilenull if it cannot be
found or error happened@Deprecated public void markMoved(String prevParentId)
markMoved in interface JCRLocalCMISDrive.LocalFileprevParentId - Stringpublic void markRenamed(String prevName)
markRenamed in interface JCRLocalCMISDrive.LocalFileprevName - StringCopyright © 2003–2020 eXo Platform SAS. All rights reserved.