|
HDIV API 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataComposer
DataComposers's main interface. There are three implementations: encryption, hash and memory
| Method Summary | |
|---|---|
void |
addFlowId(java.lang.String id)
Adds the flow identifier to the page of type IPage. |
void |
beginRequest()
It is called by each request or form of the html page sent back by the server. |
void |
beginRequest(java.lang.String action)
It is called by each request or form of the html page returned by the server, as long as the destiny of the request is an action. |
java.lang.String |
compose(java.lang.String parameter,
java.lang.String value,
boolean editable)
It generates a new encoded value for the parameter parameter
and the value value passed as parameters. |
java.lang.String |
compose(java.lang.String parameter,
java.lang.String value,
boolean editable,
boolean isActionParam,
java.lang.String charEncoding)
Adds a new IParameter object, generated from the values passed as parameters, to the current state state. |
java.lang.String |
compose(java.lang.String parameter,
java.lang.String value,
boolean editable,
java.lang.String editableName)
It generates a new encoded value for the parameter parameter
and the value value passed as parameters. |
java.lang.String |
compose(java.lang.String action,
java.lang.String parameter,
java.lang.String value,
boolean editable)
It generates a new encoded value for the parameter parameter
and the value value passed as parameters. |
java.lang.String |
compose(java.lang.String action,
java.lang.String parameter,
java.lang.String value,
boolean editable,
boolean isActionParam,
java.lang.String charEncoding)
It generates a new encoded value for the parameter parameter
and the value value passed as parameters. |
void |
endPage()
It is called in the post-processing stage of each user request. |
java.lang.String |
endRequest()
It is called in the pre-processing stage of each request or form existing in the page returned by the server. |
IApplication |
getApplication()
|
java.lang.String |
getHDIVParameter()
|
ISession |
getSession()
|
void |
init(ISession session,
IApplication application)
Initializes IdataComposer with the user session and the application context |
void |
mergeParameters(java.lang.String oldParameter,
java.lang.String newParameter)
Creates a new parameter called newParameter and adds all
the values of oldParameter stored in the state to it. |
void |
setApplication(IApplication application)
|
void |
setSession(ISession session)
|
void |
startPage()
It is called in the pre-processing stage of each user request. |
| Method Detail |
|---|
java.lang.String compose(java.lang.String parameter,
java.lang.String value,
boolean editable)
parameter
and the value value passed as parameters. The returned
value guarantees the confidentiality in the encoded and memory strategies
if confidentiality indicator confidentiality is true.
parameter - HTTP parameter namevalue - value generated by servereditable - parameter type: editable(textbox, password,etc.) or non
editable (hidden, select, radio, ...)
java.lang.String compose(java.lang.String action,
java.lang.String parameter,
java.lang.String value,
boolean editable)
parameter
and the value value passed as parameters. The returned
value guarantees the confidentiality in the encoded and memory strategies
if confidentiality indicator confidentiality is true.
action - target actionparameter - HTTP parameter namevalue - value generated by servereditable - parameter type: editable(textbox, password,etc.) or non
editable (hidden, select, radio, ...)
java.lang.String compose(java.lang.String parameter,
java.lang.String value,
boolean editable,
java.lang.String editableName)
parameter
and the value value passed as parameters. The returned
value guarantees the confidentiality in the encoded and memory strategies
if confidentiality indicator confidentiality is true.
parameter - HTTP parameter namevalue - value generated by servereditable - parameter type: editable(textbox, password,etc.) or non
editable (hidden, select, radio, ...)editableName - editable name (text or textarea)
java.lang.String compose(java.lang.String parameter,
java.lang.String value,
boolean editable,
boolean isActionParam,
java.lang.String charEncoding)
state. If
confidentiality is activated it generates a new encoded value that will
be returned by the server for the parameter parameter in
the encoded and memory strategies.
parameter - HTTP parametervalue - value generated by servereditable - Parameter type: editable(textbox, password,etc.) or non
editable (hidden, select, radio, ...)isActionParam - parameter added in action attributecharEncoding - character encoding
java.lang.String compose(java.lang.String action,
java.lang.String parameter,
java.lang.String value,
boolean editable,
boolean isActionParam,
java.lang.String charEncoding)
parameter
and the value value passed as parameters. The returned
value guarantees the confidentiality in the encoded and memory strategies
if confidentiality indicator confidentiality is true.
action - target actionparameter - parameter namevalue - value generated by servereditable - parameter type: editable(textbox, password,etc.) or non
editable (hidden, select,...)isActionParam - parameter added in action attributecharEncoding - character encoding
void beginRequest()
void beginRequest(java.lang.String action)
target - Target namejava.lang.String endRequest()
void init(ISession session,
IApplication application)
session - Http session wrapperapplication - ServletContext wrappervoid startPage()
void endPage()
void setSession(ISession session)
session - The session to set.void setApplication(IApplication application)
application - The application to set.ISession getSession()
IApplication getApplication()
void mergeParameters(java.lang.String oldParameter,
java.lang.String newParameter)
newParameter and adds all
the values of oldParameter stored in the state to it.
oldParameter - name of the parameter stored in the statenewParameter - name of the new parameterjava.lang.String getHDIVParameter()
void addFlowId(java.lang.String id)
IPage.
|
HDIV 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||