protected class UserInvitationComponent.RegistrationCreator extends UnrestrictedSessionRunner
Modifier and Type | Field and Description |
---|---|
protected Map<String,Serializable> |
additionnalInfo |
protected UserRegistrationConfiguration |
configuration |
protected String |
registrationUuid |
protected DocumentModel |
userRegistrationModel |
protected UserInvitationService.ValidationMethod |
validationMethod |
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
Constructor and Description |
---|
RegistrationCreator(String configurationName,
DocumentModel userRegistrationModel,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod) |
Modifier and Type | Method and Description |
---|---|
String |
getRegistrationUuid() |
void |
run()
This method will be called by
UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted
session. |
getOriginatingUsername, isUnrestricted, runUnrestricted, setOriginatingUsername
protected Map<String,Serializable> additionnalInfo
protected String registrationUuid
protected UserInvitationService.ValidationMethod validationMethod
protected DocumentModel userRegistrationModel
protected UserRegistrationConfiguration configuration
public RegistrationCreator(String configurationName, DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod)
public String getRegistrationUuid()
public void run()
UnrestrictedSessionRunner
UnrestrictedSessionRunner.runUnrestricted()
with UnrestrictedSessionRunner.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)
.
run
in class UnrestrictedSessionRunner
Copyright © 2016 Nuxeo SA. All rights reserved.