public class SocialRegistrationUserFactory extends DefaultRegistrationUserFactory
Modifier and Type | Field and Description |
---|---|
static String |
ADMINISTRATOR_RIGHT |
static String |
MEMBER_RIGHT |
static String |
NOT_NOTIFY_MEMBER_FIELD |
Constructor and Description |
---|
SocialRegistrationUserFactory() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc) |
void |
doPostAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
DocumentModel document)
Called just after the right is setted
|
SocialWorkspaceService |
getSocialWorkspaceService() |
UserManager |
getUserManager() |
createUser, doCreateUser, doPostUserCreation
public static final String NOT_NOTIFY_MEMBER_FIELD
public static final String ADMINISTRATOR_RIGHT
public static final String MEMBER_RIGHT
public DocumentModel doAddDocumentPermission(CoreSession session, DocumentModel registrationDoc) throws ClientException
doAddDocumentPermission
in interface RegistrationUserFactory
doAddDocumentPermission
in class DefaultRegistrationUserFactory
ClientException
UserRegistrationComponent.addRightsOnDoc(org.nuxeo.ecm.core.api.CoreSession, org.nuxeo.ecm.core.api.DocumentModel)
public void doPostAddDocumentPermission(CoreSession session, DocumentModel registrationDoc, DocumentModel document) throws ClientException
RegistrationUserFactory
doPostAddDocumentPermission
in interface RegistrationUserFactory
doPostAddDocumentPermission
in class DefaultRegistrationUserFactory
ClientException
UserRegistrationComponent.addRightsOnDoc(org.nuxeo.ecm.core.api.CoreSession, org.nuxeo.ecm.core.api.DocumentModel)
public SocialWorkspaceService getSocialWorkspaceService()
public UserManager getUserManager()
Copyright © 2013 Nuxeo SA. All Rights Reserved.