|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Worklist
Interface that allows implementers to customize the worklist.
Methods are called in the given order. Developers are strongly encouraged to subclass
the WorklistAdapter instead of implementing this interface, because the interface may
change in later versions.
| Method Summary | |
|---|---|
void |
getAdditionalData(List<ActivityInstance> instances,
List<String> splitResult)
Your chance to collect data. |
HTMLPage |
getHTMLPage()
Replace the standard page or return null. |
List<ActivityInstance> |
getList()
Non null overwrites the list, should return list of ActivityInstances. |
String |
getTitle()
Non null overwrites the title. |
void |
init(HttpServletRequest req,
WorklistDescription wl,
User u)
You can init your class with the request. |
String |
lineStyle(ActivityInstance ai,
String style)
Change the style of the line. |
List<Pair<String,String>> |
listFilters(List<ActivityInstance> lines)
Return a list of pairs containing id and name of self defined filters. |
void |
modifyColumns(List<ColumnDescription> colDescs)
You get the header as we suggest it, a list of reserved keywords, like "id","process", "task". |
void |
modifyTableLine(ActivityInstance ai,
KeyedList<String,Object> line)
Your chance to modify the line, called for each table line. |
| Method Detail |
|---|
void init(HttpServletRequest req,
WorklistDescription wl,
User u)
req - the requestwl - the worklist descriptionu - the userHTMLPage getHTMLPage()
String getTitle()
List<ActivityInstance> getList()
void getAdditionalData(List<ActivityInstance> instances,
List<String> splitResult)
instances - the activity instancessplitResult - a list of strings containing the oids of the processvoid modifyColumns(List<ColumnDescription> colDescs)
colDescs - list of header fields
void modifyTableLine(ActivityInstance ai,
KeyedList<String,Object> line)
ai - the activity instanceline - the line
String lineStyle(ActivityInstance ai,
String style)
ai - the activity instancestyle - a style classList<Pair<String,String>> listFilters(List<ActivityInstance> lines)
lines - contains the ActivityInstances which will be shown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||