public class GiftRegistryLogoffActionForm extends GiftRegistryBaseValidatorActionForm
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
CLASS_NAME
Constructor and Description |
---|
GiftRegistryLogoffActionForm() |
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()
The get 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 and sets the URL for redirection after logging off.
|
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 void setURL(java.lang.String string)
string
- - the success URL viewpublic java.lang.String getURL()
public MappingResult getServiceMappingResult(org.apache.struts.action.ActionMapping mapping, java.util.Map inMap, javax.servlet.http.HttpServletRequest request) throws ECException
MappingResult
object that is corresponding to the given
name value pairs. The MappingResult
will contain the name of a GC1 service,
and the service input document, which is instance of BusinessObjectDocument
.getServiceMappingResult
in class GiftRegistryBaseValidatorActionForm
mapping
- the ActionMapping used by this actionmap
- 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 calledMappingResult
will be returned.ECException
- if the conversion from the map to the BOD failspublic org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
validate
in class GiftRegistryBaseValidatorActionForm
mapping
- - action mappingrequest
- - Http servlet request