Package org.nuxeo.ecm.user.invite
Class UserInvitationComponent.RegistrationAcceptator
- java.lang.Object
-
- org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
-
- org.nuxeo.ecm.user.invite.UserInvitationComponent.RegistrationAcceptator
-
- Enclosing class:
- UserInvitationComponent
protected class UserInvitationComponent.RegistrationAcceptator extends UnrestrictedSessionRunner
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Serializable>
additionnalInfo
protected Map<String,Serializable>
registrationData
protected String
uuid
-
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
-
-
Constructor Summary
Constructors Constructor Description RegistrationAcceptator(String uuid, Map<String,Serializable> additionnalInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Serializable>
getRegistrationData()
void
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 Detail
-
uuid
protected String uuid
-
registrationData
protected Map<String,Serializable> registrationData
-
additionnalInfo
protected Map<String,Serializable> additionnalInfo
-
-
Constructor Detail
-
RegistrationAcceptator
public RegistrationAcceptator(String uuid, Map<String,Serializable> additionnalInfo)
-
-
Method Detail
-
getRegistrationData
public Map<String,Serializable> getRegistrationData()
-
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
-
-