|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.fe.statemachine.ext.apps.Inputs
Nested Class Summary | |
static class |
Inputs.InputSourceDescriptor
|
Field Summary | |
static java.lang.String |
FAILED_VALIDATION_ERRORS
|
static int |
INPUT_SOURCE_ANY
|
static Inputs.InputSourceDescriptor |
INPUT_SOURCE_DESCRIPTOR_ANY
|
static Inputs.InputSourceDescriptor |
INPUT_SOURCE_DESCRIPTOR_REQUEST
|
static Inputs.InputSourceDescriptor |
INPUT_SOURCE_DESCRIPTOR_USER_SESSION
|
static Inputs.InputSourceDescriptor |
INPUT_SOURCE_DESCRIPTOR_VISIT
|
static int |
INPUT_SOURCE_REQUEST
|
static int |
INPUT_SOURCE_USER_SESSION
|
static int |
INPUT_SOURCE_VISIT
|
static Inputs.InputSourceDescriptor[] |
inputSourceDescriptors
|
Constructor Summary | |
Inputs(IRequest request,
IUserSession userSession,
ResponseData responseData)
Constructor for Inputs. |
Method Summary | |
java.lang.Object |
getParameter(java.lang.String parameterName)
This method returns an Object contained in one of the input sources against the given name, or null if no object is found. |
java.lang.Object |
getParameter(java.lang.String parameterName,
int inputSource)
This method returns the Object in the given inputSource with the given name, or null. |
java.util.Enumeration |
getParameterNames()
This method returns a collected view of all the parameter names known accross all three input sources. |
IRequest |
getRequest()
Returns the request. |
ResponseData |
getResponseData()
Returns the responseData. |
IUserSession |
getUserSession()
Returns the userSession. |
void |
setParameter(java.lang.String parameterName,
java.lang.Object parameterValue)
This method adds the given name and value to INPUT_SOURCE_REQUEST. |
void |
setParameter(java.lang.String parameterName,
java.lang.Object parameterValue,
int inputSource)
This method adds the given name and value to the given inputSource. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int INPUT_SOURCE_ANY
public static final int INPUT_SOURCE_REQUEST
public static final int INPUT_SOURCE_VISIT
public static final int INPUT_SOURCE_USER_SESSION
public static final Inputs.InputSourceDescriptor INPUT_SOURCE_DESCRIPTOR_ANY
public static final Inputs.InputSourceDescriptor INPUT_SOURCE_DESCRIPTOR_REQUEST
public static final Inputs.InputSourceDescriptor INPUT_SOURCE_DESCRIPTOR_USER_SESSION
public static final Inputs.InputSourceDescriptor INPUT_SOURCE_DESCRIPTOR_VISIT
public static final Inputs.InputSourceDescriptor[] inputSourceDescriptors
public static final java.lang.String FAILED_VALIDATION_ERRORS
Constructor Detail |
public Inputs(IRequest request, IUserSession userSession, ResponseData responseData)
request
- The IRequest object, corresponding to INPUT_SOURCE_REQUEST.userSession
- The IUserSession object, corresponding to INPUT_SOURCE_USER_SESSION.responseData
- The ResponseData object, corresponding to INPUT_SOURCE_VISIT.Method Detail |
public IRequest getRequest()
public ResponseData getResponseData()
public IUserSession getUserSession()
public java.util.Enumeration getParameterNames()
The parameter names are ordered with INPUT_SOURCE_REQUEST names first, then INPUT_SOURCE_VISIT names, and finally INPUT_SOURCE_USER_SESSION names.
public java.lang.Object getParameter(java.lang.String parameterName)
The input sources are searched in the order INPUT_SOURCE_REQUEST, then INPUT_SOURCE_VISIT, finally INPUT_SOURCE_USER_SESSION.
parameterName
-
public java.lang.Object getParameter(java.lang.String parameterName, int inputSource)
parameterName
- inputSource
-
java.lang.IllegalArgumentException
- if inputSource is not one of INPUT_SOURCE_REQUEST,
INPUT_SOURCE_VISIT, INPUT_SOURCE_USER_SESSION.public void setParameter(java.lang.String parameterName, java.lang.Object parameterValue)
parameterName
- parameterValue
- public void setParameter(java.lang.String parameterName, java.lang.Object parameterValue, int inputSource)
parameterName
- parameterValue
- inputSource
-
java.lang.IllegalArgumentException
- if inputSource is not one of INPUT_SOURCE_REQUEST,
INPUT_SOURCE_VISIT, INPUT_SOURCE_USER_SESSION.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |