com.ibm.commerce.giftregistry.struts

Class UserGiftRegistryCreateActionForm

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


    public class UserGiftRegistryCreateActionForm
    extends GiftRegistryUpdateActionForm
    This action form handles request data that creates a user account and creates a gift registry. This action form extends GiftRegistryUpdateActionForm. The only added function in this form is validation. It mandates a valid storeID.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Validates the given request properties.
      • 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 notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserGiftRegistryCreateActionForm

        public UserGiftRegistryCreateActionForm()
    • Method Detail

      • validate

        public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Validates the given request properties. The request must have store ID, or an action error ActionError(ECMessage._ERR_CMD_MISSING_PARAM.getMessageKey(), ECGiftRegistryConstants.EC_GIFT_REGISTRY_CMD_PARAM_STORE_ID)) will be returned.
        Overrides:
        validate in class GiftRegistryUpdateActionForm
        Parameters:
        mapping - The mapping used to select this instance
        request - The servlet request to be processed
        Returns:
        ActionErrors