|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDIFRequest
Defines the expected behavior for a DIF request.
Field Summary | |
---|---|
static String |
CLIENT_VALIDATIONS_ATTRIBUTE_ID
The id where requests indicates that the chal client validations should or shouldn't be made |
static String |
LOG_PARAMETER_ID
The id where requests indicates that want's download the server log |
static String |
LOGIN_PARAMETER_ID
The id where requests indicates that want's to login |
static String |
LOGOUT_PARAMETER_ID
The id where requests indicates that want's to logout |
static String |
PASSWORD_PARAMETER_ID
The id where users pass the user password to authenticate |
static String |
REDIRECT_TO_URL
The exceptional redirect to parameter |
static String |
USER_PARAMETER_ID
The id where users pass the user id to authenticate |
Method Summary | |
---|---|
void |
addAttribute(String attributeName,
Object attributeValue)
Adds a new attribute to the DIFRequest collection. |
void |
addParameter(String parameterName,
Object parameterValue)
Adds a new parameter to the DIFRequest collection. |
Object |
getAttribute(String name)
Retrieves an attribute from the attribute collection |
Map<String,Object> |
getAttributes()
Inspector for the request parameters. |
ClientDescriptor |
getClient()
Inspector for the client descriptor. |
String |
getFormat()
Format inspector. |
Object |
getParameter(String name)
Retrieves a parameter from the parameter collection |
Map<String,Object> |
getParameters()
Inspector for the request parameters. |
RESTAction |
getRestAction()
|
IDIFSession |
getSession()
Inspector for the session. |
String |
getStage()
Stage inspector. |
IStage |
getStageProxy()
Stage inspector. |
boolean |
isAjaxMode()
|
boolean |
isComponentMode()
|
boolean |
isHelpMode()
|
boolean |
isPopupMode()
|
boolean |
isRestCall()
|
boolean |
isTemplateMode()
|
void |
setAttributes(Map<String,Object> attributes)
Modifier for the request attributes. |
void |
setClient(ClientDescriptor client)
|
void |
setComponentMode(boolean componentMode)
|
void |
setFormat(String format)
Format modifier. |
void |
setHelpMode(boolean helpMode)
|
void |
setParameters(Map<String,Object> parameters)
Modifier for the request parameters. |
void |
setPopupMode(boolean popupMode)
|
void |
setRestAction(RESTAction restAction)
|
void |
setSession(IDIFSession session)
Modifier for the session |
void |
setStage(String newStage)
Stage modifier. |
void |
setTemplateMode(boolean templateMode)
|
Field Detail |
---|
static final String CLIENT_VALIDATIONS_ATTRIBUTE_ID
static final String LOG_PARAMETER_ID
static final String LOGIN_PARAMETER_ID
static final String LOGOUT_PARAMETER_ID
static final String PASSWORD_PARAMETER_ID
static final String REDIRECT_TO_URL
static final String USER_PARAMETER_ID
Method Detail |
---|
void addAttribute(String attributeName, Object attributeValue)
attributeName
- attribute identifierattributeValue
- attribute valuevoid addParameter(String parameterName, Object parameterValue)
parameterName
- parameter identifierparameterValue
- parameter valueObject getAttribute(String name)
name
- the name of the attribute to retrieve
Map<String,Object> getAttributes()
ClientDescriptor getClient()
String getFormat()
Object getParameter(String name)
name
- the name of the parameter to retrieve
Map<String,Object> getParameters()
RESTAction getRestAction()
IDIFSession getSession()
String getStage()
IStage getStageProxy()
boolean isAjaxMode()
boolean isComponentMode()
boolean isHelpMode()
boolean isPopupMode()
boolean isRestCall()
boolean isTemplateMode()
void setAttributes(Map<String,Object> attributes)
attributes
- the attributes to setvoid setClient(ClientDescriptor client)
client
- the client to setvoid setComponentMode(boolean componentMode)
componentMode
- the componentMode to setvoid setFormat(String format)
format
- the format to setvoid setHelpMode(boolean helpMode)
helpMode
- the helpMode to setvoid setParameters(Map<String,Object> parameters)
parameters
- the parameters to setvoid setPopupMode(boolean popupMode)
popupMode
- the popupMode to setvoid setRestAction(RESTAction restAction)
restAction
- sets the RES action executed.void setSession(IDIFSession session)
session
- the session to setvoid setStage(String newStage)
newStage
- the stage to setvoid setTemplateMode(boolean templateMode)
templateMode
- the templateMode to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |