|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aurel.track.report.execute.ReportBeans
public class ReportBeans
This bean contains a collection of ReportBean, each representing the attributes of one row of the result set obtained by executing an SQL query against the database using the queryString.
| Constructor Summary | |
|---|---|
ReportBeans(java.util.Collection reportBeanList,
java.lang.Integer personID,
java.lang.Boolean allItemsExpanded,
java.util.Set otherItemsSet,
boolean sortNeeded,
java.util.Set groupOtherExpandCollapse,
boolean includeAllInFlatList)
Builds a new ReportBeans from an existing ReportBeans stored in the session It is used when it is not needed to re-populate the ReportBeans from the database, but it is enough to refresh the structure of the ReportBeans stored in the session. |
|
ReportBeans(java.util.List reportBeanList,
java.lang.Integer personID,
boolean verifyRoles,
java.lang.Boolean allItemsExpanded,
java.util.Set otherItemsSet,
boolean sortNeeded)
Initializes the collections according to rights and found reportBeans: used when the ReportBeans are newly loaded from the database |
|
| Method Summary | |
|---|---|
int |
getCount()
Get the number ow items retrieved by the current query string. |
java.util.Map |
getGroupingLimits()
Return a list of ReportBean with all items from all levels, independently whether they are expanded or collapsed Intended for exporting all the data and not for report overview |
java.util.Set |
getGroupOtherExpandCollapse()
|
ReportBean |
getItem(java.lang.Integer workItemKey)
Get a reportItem from the report |
java.util.List |
getItems()
Gets a list of all visible items for showing it on the JSP |
java.util.List |
getReportBeansFlat()
|
java.util.Map |
getReportBeansMap()
|
boolean |
isSortNeeded()
|
boolean |
isWithChildren()
Whether a workitem in the report-list has children |
void |
setExpandedAll(boolean expanded)
set all report-items to expanded/collapsed |
void |
setGroupOtherExpandCollapse(java.util.Set groupOtherExpandCollapse)
|
void |
setSortNeeded(boolean sortNeeded)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportBeans(java.util.Collection reportBeanList,
java.lang.Integer personID,
java.lang.Boolean allItemsExpanded,
java.util.Set otherItemsSet,
boolean sortNeeded,
java.util.Set groupOtherExpandCollapse,
boolean includeAllInFlatList)
reportBeanList: - list of ReportBean objects got from the reportBeansMap
of the previous ReportBeanspersonBean: - the actually logged in personallItemsExpanded - otherItemsSet - groupOtherExpandCollapse: - nodes expanded/collapsed inversely compared to the default
settings in user profile regarding the groupingincludeAllInFlatList: - - false: the expanded/collapsed nodes should be
taken into account by building the reportBeansFlat
(used by report overview)
- true: the expanded/collapsed nodes should not be
taken into account by building the reportBeansFlat
(used by export for external usage)
public ReportBeans(java.util.List reportBeanList,
java.lang.Integer personID,
boolean verifyRoles,
java.lang.Boolean allItemsExpanded,
java.util.Set otherItemsSet,
boolean sortNeeded)
reportBeanList - personBean - verifyRoles - whether the assigned roles and raci-roles should be verified (for my-, responsible-, manager- issues not needed)sortField - sortOrder - allItemsExpanded - otherItemsSet - | Method Detail |
|---|
public java.util.List getItems()
public ReportBean getItem(java.lang.Integer workItemKey)
workItemKey, - key of thr reportItem
public void setExpandedAll(boolean expanded)
expanded, - true or falsepublic int getCount()
public boolean isWithChildren()
public java.util.Map getReportBeansMap()
public java.util.Map getGroupingLimits()
public java.util.List getReportBeansFlat()
public java.util.Set getGroupOtherExpandCollapse()
public void setGroupOtherExpandCollapse(java.util.Set groupOtherExpandCollapse)
groupOtherExpandCollapse - the groupOtherExpandCollapse to setpublic boolean isSortNeeded()
public void setSortNeeded(boolean sortNeeded)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||