|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.clouddrive.CloudUser
org.exoplatform.clouddrive.cmis.CMISUser
public class CMISUser
CMIS user.
| Field Summary | |
|---|---|
protected CMISAPI |
api
|
| Fields inherited from class org.exoplatform.clouddrive.CloudUser |
|---|
email, hashCode, id, provider, serviceName, username |
| Constructor Summary | |
|---|---|
CMISUser(String id,
String username,
String email,
org.exoplatform.clouddrive.CloudProvider provider,
CMISAPI api)
An user in-memory POJO. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.exoplatform.clouddrive.CloudUser |
|---|
equals, getEmail, getId, getUsername, hashCode, setServiceName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final CMISAPI api
| Constructor Detail |
|---|
public CMISUser(String id,
String username,
String email,
org.exoplatform.clouddrive.CloudProvider provider,
CMISAPI api)
id - Stringusername - Stringemail - Stringprovider - CloudProviderapi - CMISAPI| Method Detail |
|---|
protected CMISAPI api()
CMISAPI instance authenticated for this user.
public String createDriveTitle()
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.DriveRemovedException,
org.exoplatform.clouddrive.CloudDriveException
createDriveTitle in class org.exoplatform.clouddrive.CloudUserjavax.jcr.RepositoryException
org.exoplatform.clouddrive.DriveRemovedException
org.exoplatform.clouddrive.CloudDriveExceptionpublic String getRepositoryId()
String user's repository IDpublic String getRepositoryName()
String user's repository namepublic String getUserTitle()
String user namepublic CMISProvider getProvider()
getProvider in class org.exoplatform.clouddrive.CloudUser
public List<org.apache.chemistry.opencmis.client.api.Repository> getRepositories()
throws org.exoplatform.clouddrive.CloudDriveAccessException,
CMISException
org.exoplatform.clouddrive.CloudDriveAccessException
CMISException
public void setRepositoryId(String repositoryId)
throws CMISException,
org.exoplatform.clouddrive.RefreshAccessException
repositoryId - String
org.exoplatform.clouddrive.RefreshAccessException
CMISExceptionpublic String getServiceName()
getServiceName in class org.exoplatform.clouddrive.CloudUserprotected String getPredefinedRepositoryName()
null if repository wasn't predefined in
configuration or by administrator.
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||