| Package | Description |
|---|---|
| org.exoplatform.clouddrive.cmis |
CMIS connector.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CMISInvalidArgumentException
Wrong argument in a request to CMIS service.
|
class |
WrongCMISProviderException
Wrong provider used for CMIS service end-point.
|
| Modifier and Type | Field and Description |
|---|---|
protected CMISException |
JCRLocalCMISDrive.Sync.preSyncError |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.chemistry.opencmis.commons.spi.CmisBinding |
CMISAPI.binding()
Create CMIS binding instance (low-level API but with fine grained control).
|
protected CMISAPI |
CMISConnector.API.build()
Build API.
|
protected org.apache.chemistry.opencmis.client.api.Document |
CMISAPI.copyDocument(org.apache.chemistry.opencmis.client.api.Document source,
org.apache.chemistry.opencmis.client.api.Folder parent,
String name)
Copy document to a new one using CMIS objects.
|
protected org.apache.chemistry.opencmis.client.api.Document |
CMISAPI.copyDocument(String id,
String parentId,
String name)
Copy document to a new one.
|
protected org.apache.chemistry.opencmis.client.api.Folder |
CMISAPI.copyFolder(org.apache.chemistry.opencmis.client.api.Folder source,
org.apache.chemistry.opencmis.client.api.Folder parent,
String name)
Copy folder to a new one using CMIS objects.
|
protected org.apache.chemistry.opencmis.client.api.Folder |
CMISAPI.copyFolder(String id,
String parentId,
String name)
Copy folder to a new one.
|
protected CMISAPI |
CMISConnector.createAPI(CodeAuthentication.Identity userId)
Create
CMISAPI instance. |
protected org.apache.chemistry.opencmis.client.api.Document |
CMISAPI.createDocument(String parentId,
String name,
String mimeType,
InputStream data) |
protected org.apache.chemistry.opencmis.client.api.Folder |
CMISAPI.createFolder(String parentId,
String name) |
protected CMISUser |
CMISConnector.createUser(CodeAuthentication.Identity userId)
|
protected void |
CMISAPI.deleteDocument(String id)
Delete a cloud file by given fileId.
|
protected void |
CMISAPI.deleteFolder(String id)
Delete a cloud folder by given folderId.
|
String |
JCRLocalCMISDrive.LocalFile.findRemoteParent(String fileId,
Set<String> remoteParents)
Find an Id of remote parent not containing in locals of the file referenced by given Id.
|
String |
JCRLocalCMISDrive.FileAPI.findRemoteParent(String fileId,
Set<String> remoteParents)
Find an Id of remote parent not containing in locals of the file referenced by given Id.
|
protected CMISAPI.ChangesIterator |
CMISAPI.getChanges(CMISAPI.ChangeToken changeToken) |
protected String |
JCRLocalCMISDrive.getChangeToken(javax.jcr.Node localNode)
Read CMIS change token of a file.
Override this method to apply vendor specific logic (id type etc). |
protected String |
CMISAPI.getEmbedLink(org.apache.chemistry.opencmis.client.api.CmisObject item)
Link (URL) to embed a file onto external app (in PLF).
|
protected String |
CMISAPI.getEmbedLink(org.apache.chemistry.opencmis.client.api.Document doc)
Link (URL) to embed a document onto external app (in PLF).
|
protected String |
CMISAPI.getEmbedLink(org.apache.chemistry.opencmis.client.api.Folder folder)
Link (URL) to embed a folder onto external app (in PLF).
|
protected String |
CMISAPI.getLink(org.apache.chemistry.opencmis.client.api.CmisObject file)
Link (URl) to a file for opening on provider site (UI).
|
protected String |
CMISAPI.getLink(org.apache.chemistry.opencmis.client.api.Folder file)
Link (URl) to a folder for downloading from provider site.
|
protected org.apache.chemistry.opencmis.client.api.CmisObject |
CMISAPI.getObject(String objectId)
Return CMIS object from the repository.
|
List<org.apache.chemistry.opencmis.client.api.Repository> |
CMISUser.getRepositories()
Available CMIS repositories for this user.
|
protected List<org.apache.chemistry.opencmis.client.api.Repository> |
CMISAPI.getRepositories()
Available repositories for current user.
|
protected org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
CMISAPI.getRepositoryInfo() |
protected org.apache.chemistry.opencmis.client.api.Folder |
CMISAPI.getRootFolder()
The drive root folder.
|
protected CMISAPI.DriveState |
CMISAPI.getState() |
protected void |
JCRLocalCMISDrive.initCMISItem(javax.jcr.Node localNode,
org.apache.chemistry.opencmis.client.api.CmisObject item)
Initialize CMIS specifics of files and folders.
|
protected void |
CMISAPI.initRepository(String repositoryId)
Init current CMIS repository for late use.
|
protected boolean |
CMISAPI.isSyncableChange(org.apache.chemistry.opencmis.client.api.ChangeEvent change) |
protected static CMISUser |
JCRLocalCMISDrive.loadUser(CMISConnector.API apiBuilder,
javax.jcr.Node driveNode)
Load user from the drive Node.
|
protected Iterator<org.apache.chemistry.opencmis.client.api.ChangeEvent> |
CMISAPI.ChangesIterator.nextChunk() |
protected CMISAPI.ChangeToken |
CMISAPI.readToken(org.apache.chemistry.opencmis.client.api.ChangeEvent event) |
protected CMISAPI.ChangeToken |
CMISAPI.readToken(String tokenString) |
protected List<org.apache.chemistry.opencmis.client.api.Repository> |
CMISAPI.repositories()
List of repositories available on CMIS service.
|
protected org.apache.chemistry.opencmis.client.api.Session |
CMISAPI.session()
Create CMIS session.
|
protected org.apache.chemistry.opencmis.client.api.Session |
CMISAPI.session(boolean forceNew)
Create CMIS session.
|
protected void |
JCRLocalCMISDrive.setChangeToken(javax.jcr.Node localNode,
String changeToken)
Initialize CMIS Change Token of a file.
Override this method to apply vendor specific logic (id type etc). |
void |
CMISUser.setCurrentRepository(String repositoryId)
Set current CMIS repository for operations of this user.
|
protected org.apache.chemistry.opencmis.client.api.Document |
CMISAPI.updateContent(String id,
String name,
InputStream data,
String mimeType,
JCRLocalCMISDrive.LocalFile local)
Update document name (if differs with remote) and its content stream.
|
protected org.apache.chemistry.opencmis.client.api.Folder |
CMISAPI.updateFolder(String parentId,
String id,
String name,
JCRLocalCMISDrive.LocalFile local)
Deprecated.
|
protected org.apache.chemistry.opencmis.client.api.CmisObject |
CMISAPI.updateObject(String parentId,
String id,
String name,
JCRLocalCMISDrive.LocalFile local)
Update CMIS object name and parent (if object was moved locally).
|
protected void |
CMISAPI.updateState()
Update the drive state.
|
| Constructor and Description |
|---|
CMISAPI.ChangesIterator(CMISAPI.ChangeToken startChangeToken) |
CMISAPI(String serviceURL,
String user,
String password)
Create API from user credentials.
|
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.