public class CMISUser
extends org.exoplatform.clouddrive.CloudUser
| Constructor and Description |
|---|
CMISUser(String id,
String username,
String email,
org.exoplatform.clouddrive.CloudProvider provider,
CMISAPI api)
An user in-memory POJO.
|
| Modifier and Type | Method and Description |
|---|---|
protected CMISAPI |
api()
Internal API.
|
String |
createDriveTitle() |
protected String |
getPredefinedRepositoryName()
Predefined name for this user CMIS repository or
null if
repository wasn't predefined in configuration or by administrator. |
CMISProvider |
getProvider() |
List<org.apache.chemistry.opencmis.client.api.Repository> |
getRepositories()
Available CMIS repositories for this user.
|
String |
getRepositoryId()
Current user repository ID.
|
String |
getRepositoryName()
Current user repository name.
|
String |
getServiceName() |
String |
getUserTitle()
Current user title.
|
void |
setRepositoryId(String repositoryId)
Set current CMIS repository ID for operations of this user.
|
protected final CMISAPI api
public String createDriveTitle() throws javax.jcr.RepositoryException, org.exoplatform.clouddrive.DriveRemovedException, org.exoplatform.clouddrive.CloudDriveException
createDriveTitle in class org.exoplatform.clouddrive.CloudUserjavax.jcr.RepositoryExceptionorg.exoplatform.clouddrive.DriveRemovedExceptionorg.exoplatform.clouddrive.CloudDriveExceptionpublic String getRepositoryId()
String user's repository IDpublic String getRepositoryName()
String user's repository namepublic CMISProvider getProvider()
getProvider in class org.exoplatform.clouddrive.CloudUserpublic List<org.apache.chemistry.opencmis.client.api.Repository> getRepositories() throws org.exoplatform.clouddrive.CloudDriveAccessException, CMISException
org.exoplatform.clouddrive.CloudDriveAccessException - the cloud drive access exceptionCMISException - the CMIS exceptionpublic void setRepositoryId(String repositoryId) throws CMISException, org.exoplatform.clouddrive.RefreshAccessException
repositoryId - StringCMISException - the CMIS exceptionorg.exoplatform.clouddrive.RefreshAccessException - the refresh access exceptionpublic String getServiceName()
getServiceName in class org.exoplatform.clouddrive.CloudUserCopyright © 2003–2019 eXo Platform SAS. All rights reserved.