org.nuxeo.ecm.platform.userworkspace.ejb
Class UserWorkspaceManagerBean
java.lang.Object
org.nuxeo.ecm.platform.userworkspace.ejb.UserWorkspaceManagerBean
- All Implemented Interfaces:
- java.io.Serializable, UserWorkspaceService
public class UserWorkspaceManagerBean
- extends java.lang.Object
- implements UserWorkspaceService
- Author:
- btatar
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserWorkspaceManagerBean
public UserWorkspaceManagerBean()
initialize
@PostConstruct
public void initialize()
getCurrentUserPersonalWorkspace
public DocumentModel getCurrentUserPersonalWorkspace(java.lang.String userName,
DocumentModel currentDocument)
throws ClientException
- Description copied from interface:
UserWorkspaceService
- Gets the current user personal workspace from a lower level.
If this personal workspace does not exist then a new one will be created
for the user who is represented by first argument.
- Specified by:
getCurrentUserPersonalWorkspace
in interface UserWorkspaceService
- Parameters:
userName
- the current usercurrentDocument
- the current document on which the user was on
- Returns:
- the DocumentModel for the personal workspace of the current user
- Throws:
ClientException
getCurrentUserPersonalWorkspace
public DocumentModel getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context)
throws ClientException
- Specified by:
getCurrentUserPersonalWorkspace
in interface UserWorkspaceService
- Throws:
ClientException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.