com.ibm.commerce.giftregistry.struts

Class GiftRegistryAnnouncementPostActionForm

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


    public class GiftRegistryAnnouncementPostActionForm
    extends GiftRegistryBaseValidatorActionForm
    This action form handles request data which announces a gift registry
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map getRecipientEmail()
      Gets recipient e-mail
      java.util.Map getRecipientName()
      Gets recipient name
      java.lang.String getRecipients()
      Gets the recipients of the e-mail
      void setRecipientEmail(java.util.Map aRecipientEmail)
      Sets recipient e-mail
      void setRecipientName(java.util.Map aRecipientName)
      Sets the recipient name
      void setRecipients(java.lang.String pRecipients)
      Sets the recipients of the e-mail
      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
        See Also:
        Constant Field Values
    • Constructor Detail

      • GiftRegistryAnnouncementPostActionForm

        public GiftRegistryAnnouncementPostActionForm()
    • Method Detail

      • getRecipients

        public java.lang.String getRecipients()
        Gets the recipients of the e-mail
        Returns:
        The recipients of the e-mail
      • setRecipients

        public void setRecipients(java.lang.String pRecipients)
        Sets the recipients of the e-mail
        Parameters:
        recipients - - the recipients of the e-mail
      • setRecipientName

        public void setRecipientName(java.util.Map aRecipientName)
        Sets the recipient name
        Parameters:
        recipientName - - Recipient Name
      • setRecipientEmail

        public void setRecipientEmail(java.util.Map aRecipientEmail)
        Sets recipient e-mail
        Parameters:
        recipientEmail - - recipient e-mail
      • getRecipientName

        public java.util.Map getRecipientName()
        Gets recipient name
        Returns:
        recipientName - recipient name
      • getRecipientEmail

        public java.util.Map getRecipientEmail()
        Gets recipient e-mail
        Returns:
        recipientEmail - recipient e-mail
      • validate

        public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Validates the given request properties. Errors will be stored in the returned ActionErrors. Gift registry ID and external ID will be validated. If both gift registry ID and external ID are not available, an error will be returned.
        Overrides:
        validate in class GiftRegistryBaseValidatorActionForm
        Parameters:
        mapping - The mapping used to select this instance
        request - The servlet request to be processed
        Returns:
        ActionErrors