|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Task
This class contains the metadata information about an Activity Task. To obtain a Task you must obtain first the activity where the task was defined.
Activity.getTasks()
,
Activity.getTask(int)
,
Activity.getTask(String)
Field Summary | |
---|---|
static int |
CIL
|
static int |
COMPONENT
|
static int |
DECISION
|
static int |
DISPLAY
|
static int |
DISPLAY_INSTANCE
|
static int |
EDIT_BUSINESS_RULES
|
static int |
EXTERNAL
|
static int |
INPUT
|
static int |
PROCEDURE
|
static int |
SCREENFLOW
|
static int |
SHOW_DASHBOARD
|
static int |
SHOW_PROCESS_IMAGE
|
static int |
SHOW_WORKLOAD
|
Method Summary | |
---|---|
boolean |
containsDocumentation(Locale locale)
Returns true if the documentation for the given locale was already loaded |
Activity |
getActivity()
Returns the activity for this task |
String |
getActivityId()
Returns the activity id |
TaskArgument[] |
getArguments()
Returns all the arguments of this task. |
String |
getDescription()
Return the description of the task |
String |
getDescription(Locale locale)
Returns the localized desciption |
String |
getDocumentation(Locale locale)
Deprecated. no documentation for tasks. |
String |
getExternalUrl()
Returns the URL associated with an external task (if any) |
String |
getFolderName()
Returns the name of the folder to hold all this object documentation The name has to be an UNIQUE identificator of this object, ans must be an acceptable filesystem folder name (you can specify subfolders using the character '/') |
String |
getId()
Returns the task Id. |
int |
getIn()
Returns the task identification number |
String |
getLabel(Locale locale)
Returns the label of the task for the given Locale |
String |
getName()
Returns the name of the task |
String |
getRtViewName()
Returns the display name |
int |
getType()
Returns the task type |
VarDefinition[] |
getVariablesToShow()
Returns the defined variables to show |
boolean |
hasLocalDocumentation()
Returns true if the object has local documentation |
boolean |
isDecision()
Retruns true if this is a decision task |
boolean |
isExternal()
When the task is external, its implementation is expected to be provided by the caller. |
boolean |
isMandatory()
Returns whether or not this activity item is mandatory |
boolean |
isOpenNewWindow()
|
boolean |
isReadOnly()
When the task is 'read only', the task will not modify the instance. |
boolean |
isRepeatable()
Returns whether or not this activity item is repeatable |
boolean |
isShowBrowserFullFunc()
|
void |
setDocumentation(Locale locale,
String fileName)
|
Field Detail |
---|
static final int CIL
static final int COMPONENT
static final int DECISION
static final int DISPLAY
static final int DISPLAY_INSTANCE
static final int EDIT_BUSINESS_RULES
static final int EXTERNAL
static final int INPUT
static final int PROCEDURE
static final int SCREENFLOW
static final int SHOW_DASHBOARD
static final int SHOW_PROCESS_IMAGE
static final int SHOW_WORKLOAD
Method Detail |
---|
VarDefinition[] getVariablesToShow()
Activity getActivity()
String getActivityId()
TaskArgument[] getArguments()
String getDescription()
MDObject
String getDescription(Locale locale)
getDescription
in interface MDObject
MDObject
void setDocumentation(Locale locale, String fileName)
setDocumentation
in interface MDObject
@Deprecated String getDocumentation(Locale locale)
getDocumentation
in interface MDObject
locale
- the desired locale
boolean isExternal()
boolean isDecision()
String getExternalUrl()
String getFolderName()
MDObject
getFolderName
in interface MDObject
String getId()
getId
in interface MDObject
MDObject
int getIn()
String getLabel(Locale locale)
getLabel
in interface MDObject
boolean isMandatory()
String getName()
getName
in interface MDObject
boolean isOpenNewWindow()
boolean isReadOnly()
boolean isRepeatable()
String getRtViewName()
boolean isShowBrowserFullFunc()
int getType()
boolean containsDocumentation(Locale locale)
containsDocumentation
in interface MDObject
locale
- The locale for the documentation
boolean hasLocalDocumentation()
MDObject
hasLocalDocumentation
in interface MDObject
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |