|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.controller.objects.DIFRequest
public class DIFRequest
Implementation for IDIFRequest
.
Field Summary | |
---|---|
static String |
ORIGINAL_REQUEST
The key to the original request stored as an attribute. |
Fields inherited from interface pt.digitalis.dif.controller.interfaces.IDIFRequest |
---|
CLIENT_VALIDATIONS_ATTRIBUTE_ID, LOG_PARAMETER_ID, LOGIN_PARAMETER_ID, LOGOUT_PARAMETER_ID, PASSWORD_PARAMETER_ID, REDIRECT_TO_URL, USER_PARAMETER_ID |
Constructor Summary | |
---|---|
DIFRequest()
|
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()
Inspector for the 'restCall' attribute. |
boolean |
isTemplateMode()
|
void |
setAjaxMode(boolean ajaxMode)
Modifier for the 'ajaxMode' attribute. |
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 |
setRestCall(boolean restCall)
Modifier for the 'restCall' attribute. |
void |
setSession(IDIFSession session)
Modifier for the session |
void |
setStage(String newStage)
Stage modifier. |
void |
setTemplateMode(boolean templateMode)
|
String |
toString()
Returns the Request object in a human-readable form. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ORIGINAL_REQUEST
Constructor Detail |
---|
public DIFRequest()
Method Detail |
---|
public void addAttribute(String attributeName, Object attributeValue)
IDIFRequest
addAttribute
in interface IDIFRequest
attributeName
- attribute identifierattributeValue
- attribute valueIDIFRequest.addAttribute(String, Object)
public void addParameter(String parameterName, Object parameterValue)
IDIFRequest
addParameter
in interface IDIFRequest
parameterName
- parameter identifierparameterValue
- parameter valueIDIFRequest.addParameter(String, Object)
public Object getAttribute(String name)
IDIFRequest
getAttribute
in interface IDIFRequest
name
- the name of the attribute to retrieve
IDIFRequest.getAttribute(java.lang.String)
public Map<String,Object> getAttributes()
IDIFRequest
getAttributes
in interface IDIFRequest
IDIFRequest.getAttributes()
public ClientDescriptor getClient()
IDIFRequest
getClient
in interface IDIFRequest
IDIFRequest.getClient()
public String getFormat()
IDIFRequest
getFormat
in interface IDIFRequest
IDIFRequest.getFormat()
public Object getParameter(String name)
IDIFRequest
getParameter
in interface IDIFRequest
name
- the name of the parameter to retrieve
IDIFRequest.getParameter(java.lang.String)
public Map<String,Object> getParameters()
IDIFRequest
getParameters
in interface IDIFRequest
IDIFRequest.getParameters()
public RESTAction getRestAction()
getRestAction
in interface IDIFRequest
IDIFRequest.getRestAction()
public IDIFSession getSession()
IDIFRequest
getSession
in interface IDIFRequest
IDIFRequest.getSession()
public String getStage()
IDIFRequest
getStage
in interface IDIFRequest
IDIFRequest.getStage()
public IStage getStageProxy()
IDIFRequest
getStageProxy
in interface IDIFRequest
IDIFRequest.getStageProxy()
public boolean isAjaxMode()
isAjaxMode
in interface IDIFRequest
IDIFRequest.isAjaxMode()
public boolean isComponentMode()
isComponentMode
in interface IDIFRequest
IDIFRequest.isComponentMode()
public boolean isHelpMode()
isHelpMode
in interface IDIFRequest
IDIFRequest.isHelpMode()
public boolean isPopupMode()
isPopupMode
in interface IDIFRequest
IDIFRequest.isPopupMode()
public boolean isRestCall()
isRestCall
in interface IDIFRequest
public boolean isTemplateMode()
isTemplateMode
in interface IDIFRequest
IDIFRequest.isTemplateMode()
public void setAjaxMode(boolean ajaxMode)
ajaxMode
- the new ajaxMode value to setpublic void setAttributes(Map<String,Object> attributes)
IDIFRequest
setAttributes
in interface IDIFRequest
attributes
- the attributes to setIDIFRequest.setAttributes(Map)
public void setClient(ClientDescriptor client)
setClient
in interface IDIFRequest
client
- the client to setIDIFRequest.setClient(ClientDescriptor)
public void setComponentMode(boolean componentMode)
setComponentMode
in interface IDIFRequest
componentMode
- the componentMode to setIDIFRequest.setComponentMode(boolean)
public void setFormat(String format)
IDIFRequest
setFormat
in interface IDIFRequest
format
- the format to setIDIFRequest.setFormat(java.lang.String)
public void setHelpMode(boolean helpMode)
setHelpMode
in interface IDIFRequest
helpMode
- the helpMode to setIDIFRequest.setHelpMode(boolean)
public void setParameters(Map<String,Object> parameters)
IDIFRequest
setParameters
in interface IDIFRequest
parameters
- the parameters to setIDIFRequest.setParameters(Map)
public void setPopupMode(boolean popupMode)
setPopupMode
in interface IDIFRequest
popupMode
- the popupMode to setIDIFRequest.setPopupMode(boolean)
public void setRestAction(RESTAction restAction)
setRestAction
in interface IDIFRequest
restAction
- sets the RES action executed.IDIFRequest.setRestAction(pt.digitalis.dif.controller.objects.RESTAction)
public void setRestCall(boolean restCall)
restCall
- the new restCall value to setpublic void setSession(IDIFSession session)
IDIFRequest
setSession
in interface IDIFRequest
session
- the session to setIDIFRequest.setSession(pt.digitalis.dif.controller.interfaces.IDIFSession)
public void setStage(String newStage)
IDIFRequest
setStage
in interface IDIFRequest
newStage
- the stage to setIDIFRequest.setStage(String)
public void setTemplateMode(boolean templateMode)
setTemplateMode
in interface IDIFRequest
templateMode
- the templateMode to setIDIFRequest.setTemplateMode(boolean)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |