Class GiftRegistryOrderProcessActionForm

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      MappingResult getServiceMappingResult(org.apache.struts.action.ActionMapping mapping, java.util.Map inMap, javax.servlet.http.HttpServletRequest request)
      Returns a MappingResult object that is corresponding to the given name value pairs.
      java.lang.String getURL()
      Gets the URL
      void setURL(java.lang.String string)
      Sets the success URL view
      org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Validates the input of the GiftRegistryAuthenticationBaseActionForm.
      • 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


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

      • GiftRegistryOrderProcessActionForm

        public GiftRegistryOrderProcessActionForm()
    • Method Detail

      • setURL

        public void setURL(java.lang.String string)
        Sets the success URL view
        string -
      • getURL

        public java.lang.String getURL()
        Gets the URL
      • getServiceMappingResult

        public MappingResult getServiceMappingResult(org.apache.struts.action.ActionMapping mapping,
                                                     java.util.Map inMap,
                                                     javax.servlet.http.HttpServletRequest request)
                                              throws ECException
        Returns a MappingResult object that is corresponding to the given name value pairs. The MappingResult will contain the name of an IBM Gift Center service, and the service input document, which is instance of BusinessObjectDocument.
        getServiceMappingResult in class GiftRegistryBaseValidatorActionForm
        mapping - the ActionMapping used by this action
        map - the input data of a request. Each entry in the map is of the form key: Object[]. For example, if a name-value pair in a request query is lastName = Smith, then the corresponding entry in the inMap is lastName->[Smith]. If the query is orderItemId=1&orderItemId=2&orderItemId=3, then the query is orderItemId->[1, 2, 3]
        request - the request object that represents the current request for which this action is called
        The service request information that is mapped from the given request. If there is no corresponding request found, an empty MappingResult will be returned.
        ECException - if the conversion from the map to the BOD fails
      • validate

        public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Validates the input of the GiftRegistryAuthenticationBaseActionForm. Errors will be stored in the returned ActionErrors.
        validate in class GiftRegistryBaseValidatorActionForm
        mapping - - action mapping
        request - - Http servlet request