public class MultiTenantUserWorkspaceService extends DefaultUserWorkspaceServiceImpl
UserWorkspaceService
.
If there is a current tenant, the UserWorkspaceRoot is stored inside the tenant, otherwise it uses the default
behavior of DefaultUserWorkspaceServiceImpl
.
AbstractUserWorkspaceImpl.RootDomainFinder, AbstractUserWorkspaceImpl.UnrestrictedPermissionChecker, AbstractUserWorkspaceImpl.UnrestrictedRootCreator, AbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder, AbstractUserWorkspaceImpl.UnrestrictedUWSCreator
maxsize, targetDomainName
Constructor and Description |
---|
MultiTenantUserWorkspaceService() |
Modifier and Type | Method and Description |
---|---|
protected String |
computePathUserWorkspaceRoot(CoreSession userCoreSession,
String userName,
DocumentModel currentDocument) |
protected String |
computePathUserWorkspaceRootForTenant(CoreSession session,
String tenantId) |
protected String |
getTenantId(CoreSession userCoreSession,
String userName) |
doCreateUserWorkspace, doCreateUserWorkspacesRoot, getUserWorkspaceRootType, getUserWorkspaceType, setUserWorkspaceACL, setUserWorkspaceRootACL
buildUserWorkspaceTitle, digest, getComponent, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getDomainName, getExistingUserWorkspace, getExistingUserWorkspaceRoot, getUserPersonalWorkspace, getUserPersonalWorkspace, getUserWorkspaceNameForUser, notifyEvent, resolveUserWorkspace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getUserPersonalWorkspace, getUserPersonalWorkspace
public MultiTenantUserWorkspaceService()
protected String getTenantId(CoreSession userCoreSession, String userName)
protected String computePathUserWorkspaceRoot(CoreSession userCoreSession, String userName, DocumentModel currentDocument)
computePathUserWorkspaceRoot
in class AbstractUserWorkspaceImpl
protected String computePathUserWorkspaceRootForTenant(CoreSession session, String tenantId)
Copyright © 2016 Nuxeo SA. All rights reserved.