Package org.gluu.oxtrust.action
Class RegisterPersonAction
- java.lang.Object
-
- org.gluu.oxtrust.action.RegisterPersonAction
-
- All Implemented Interfaces:
java.io.Serializable
@ConversationScoped @Named("registerPersonAction") public class RegisterPersonAction extends java.lang.Object implements java.io.Serializable
- Author:
- Dejan Maric, Yuriy Movchan Date: 08.14.2015
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisterPersonAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
cancel()
void
confirm()
protected java.lang.String
getActionName()
java.util.List<GluuCustomAttribute>
getCustomAttributes()
java.lang.String
getEmail()
protected java.lang.String
getEventQueue()
java.util.List<java.lang.String>
getHiddenAttributes()
java.lang.String
getInum()
java.util.List<GluuCustomAttribute>
getMandatoryAttributes()
Returns list of mandatory attributesjava.lang.String
getPassword()
GluuCustomPerson
getPerson()
java.lang.String
getPostRegistrationInformation()
java.lang.String
getRepeatPassword()
java.lang.String
initPerson()
Initializes attributes for registering new personjava.lang.String
initPersonImpl()
boolean
isCaptchaDisabled()
boolean
isConfirmationOkay()
java.lang.String
register()
java.lang.String
registerImpl()
void
setConfirmationOkay(boolean confirmationOkay)
void
setEmail(java.lang.String email)
void
setInum(java.lang.String inum)
void
setPassword(java.lang.String password)
void
setPostRegistrationInformation(java.lang.String postRegistrationInformation)
void
setRepeatPassword(java.lang.String repeatPassword)
void
validateConfirmPassword(javax.faces.context.FacesContext context, javax.faces.component.UIComponent comp, java.lang.Object value)
void
validateEmail(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
-
-
-
Method Detail
-
getEmail
public java.lang.String getEmail()
-
setEmail
public void setEmail(java.lang.String email)
-
initPerson
public java.lang.String initPerson()
Initializes attributes for registering new person- Returns:
- String describing success of the operation
- Throws:
java.lang.Exception
-
initPersonImpl
public java.lang.String initPersonImpl()
-
register
public java.lang.String register() throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
-
registerImpl
public java.lang.String registerImpl() throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
-
confirm
public void confirm()
-
cancel
public java.lang.String cancel()
-
getMandatoryAttributes
public java.util.List<GluuCustomAttribute> getMandatoryAttributes()
Returns list of mandatory attributes- Returns:
- list of person's mandatory attributes
- Throws:
java.lang.Exception
-
getActionName
protected java.lang.String getActionName()
-
getCustomAttributes
public java.util.List<GluuCustomAttribute> getCustomAttributes()
-
getEventQueue
protected java.lang.String getEventQueue()
-
getPerson
public GluuCustomPerson getPerson()
-
getInum
public java.lang.String getInum()
-
setInum
public void setInum(java.lang.String inum)
-
getHiddenAttributes
public java.util.List<java.lang.String> getHiddenAttributes()
-
getPassword
public java.lang.String getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
getRepeatPassword
public java.lang.String getRepeatPassword()
-
setRepeatPassword
public void setRepeatPassword(java.lang.String repeatPassword)
-
isCaptchaDisabled
public boolean isCaptchaDisabled()
-
getPostRegistrationInformation
public java.lang.String getPostRegistrationInformation()
-
setPostRegistrationInformation
public void setPostRegistrationInformation(java.lang.String postRegistrationInformation)
-
validateEmail
public void validateEmail(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value) throws javax.faces.validator.ValidatorException
- Throws:
javax.faces.validator.ValidatorException
-
isConfirmationOkay
public boolean isConfirmationOkay()
-
setConfirmationOkay
public void setConfirmationOkay(boolean confirmationOkay)
-
validateConfirmPassword
public void validateConfirmPassword(javax.faces.context.FacesContext context, javax.faces.component.UIComponent comp, java.lang.Object value)
-
-