public interface UserRegistrationService extends UserInvitationService
UserInvitationService.ValidationMethod
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_NAME |
REGISTRATION_CONFIGURATION_NAME, REGISTRATION_DATA_DOC, REGISTRATION_DATA_USER
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 |
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, getNameEventRegistrationAccepted, getNameEventRegistrationRejected, getNameEventRegistrationSubmitted, getNameEventRegistrationValidated, getRegistrationRules, getRegistrationRulesDocument, getRegistrationsForUser, getUserRegistrationModel, rejectRegistrationRequest, reviveRegistrationRequests, submitRegistrationRequest, submitRegistrationRequest, validateRegistration
static final String CONFIGURATION_NAME
String submitRegistrationRequest(UserRegistrationInfo userInfo, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept, String principalName) throws UserRegistrationException
UserRegistrationException
Map<String,Serializable> validateRegistrationAndSendEmail(String requestId, Map<String,Serializable> additionnalInfo) throws UserRegistrationException
validateRegistrationAndSendEmail
in interface UserInvitationService
requestId
- UserRegistrationException
void addRightsOnDoc(CoreSession session, DocumentModel registrationDoc)
registrationDoc
- containing all registration infoString submitRegistrationRequest(String configurationName, UserRegistrationInfo userInfo, DocumentRegistrationInfo docInfo, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept, String principalName) throws UserRegistrationException
UserRegistrationException
Copyright © 2015 Nuxeo SA. All rights reserved.