public class UserWorkspaceService
extends fr.toutatice.ecm.platform.core.userworkspace.ToutaticeUserWorkspaceServiceImpl
fr.toutatice.ecm.platform.core.userworkspace.ToutaticeUserWorkspaceServiceImpl.UnrestrictedPermissionCheckerorg.nuxeo.ecm.platform.userworkspace.core.service.AbstractUserWorkspaceImpl.RootDomainFinder, org.nuxeo.ecm.platform.userworkspace.core.service.AbstractUserWorkspaceImpl.UnrestrictedRootCreator, org.nuxeo.ecm.platform.userworkspace.core.service.AbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder, org.nuxeo.ecm.platform.userworkspace.core.service.AbstractUserWorkspaceImpl.UnrestrictedUWSCreator| Modifier and Type | Field and Description |
|---|---|
protected static int |
UW_PREFIX_SEGMENT_SIZE
Segments prefix size of UserWorkspace.
|
| Constructor and Description |
|---|
UserWorkspaceService() |
| Modifier and Type | Method and Description |
|---|---|
protected org.nuxeo.common.utils.Path |
computeUserWorspacePath(String rootPath,
String usWsName)
Computes full UserWorkspace path.
|
protected org.nuxeo.ecm.core.api.DocumentModel |
createUserWorkspacesRootSegment(org.nuxeo.ecm.core.api.CoreSession unrestrictedSession,
org.nuxeo.ecm.core.api.PathRef rootRef) |
protected org.nuxeo.ecm.core.api.DocumentModel |
doCreateUserWorkspace(org.nuxeo.ecm.core.api.CoreSession unrestrictedSession,
org.nuxeo.ecm.core.api.PathRef userWSRef,
Principal principal,
String userName) |
protected org.nuxeo.ecm.core.api.PathRef |
resolveUserWorkspace(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.PathRef homeDomainRef,
String username,
String workspacename,
int maxsize)
Gets UserWorkspace pathRef checking old policy first.
|
protected void |
setFoldersACL(org.nuxeo.ecm.core.api.DocumentModel doc,
String userName) |
doCreateUserWorkspacesRoot, getUserWorkspaceRootType, getUserWorkspaceType, setUserWorkspaceACL, setUserWorkspaceRootACLbuildUserWorkspaceTitle, computePathUserWorkspaceRoot, digest, getComponent, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getCurrentUserPersonalWorkspace, getDomainName, getExistingUserWorkspace, getExistingUserWorkspaceRoot, getUserPersonalWorkspace, getUserPersonalWorkspace, getUserWorkspaceNameForUser, notifyEventprotected static final int UW_PREFIX_SEGMENT_SIZE
protected void setFoldersACL(org.nuxeo.ecm.core.api.DocumentModel doc,
String userName)
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionprotected org.nuxeo.ecm.core.api.PathRef resolveUserWorkspace(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.PathRef homeDomainRef,
String username,
String workspacename,
int maxsize)
resolveUserWorkspace in class fr.toutatice.ecm.platform.core.userworkspace.ToutaticeUserWorkspaceServiceImplprotected org.nuxeo.common.utils.Path computeUserWorspacePath(String rootPath, String usWsName)
rootPath - usWsName - protected org.nuxeo.ecm.core.api.DocumentModel doCreateUserWorkspace(org.nuxeo.ecm.core.api.CoreSession unrestrictedSession,
org.nuxeo.ecm.core.api.PathRef userWSRef,
Principal principal,
String userName)
throws org.nuxeo.ecm.core.api.ClientException
doCreateUserWorkspace in class org.nuxeo.ecm.platform.userworkspace.core.service.DefaultUserWorkspaceServiceImplorg.nuxeo.ecm.core.api.ClientExceptionprotected org.nuxeo.ecm.core.api.DocumentModel createUserWorkspacesRootSegment(org.nuxeo.ecm.core.api.CoreSession unrestrictedSession,
org.nuxeo.ecm.core.api.PathRef rootRef)
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionCopyright © 2020. All rights reserved.