Package org.nuxeo.ecm.user.invite
Class UserInvitationComponent.RegistrationCreator
java.lang.Object
org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
org.nuxeo.ecm.user.invite.UserInvitationComponent.RegistrationCreator
- Enclosing class:
- UserInvitationComponent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<String,
Serializable> protected UserRegistrationConfiguration
protected String
protected DocumentModel
protected UserInvitationService.ValidationMethod
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
-
Constructor Summary
ConstructorDescriptionRegistrationCreator
(String configurationName, DocumentModel userRegistrationModel, Map<String, Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.session
available as an unrestricted session.Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
checkUnrestricted, getOriginatingUsername, runUnrestricted, setOriginatingUsername
-
Field Details
-
additionnalInfo
-
registrationUuid
-
validationMethod
-
userRegistrationModel
-
configuration
-
-
Constructor Details
-
RegistrationCreator
public RegistrationCreator(String configurationName, DocumentModel userRegistrationModel, Map<String, Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod)
-
-
Method Details
-
getRegistrationUuid
-
run
public void run()Description copied from class:UnrestrictedSessionRunner
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.session
available as an unrestricted session.It can also be called directly in which case the
UnrestrictedSessionRunner.session
available will be the one passed to#UnrestrictedSessionRunner(CoreSession)
.- Specified by:
run
in classUnrestrictedSessionRunner
-