|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.wf.html.WorklistAdapter
public class WorklistAdapter
Adapter for Worklist interface with empty methods.
Constructor Summary | |
---|---|
WorklistAdapter()
|
Method Summary | |
---|---|
void |
getAdditionalData(java.util.List<ActivityInstance> instances,
java.util.List<java.lang.String> splitResult)
Your chance to collect data. |
HTMLPage |
getHTMLPage()
Replace the standard page or return null. |
java.util.List<ActivityInstance> |
getList()
Non null overwrites the list, should return list of ActivityInstances. |
java.lang.Object |
getTitle()
Non null overwrites the title. |
void |
init(javax.servlet.http.HttpServletRequest req,
int wltype,
Application appl,
User u)
Deprecated. since 6.3 use init(HttpServletRequest, WorklistDescription, User) instead |
void |
init(javax.servlet.http.HttpServletRequest req,
WorklistDescription wl,
User u)
You can init your class with the request. |
java.lang.String |
lineStyle(ActivityInstance ai,
java.lang.String style)
Change the style of the line. |
java.util.List<Pair<java.lang.String,java.lang.String>> |
listFilters(java.util.List<ActivityInstance> lines)
Return a list of pairs containing id and name of self defined filters. |
void |
modifyColumns(java.util.List<ColumnDescription> colDescs)
You get the header as we suggest it, a list of reserved keywords, like "id","process", "task". |
void |
modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
Deprecated. since 8.0 use modifyColumns(List) instead |
void |
modifyTableLine(ActivityInstance ai,
KeyedList<java.lang.String,java.lang.Object> line)
Your chance to modify the line, called for each table line. |
void |
modifyTableLine(ActivityInstance ai,
java.util.List<java.lang.Object> line)
Deprecated. since 6.3 use modifyTableLine(ActivityInstance, KeyedList) instead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorklistAdapter()
Method Detail |
---|
public void init(javax.servlet.http.HttpServletRequest req, WorklistDescription wl, User u)
Worklist
init
in interface Worklist
req
- the requestwl
- the worklist descriptionu
- the user@Deprecated public void init(javax.servlet.http.HttpServletRequest req, int wltype, Application appl, User u)
init(HttpServletRequest, WorklistDescription, User)
instead
public HTMLPage getHTMLPage()
Worklist
getHTMLPage
in interface Worklist
public java.lang.Object getTitle()
Worklist
getTitle
in interface Worklist
public java.util.List<ActivityInstance> getList()
Worklist
getList
in interface Worklist
public void getAdditionalData(java.util.List<ActivityInstance> instances, java.util.List<java.lang.String> splitResult)
Worklist
getAdditionalData
in interface Worklist
instances
- the activity instancessplitResult
- a list of strings containing the oids of the process@Deprecated public void modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
modifyColumns(List)
instead
public void modifyColumns(java.util.List<ColumnDescription> colDescs)
Worklist
modifyColumns
in interface Worklist
colDescs
- list of header fieldspublic void modifyTableLine(ActivityInstance ai, KeyedList<java.lang.String,java.lang.Object> line)
Worklist
modifyTableLine
in interface Worklist
ai
- the activity instanceline
- the line@Deprecated public void modifyTableLine(ActivityInstance ai, java.util.List<java.lang.Object> line)
modifyTableLine(ActivityInstance, KeyedList)
instead
public java.lang.String lineStyle(ActivityInstance ai, java.lang.String style)
Worklist
lineStyle
in interface Worklist
ai
- the activity instancestyle
- a style classpublic java.util.List<Pair<java.lang.String,java.lang.String>> listFilters(java.util.List<ActivityInstance> lines)
Worklist
listFilters
in interface Worklist
lines
- contains the ActivityInstances which will be shown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |