public class GiftRegistryItemBaseActionForm extends GiftRegistryBaseValidatorActionForm
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
CLASS_NAME
Constructor and Description |
---|
GiftRegistryItemBaseActionForm() |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
updateMappingInput(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request,
java.util.Map inMap)
Updates the given input map with resolved item personalization attributes.
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validates the given request properties, making sure URL, externalId, and quantity are mandatory
|
getRulePropertyFileName, getServiceMappingResult, getStoreDirectory, getStoreId, setRulePropertyFileName, setStoreDirectory
getPage, getResultValueMap, getValidationKey, getValidatorResults, reset, setPage, setValidatorResults
contains, get, get, get, getDynaClass, getMap, getString, getStrings, initialize, initialize, remove, reset, set, set, set, toString
getMultipartRequestHandler, getServletWrapper, setMultipartRequestHandler, setServlet, validate
public static final java.lang.String COPYRIGHT
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
validate
in class GiftRegistryBaseValidatorActionForm
mapping
- The mapping used to select this instancerequest
- The servlet request to be processedpublic java.util.Map updateMappingInput(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request, java.util.Map inMap) throws ECException
mapping
- the ActionMapping
that is used by this action.request
- the HTTP request handled by this actioninMap
- the input that will be feeded to a ServiceMapper
. The mappingInput will
contain all the parameters that come from the current HTTP request. Feel free to add/update/delete entries
in this given input. The original set of the HTTP request parameters will not be polluted (that is, no clone
operation needs to be done on the given input).ECException
- thrown when the updating fails.GiftRegistryBaseValidatorActionForm.updateMappingInput(ActionMapping, HttpServletRequest, Map)