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.UnrestrictedUserWorkspaceFinder
ESCAPE_CHAR, ESCAPED_CHARS, maxsize, targetDomainName
Constructor and Description |
---|
MultiTenantUserWorkspaceService() |
Modifier and Type | Method and Description |
---|---|
protected String |
computePathUserWorkspaceRoot(CoreSession userCoreSession,
String userName) |
protected String |
computePathUserWorkspaceRootForTenant(CoreSession session,
String tenantId) |
protected String |
getTenantId(CoreSession userCoreSession,
String userName) |
doCreateUserWorkspace, doCreateUserWorkspacesRoot, getUserWorkspaceRootType, getUserWorkspaceType, initCreateUserWorkspace, initCreateUserWorkspacesRoot
buildUserWorkspaceTitle, digest, escape, generateCandidates, getCandidateUserWorkspaceNames, getComponent, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getDomainName, getExistingUserWorkspace, getExistingUserWorkspaceRoot, getUserName, getUserPersonalWorkspace, getUserPersonalWorkspace, invalidate, isUnderUserWorkspace, notifyEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getUserPersonalWorkspace, getUserPersonalWorkspace, invalidate, isUnderUserWorkspace
public MultiTenantUserWorkspaceService()
protected String getTenantId(CoreSession userCoreSession, String userName)
protected String computePathUserWorkspaceRoot(CoreSession userCoreSession, String userName)
computePathUserWorkspaceRoot
in class AbstractUserWorkspaceImpl
protected String computePathUserWorkspaceRootForTenant(CoreSession session, String tenantId)
Copyright © 2018 Nuxeo. All rights reserved.