Class MultiTenantUserWorkspaceService
java.lang.Object
org.nuxeo.ecm.platform.userworkspace.core.service.AbstractUserWorkspaceImpl
org.nuxeo.ecm.platform.userworkspace.core.service.DefaultUserWorkspaceServiceImpl
org.nuxeo.ecm.multi.tenant.userworkspace.MultiTenantUserWorkspaceService
- All Implemented Interfaces:
Serializable
,CollectionLocationService
,UserWorkspaceService
Multi tenant aware implementation of the
UserWorkspaceService
.
If there is a current tenant, the UserWorkspaceRoot is stored inside the tenant, otherwise it uses the default
behavior of DefaultUserWorkspaceServiceImpl
.
- Since:
- 5.6
- Author:
- Thomas Roger
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.platform.userworkspace.core.service.AbstractUserWorkspaceImpl
AbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.userworkspace.core.service.AbstractUserWorkspaceImpl
ESCAPE_CHAR, ESCAPED_CHARS, maxsize, targetDomainName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
computePathUserWorkspaceRoot
(CoreSession userCoreSession, String userName) protected String
computePathUserWorkspaceRootForTenant
(CoreSession session, String tenantId) protected String
getTenantId
(CoreSession userCoreSession, String userName) Methods inherited from class org.nuxeo.ecm.platform.userworkspace.core.service.DefaultUserWorkspaceServiceImpl
doCreateUserWorkspace, doCreateUserWorkspacesRoot, getUserWorkspaceRootType, getUserWorkspaceType, initCreateUserWorkspace, initCreateUserWorkspacesRoot
Methods inherited from class org.nuxeo.ecm.platform.userworkspace.core.service.AbstractUserWorkspaceImpl
buildUserWorkspaceTitle, createDefaultCollectionsRoot, createFavorites, digest, escape, generateCandidates, getCandidateUserWorkspaceNames, getComponent, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getDomainName, getExistingUserWorkspace, getExistingUserWorkspaceRoot, getLocale, getUserDefaultCollectionsRoot, getUserFavorites, getUserName, getUserPersonalWorkspace, getUserPersonalWorkspace, initCreateFavorites, initDefaultCollectionsRoot, invalidate, isUnderUserWorkspace, notifyEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.platform.userworkspace.api.UserWorkspaceService
getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getUserPersonalWorkspace, getUserPersonalWorkspace, invalidate, isUnderUserWorkspace
-
Constructor Details
-
MultiTenantUserWorkspaceService
public MultiTenantUserWorkspaceService()
-
-
Method Details
-
getTenantId
-
computePathUserWorkspaceRoot
- Overrides:
computePathUserWorkspaceRoot
in classAbstractUserWorkspaceImpl
-
computePathUserWorkspaceRootForTenant
-