public class UserRegistrationComponent extends UserInvitationComponent implements UserRegistrationService
UserInvitationService.ValidationMethod
NUXEO_URL_KEY
CONFIGURATION_NAME
REGISTRATION_CONFIGURATION_NAME, REGISTRATION_DATA_DOC, REGISTRATION_DATA_USER
Constructor and Description |
---|
UserRegistrationComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addRightsOnDoc(CoreSession session,
DocumentModel registrationDoc)
Add an ACL with the right specified in the registration Doc or nothing, if no rights needed.
|
String |
getNameEventRegistrationAccepted() |
String |
getNameEventRegistrationRejected() |
String |
getNameEventRegistrationSubmitted() |
String |
getNameEventRegistrationValidated() |
String |
submitRegistrationRequest(String configurationName,
UserRegistrationInfo userInfo,
DocumentRegistrationInfo docInfo,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod,
boolean autoAccept,
String principalName)
Stores a registration request like submitRegistrationRequest with Document information
|
String |
submitRegistrationRequest(UserRegistrationInfo userInfo,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod,
boolean autoAccept,
String principalName)
Stores a registration request and return a unique ID for it
|
Map<String,Serializable> |
validateRegistrationAndSendEmail(String requestId,
Map<String,Serializable> additionnalInfo)
Validate a registration request and generate the target User
|
acceptRegistrationRequest, checkRequestId, createUser, deleteRegistrationRequests, getConfiguration, getConfiguration, getConfiguration, getConfigurationsName, getOrCreateRootDocument, getRegistrationRules, getRegistrationRulesDocument, getRegistrationsForUser, getTestedRendering, getUserRegistrationModel, registerContribution, rejectRegistrationRequest, reviveRegistrationRequests, submitRegistrationRequest, submitRegistrationRequest, validateRegistration
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtension
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptRegistrationRequest, checkRequestId, createUser, deleteRegistrationRequests, getConfiguration, getConfiguration, getConfiguration, getConfigurationsName, getRegistrationRules, getRegistrationRulesDocument, getRegistrationsForUser, getUserRegistrationModel, rejectRegistrationRequest, reviveRegistrationRequests, submitRegistrationRequest, submitRegistrationRequest, validateRegistration
public String submitRegistrationRequest(UserRegistrationInfo userInfo, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept, String principalName) throws ClientException
UserRegistrationService
submitRegistrationRequest
in interface UserRegistrationService
ClientException
public String submitRegistrationRequest(String configurationName, UserRegistrationInfo userInfo, DocumentRegistrationInfo docInfo, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept, String principalName) throws ClientException, UserRegistrationException
UserRegistrationService
submitRegistrationRequest
in interface UserRegistrationService
ClientException
UserRegistrationException
public Map<String,Serializable> validateRegistrationAndSendEmail(String requestId, Map<String,Serializable> additionnalInfo) throws ClientException, UserRegistrationException
UserInvitationService
validateRegistrationAndSendEmail
in interface UserInvitationService
validateRegistrationAndSendEmail
in interface UserRegistrationService
validateRegistrationAndSendEmail
in class UserInvitationComponent
ClientException
UserRegistrationException
public void addRightsOnDoc(CoreSession session, DocumentModel registrationDoc) throws ClientException
UserRegistrationService
addRightsOnDoc
in interface UserRegistrationService
registrationDoc
- containing all registration infoClientException
public String getNameEventRegistrationSubmitted()
getNameEventRegistrationSubmitted
in interface UserInvitationService
getNameEventRegistrationSubmitted
in class UserInvitationComponent
public String getNameEventRegistrationAccepted()
getNameEventRegistrationAccepted
in interface UserInvitationService
getNameEventRegistrationAccepted
in class UserInvitationComponent
public String getNameEventRegistrationRejected()
getNameEventRegistrationRejected
in interface UserInvitationService
getNameEventRegistrationRejected
in class UserInvitationComponent
public String getNameEventRegistrationValidated()
getNameEventRegistrationValidated
in interface UserInvitationService
getNameEventRegistrationValidated
in class UserInvitationComponent
Copyright © 2015 Nuxeo SA. All rights reserved.