com.ibm.commerce.giftregistry.struts

Class GiftRegistryProfileBaseActionForm

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.commons.beanutils.DynaBean


    public class GiftRegistryProfileBaseActionForm
    extends GiftRegistryBaseValidatorActionForm
    This action form handles request data that creates, updates, or deletes gift registry profiles
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CLASS_NAME
      Class name
      static java.lang.String COPYRIGHT
      IBM Copyright
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getGuestOption()
      Gets the option of guest access option
      java.lang.String getGuestPassword()
      Gets the password of a guest
      java.lang.String getGuestPasswordVerify()
      Gets the password of a guest
      java.lang.String getRegistrantPassword()
      Gets the registrant's password
      java.lang.String getRegistrantPasswordVerify()
      Gets registrant's password repeated
      java.lang.String getURL()
      Gets the URL to be redirected to when the command is successful
      void setURL(java.lang.String aUrl)
      Sets the redirect URL for command success
      org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Validates the given request properties and sets the URL to be redirected.
      • Methods inherited from class org.apache.struts.validator.DynaValidatorForm

        getPage, getResultValueMap, getValidationKey, getValidatorResults, reset, setPage, setValidatorResults
      • Methods inherited from class org.apache.struts.action.DynaActionForm

        contains, get, get, get, getDynaClass, getMap, getString, getStrings, initialize, initialize, remove, reset, set, set, set, toString
      • Methods inherited from class org.apache.struts.action.ActionForm

        getMultipartRequestHandler, getServletWrapper, setMultipartRequestHandler, setServlet, validate
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.apache.commons.beanutils.DynaBean

        contains, get, get, get, getDynaClass, remove, set, set, set
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright
        See Also:
        Constant Field Values
      • CLASS_NAME

        public static final java.lang.String CLASS_NAME
        Class name
    • Constructor Detail

      • GiftRegistryProfileBaseActionForm

        public GiftRegistryProfileBaseActionForm()
    • Method Detail

      • setURL

        public void setURL(java.lang.String aUrl)
        Sets the redirect URL for command success
        Parameters:
        aUrl - the URL to be set
      • getURL

        public java.lang.String getURL()
        Gets the URL to be redirected to when the command is successful
        Returns:
        the URL to be redirected to when the command is successful
      • getRegistrantPassword

        public java.lang.String getRegistrantPassword()
        Gets the registrant's password
        Returns:
        the registrant's password
      • getRegistrantPasswordVerify

        public java.lang.String getRegistrantPasswordVerify()
        Gets registrant's password repeated
        Returns:
        registrant's password repeated
      • getGuestOption

        public java.lang.Integer getGuestOption()
        Gets the option of guest access option
        Returns:
        the option of guest access option
      • getGuestPassword

        public java.lang.String getGuestPassword()
        Gets the password of a guest
        Returns:
        the password of a guest
      • getGuestPasswordVerify

        public java.lang.String getGuestPasswordVerify()
        Gets the password of a guest
        Returns:
        the password of a guest. It has to be the same as the guestPassword. Used for verification
      • validate

        public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Validates the given request properties and sets the URL to be redirected.
        Overrides:
        validate in class GiftRegistryBaseValidatorActionForm
        Parameters:
        mapping - The mapping used to select this instance
        request - The servlet request to be processed
        Returns:
        ActionErrors