public interface WorklistDescription
Modifier and Type | Field and Description |
---|---|
static int |
COMPATIBILITY
The links in the worklist are shown like in @enterprise 6.4
|
static int |
TABS
The links in the worklist lead to a tabbed frame containing the forms, documents,notes, history, and process information
|
static int |
TABS_WITHOUT_FORMS
Detail links like in TABS, but forms are not shown in the tabbed view.
|
Modifier and Type | Method and Description |
---|---|
Application |
getApplication()
Returns the application this worklist belongs to, may be null.
|
java.lang.String |
getAttrib(java.lang.String key)
get an attribute from the xml description
|
java.util.List<ColumnDescription> |
getColumns()
The list of the column ids that will be shown.
|
DMSForm |
getForm(ProcessInstance pi,
java.lang.String formid)
Get the form for a process instance
|
java.util.Set<DMSForm> |
getForms(java.lang.String formid)
Get all forms with a specific formid.
|
java.lang.String |
getId()
The id of the list.
|
int |
getLinkType()
Returns how the links to the detail information are configured
|
int |
getType()
Returns the type of the worklist.
|
boolean |
isDelta()
Returns true, if the worklist is build only for changes (client notifications) and not as a whole
|
boolean |
isFillCounter()
Returns true, if the worklist is build only for setting the counters.
|
void |
needForm(ProcessDefinition pd,
java.lang.String formid)
Call this method if you need a form from a process instance
|
void |
needForm(java.lang.String processid,
int version,
java.lang.String formid)
Call this method if you need a form from a process instance
|
static final int COMPATIBILITY
static final int TABS
static final int TABS_WITHOUT_FORMS
int getType()
java.lang.String getId()
Application getApplication()
java.util.List<ColumnDescription> getColumns()
int getLinkType()
COMPATIBILITY
, TABS
, TABS_WITHOUT_FORMS
void needForm(java.lang.String processid, int version, java.lang.String formid)
processid
- id of process definitionversion
- version of process definitionformid
- id of formvoid needForm(ProcessDefinition pd, java.lang.String formid)
pd
- the process definitionformid
- id of formDMSForm getForm(ProcessInstance pi, java.lang.String formid)
pi
- the process instanceformid
- the id of the formjava.util.Set<DMSForm> getForms(java.lang.String formid)
needForm(ProcessDefinition, String)
resp.
the needForm(String, int, String)
call.
Can e.g. be used in Worklist.getAdditionalData(List)
calls to prefetch
references (cf. Store.fillByField(Class, java.util.Collection, String)
and
DMS.fetchSubForms(java.util.Collection, int)
.formid
- the ids of the formboolean isFillCounter()
boolean isDelta()
java.lang.String getAttrib(java.lang.String key)
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.