ScreenData interface
Method Summary | |
void |
clear()
Clear all the elements instances and reset the "found flag". |
void |
clearElements()
Clears all the elements instances |
void |
copyElementsTo(ScreenData destination)
Copy all the elements to an other ScreenData instance |
void |
copyTo(ScreenData theClone)
Copy all the elements and the "found flag" to an other ScreenData instance. |
void |
exposeData(javax.servlet.http.HttpServletRequest httpRequest)
Exposes all the data elements in the request scope |
java.lang.Object |
getElement(java.lang.String sElementName)
Returns the element instance referenced by the given name |
java.lang.Class |
getElementClass(java.lang.String sElementName)
Returns the class of the element referenced by the given name |
ScreenDataElements |
getElements()
Returns the list of all the elements defined for the ScreenData |
ScreenDataElement |
getScreenDataElement(java.lang.String sElementName)
Returns the ScreenDataElement object for the given name |
boolean |
isElementDefined(java.lang.String sElementName)
Returns true if the given element name is defined in the current ScreenData. |
boolean |
isFound()
Returns true is the screen data is considered as found |
void |
setElement(java.lang.String sElementName,
java.lang.Object oElementInstance)
Sets the new element instance for the given element name |
void |
setFound()
Declares the DATA as "found" ( sets the 'found flag' to false ) |
void |
setNotFound()
Declares the DATA as "not found" ( sets the 'found flag' to true ) |
Method Detail |
public boolean isElementDefined(java.lang.String sElementName)
sElementName
- : the element name
public void setElement(java.lang.String sElementName, java.lang.Object oElementInstance)
sElementName
- : the element nameoElementInstance
- : the element value to set ( instance )
TelosysRuntimeException
- if the element is not defined in the current screen datapublic java.lang.Object getElement(java.lang.String sElementName)
sElementName
- : the element name
TelosysRuntimeException
- if the element is not defined in the current screen datapublic java.lang.Class getElementClass(java.lang.String sElementName)
sElementName
- : the element name
TelosysRuntimeException
- if the element is not defined in the current screen datapublic ScreenDataElement getScreenDataElement(java.lang.String sElementName)
sElementName
- : the element name
TelosysRuntimeException
- if the element is not defined in the current screen datapublic ScreenDataElements getElements()
public void clearElements()
public void clear()
public void copyElementsTo(ScreenData destination)
destination
- : where to copy the elementspublic void copyTo(ScreenData theClone)
theClone
- : where to copy ( the clone/image instance )public void setFound()
public void setNotFound()
public boolean isFound()
public void exposeData(javax.servlet.http.HttpServletRequest httpRequest)
httpRequest
-