public interface Worklist
WorklistAdapter
instead of implementing this interface, because the interface may
change in later versions.Modifier and Type | Method and Description |
---|---|
default void |
getAdditionalData(List<ActivityInstance> instances)
Your chance to collect additional data for the instances.
|
default HTMLPage |
getHTMLPage()
Deprecated.
|
default List<ActivityInstance> |
getList(List<ActivityInstance> l)
Change the list.
|
default Object |
getTitle()
Non null overwrites the title.
|
default void |
init(HttpServletRequest req,
WorklistDescription wl,
User u)
You can init your class with the request.
|
default String |
lineStyle(ActivityInstance ai,
String style)
Change the style of the line.
|
default List<Pair<String,Object>> |
listFilters(List<ActivityInstance> lines)
Return a list of pairs containing id and name of self defined filters.
|
default void |
modifyColumns(List<ColumnDescription> colDescs)
You get the header as we suggest it, a list of reserved keywords, like
"id","process", "task".
|
default void |
modifyTableLine(ActivityInstance ai,
Map<String,Object> line)
Your chance to modify the line, called for each table line.
|
default void init(HttpServletRequest req, WorklistDescription wl, User u)
req
- the request; may be null when called from notification threadswl
- the worklist descriptionu
- the user@Deprecated default HTMLPage getHTMLPage()
default Object getTitle()
default List<ActivityInstance> getList(List<ActivityInstance> l)
WorklistKind.AUGMENTED
.default void getAdditionalData(List<ActivityInstance> instances)
instances
- the activity instancesdefault void modifyColumns(List<ColumnDescription> colDescs)
colDescs
- list of header fieldsdefault void modifyTableLine(ActivityInstance ai, Map<String,Object> line)
ai
- the activity instanceline
- the linedefault String lineStyle(ActivityInstance ai, String style)
ai
- the activity instancestyle
- a style classdefault List<Pair<String,Object>> listFilters(List<ActivityInstance> lines)
lines
- contains the ActivityInstances which will be shown.@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.