public interface RegistrationUserFactory
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
createUser(CoreSession session,
DocumentModel registrationDoc)
Deprecated.
Logic into createUser will be moved into the component to
prevent from the need to call doPostUserCreation inside this
method. Must be moved into doCreateUser method.
|
DocumentModel |
doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
doCreateUser(CoreSession session,
DocumentModel registrationDoc)
Handle user creation
|
void |
doPostAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
DocumentModel document)
Called just after the right is setted
|
void |
doPostUserCreation(CoreSession session,
DocumentModel registrationDoc,
NuxeoPrincipal user)
Called just after the user is created
|
NuxeoPrincipal createUser(CoreSession session, DocumentModel registrationDoc) throws ClientException, UserRegistrationException
NuxeoPrincipal doCreateUser(CoreSession session, DocumentModel registrationDoc) throws ClientException, UserRegistrationException
ClientException
UserRegistrationException
void doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user) throws ClientException, UserRegistrationException
DocumentModel doAddDocumentPermission(CoreSession session, DocumentModel registrationDoc) throws ClientException
void doPostAddDocumentPermission(CoreSession session, DocumentModel registrationDoc, DocumentModel document) throws ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.