public class GiftRegistryUpdateActionForm extends GiftRegistryBaseValidatorActionForm implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME
The name of this class
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
GiftRegistryUpdateActionForm() |
Modifier and Type | Method and Description |
---|---|
MappingResult |
getServiceMappingResult(org.apache.struts.action.ActionMapping mapping,
java.util.Map inMap,
javax.servlet.http.HttpServletRequest request)
Creates a service mapping result that can be used to invoke the gift registry service that
updates a gift registry.
|
java.util.Map |
updateMappingInput(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request,
java.util.Map inMap)
Inserts into the given map an eventDate string that is constructed out of eventDay, eventMonth, and eventYear.
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validates request properties in the given request.
|
getRulePropertyFileName, 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 static final java.lang.String CLASS_NAME
public MappingResult getServiceMappingResult(org.apache.struts.action.ActionMapping mapping, java.util.Map inMap, javax.servlet.http.HttpServletRequest request) throws ECException
getServiceMappingResult
in class GiftRegistryBaseValidatorActionForm
mapping
- the action mapping for this actioninMap
- the map that contains all the existing request parametersrequest
- the request this action is processingServiceMappingException
- if any mapping error occursECException
- if the conversion from the map to the BOD failspublic java.util.Map updateMappingInput(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request, java.util.Map inMap) throws ECException
maping
- mapping used by this action formrequest
- the request this form is currently ininMap
- the inMap that contains given parameters and will be updated.ECExceptin
- if updating failsECException
- thrown when the updating fails.GiftRegistryBaseValidatorActionForm.updateMappingInput(ActionMapping, HttpServletRequest, Map)
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
ActionErrors
. Currently, event dates are validated.validate
in class GiftRegistryBaseValidatorActionForm
mapping
- the action mapping for this requestrequest
- the request in which properties are to be validated