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.Stringcancel()voidconfirm()protected java.lang.StringgetActionName()java.util.List<GluuCustomAttribute>getCustomAttributes()java.lang.StringgetEmail()protected java.lang.StringgetEventQueue()java.util.List<java.lang.String>getHiddenAttributes()java.lang.StringgetInum()java.util.List<GluuCustomAttribute>getMandatoryAttributes()Returns list of mandatory attributesjava.lang.StringgetPassword()GluuCustomPersongetPerson()java.lang.StringgetPostRegistrationInformation()java.lang.StringgetRepeatPassword()java.lang.StringinitPerson()Initializes attributes for registering new personjava.lang.StringinitPersonImpl()booleanisCaptchaDisabled()booleanisConfirmationOkay()java.lang.Stringregister()java.lang.StringregisterImpl()voidsetConfirmationOkay(boolean confirmationOkay)voidsetEmail(java.lang.String email)voidsetInum(java.lang.String inum)voidsetPassword(java.lang.String password)voidsetPostRegistrationInformation(java.lang.String postRegistrationInformation)voidsetRepeatPassword(java.lang.String repeatPassword)voidvalidateEmail(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)
-
-