|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.wf.html.WorklistAdapter
public class WorklistAdapter
Adapter for Worklist interface with empty methods.
| Constructor Summary | |
|---|---|
WorklistAdapter()
|
|
| Method Summary | |
|---|---|
void |
getAdditionalData(java.util.List instances,
java.util.Vector splitResult)
Your chance to collect data |
HTMLPage |
getHTMLPage()
replace the standard page or return null |
java.util.List |
getList()
non null overwrites the list, should return list of ActivityInstances |
java.lang.String |
getTitle()
non null overwrites the title. |
void |
init(javax.servlet.http.HttpServletRequest req,
int wltype,
Application appl,
User u)
Deprecated. |
void |
init(javax.servlet.http.HttpServletRequest req,
WorklistDescription wl,
User u)
You can init your class with the request for you convenience, we tell you the type of the worklist, the application, and the user |
java.lang.String |
lineStyle(ActivityInstance ai,
java.lang.String style)
Change the style of the line. |
java.util.List |
listFilters(java.util.List lines)
Return a list of pairs containing id and name of self defined filters. |
void |
modifyTableHeader(java.util.List header)
You get the header as we suggest it, a list of reserved keywords, like "id","process", "task". |
void |
modifyTableLine(ActivityInstance ai,
KeyedList line)
Your chance to modify the line, called for each table line. |
void |
modifyTableLine(ActivityInstance ai,
java.util.List line)
Deprecated. |
| 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 Worklistreq - the requestwl - the worklist descriptionu - the user
public void init(javax.servlet.http.HttpServletRequest req,
int wltype,
Application appl,
User u)
public HTMLPage getHTMLPage()
Worklist
getHTMLPage in interface Worklistpublic java.lang.String getTitle()
Worklist
getTitle in interface Worklistpublic java.util.List getList()
Worklist
getList in interface Worklist
public void getAdditionalData(java.util.List instances,
java.util.Vector splitResult)
Worklist
getAdditionalData in interface Worklistinstances - the activity instancessplitResult - a list of strings containing the oids of the processpublic void modifyTableHeader(java.util.List header)
Worklist
modifyTableHeader in interface Worklistheader - a list of pairs with keyword and label
public void modifyTableLine(ActivityInstance ai,
KeyedList line)
Worklist
modifyTableLine in interface Worklistai - the activity instanceline - the line
public void modifyTableLine(ActivityInstance ai,
java.util.List line)
public java.lang.String lineStyle(ActivityInstance ai,
java.lang.String style)
Worklist
lineStyle in interface Worklistpublic java.util.List listFilters(java.util.List lines)
Worklist
listFilters in interface Worklistlines - contains the ActivityInstances which will be shown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||