public class IlrReportContext
extends java.lang.Object
| Constructor and Description |
|---|
IlrReportContext(IlrSession session)
Creates a context with a given
session. |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientData(java.lang.String property,
java.lang.Object value)
Adds the user object bound to a given
property. |
void |
addProperty(java.lang.String property,
java.lang.Object value)
Adds a given
property to the context. |
java.lang.Object |
getClientData(java.lang.String property)
Returns the user object bound to a given
property. |
java.util.List<java.lang.String> |
getPropertyNames()
Returns a list of the properties bound to this context.
|
java.lang.Object |
getPropertyValue(java.lang.String property)
Returns the object bound to a given
property. |
IlrReportFilter |
getReportFilter()
Returns an instance of
IlrReportFilter to filter the elements used in the report. |
IlrReportSorter |
getReportSorter()
Returns an instance of
IlrReportSorter to sort the elements used in the report. |
IlrSession |
getSession()
Returns the session bound to this context.
|
void |
removeClientData(java.lang.String property)
Removes the user object bound to a given
property. |
void |
removeProperty(java.lang.String property)
Removes a given
property from the context. |
void |
setReportFilter(IlrReportFilter reportFilter)
Sets an instance of
IlrReportFilter to filter the elements used in the report. |
void |
setReportSorter(IlrReportSorter reportSorter)
Sets an instance of
IlrReportSorter to sort the elements used in the report. |
public IlrReportContext(IlrSession session)
session.
session - The session.public IlrSession getSession()
public IlrReportFilter getReportFilter()
IlrReportFilter to filter the elements used in the report.public void setReportFilter(IlrReportFilter reportFilter)
IlrReportFilter to filter the elements used in the report.
reportFilter - An instance of IlrReportFilter.public IlrReportSorter getReportSorter()
IlrReportSorter to sort the elements used in the report.public void setReportSorter(IlrReportSorter reportSorter)
IlrReportSorter to sort the elements used in the report.
reportSorter - An instance of IlrReportSorter.public void addProperty(java.lang.String property,
java.lang.Object value)
property to the context.
property - The name of the property.value - The value of the property.public void removeProperty(java.lang.String property)
property from the context.
property - The name of the property.public java.lang.Object getPropertyValue(java.lang.String property)
property.
property - The property.public java.util.List<java.lang.String> getPropertyNames()
public void addClientData(java.lang.String property,
java.lang.Object value)
property.
property - The property.value - The object.public void removeClientData(java.lang.String property)
property.property - The property.public java.lang.Object getClientData(java.lang.String property)
property.
property - The property.© Copyright IBM Corp. 1987, 2017