public interface UserWorkspaceService extends Serializable
| Modifier and Type | Method and Description |
|---|---|
DocumentModel |
getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context) |
DocumentModel |
getCurrentUserPersonalWorkspace(String userName,
DocumentModel currentDocument)
Gets the current user personal workspace from a lower level.
|
DocumentModel |
getUserPersonalWorkspace(String userName,
DocumentModel context)
Gets a detached user workspace of a specified user.
|
DocumentModel getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument) throws ClientException
If this personal workspace does not exist then a new one will be created for the user who is represented by first argument.
userName - the current usercurrentDocument - the current document on which the user was onClientExceptionDocumentModel getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context) throws ClientException
ClientExceptionDocumentModel getUserPersonalWorkspace(String userName, DocumentModel context) throws ClientException
userName - is the username of the wanted user's workspace ownercontext - is a document to determine the domainClientExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.