@Name(value="userRegistrationConfigurationActions") @Scope(value=CONVERSATION) public class UserRegistrationConfigurationActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
protected ResourcesAccessor |
resourcesAccessor |
protected String |
selectedConfiguration |
protected DocumentModel |
selectedConfigurationDocument |
protected UserRegistrationService |
userRegistrationService |
Constructor and Description |
---|
UserRegistrationConfigurationActions() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
getConfigurationDocument() |
Set<String> |
getConfigurationsName() |
RegistrationRules |
getRules(String configurationName) |
String |
getSelectedConfiguration() |
void |
resetState() |
void |
saveConfiguration() |
void |
setSelectedConfiguration(String selectedConfiguration) |
@In(create=true, required=false) protected transient CoreSession documentManager
@In(create=true, required=false) protected transient org.jboss.seam.faces.FacesMessages facesMessages
@In(create=true) protected transient ResourcesAccessor resourcesAccessor
@In(create=true) protected transient UserRegistrationService userRegistrationService
protected DocumentModel selectedConfigurationDocument
protected String selectedConfiguration
public UserRegistrationConfigurationActions()
public String getSelectedConfiguration()
public Set<String> getConfigurationsName()
public void setSelectedConfiguration(String selectedConfiguration)
public RegistrationRules getRules(String configurationName)
public DocumentModel getConfigurationDocument()
public void saveConfiguration()
@Observer(value="documentChanged") public void resetState()
Copyright © 2016 Nuxeo SA. All rights reserved.