|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserWorkspaceService
User workspace service class that is used to get the document model for the personal workspace of the current user.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 on
ClientException
DocumentModel getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context) throws ClientException
ClientException
DocumentModel getUserPersonalWorkspace(String userName, DocumentModel context) throws ClientException
userName
- is the username of the wanted user's workspace ownercontext
- is a document to determine the domain
ClientException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |