Class UMUserPasswordResetOptionsData

  • All Implemented Interfaces:
    Serializable

    public class UMUserPasswordResetOptionsData
    extends Object
    implements Serializable
    UMUserPasswordResetOptionsData defines a set of methods that are required by user password reset option viewbean.
    See Also:
    Serialized Form
    • Field Detail

      • DEFAULT_OFF

        public static final int DEFAULT_OFF
        Name of default question unselected constant
        See Also:
        Constant Field Values
      • DEFAULT_ON

        public static final int DEFAULT_ON
        Name of default question selected constant
        See Also:
        Constant Field Values
      • PERSONAL_OFF

        public static final int PERSONAL_OFF
        Name of personal question unselected constant
        See Also:
        Constant Field Values
      • PERSONAL_ON

        public static final int PERSONAL_ON
        Name of personal question selected constant
        See Also:
        Constant Field Values
    • Constructor Detail

      • UMUserPasswordResetOptionsData

        public UMUserPasswordResetOptionsData​(String question,
                                              String questionLocalizedName,
                                              String answer,
                                              int dataStatus)
        Constructs a user password reset options data object
        Parameters:
        answer - user answer to the secret question
        dataStatus - status of question selected or not
    • Method Detail

      • getAnswer

        public String getAnswer()
        Returns the answer to the users secret question.
        Returns:
        the answer stored in this object
      • setAnswer

        public void setAnswer​(String answer)
        Set the answer to the users secret question.
        Parameters:
        answer - Answer to user question.
      • getDataStatus

        public int getDataStatus()
        Returns the data status stored in this object
        Returns:
        the data status stored in this object
      • getQuestion

        public String getQuestion()
        Returns question.
        Returns:
        question.
      • setQuestion

        public void setQuestion​(String question)
        Set question.
        Parameters:
        question - The password reset question
      • getQuestionLocalizedName

        public String getQuestionLocalizedName()
        Returns question localized name.
        Returns:
        question localized name.
      • isSelected

        public boolean isSelected()
        Returns true if the user's secret question stored in this object is selected.
        Returns:
        true if the question is selected.
      • setSelected

        public void setSelected​(boolean selected)
        Set status of user;s secret question selection.
        Parameters:
        selected - true if the question is selected.
      • isPersonalQuestion

        public boolean isPersonalQuestion()
        Returns true if the question is personal
        Returns:
        true if question is personal, false otherwise