@UESService public interface UESActivity
Modifier and Type | Field and Description |
---|---|
static UESURI |
BETYPE_ACTIVITY
URI of activity business entity.
|
Modifier and Type | Method and Description |
---|---|
UESURI |
create(UESURI parentNodeUri,
This command creates a new activity on the specified artifact.
|
void |
delete(UESURI activityUri)
This command deletes an unfinished activity.
|
UESResultList<UESActivityAttributes,UESActivityGetActivityList> |
getActivityList(UESURI parentNodeUri,
Returns list of the activities and sub activities for the specified artifact or activity.
|
UESActivityAttributes |
getAttributes(UESURI activityUri)
This command returns attributes representing the activity specified by the activityUri parameter.
|
UESResultList<UESActivityAttributes,UESActivityGetInstanceList> |
getInstanceList(UESURI activityUri,
Returns list of all instances of the recurrent activity.
|
UESResultList<UESActivityStateAttributes,UESActivityGetStateHistoryList> |
getStateHistoryList(UESURI activityUri,
Retrieves the list of set states on a given activity based on provided criteria.
|
UESResultList<UESActivityStateTemplateAttributes,UESActivityGetStateTemplateList> |
getStateTemplateList(UESURI activityUri,
Returns a list of activity state templates which can be set by the current user for the specified activity.
|
UESURI |
setAttributes(UESURI activityUri,
This command updates some basic attributes of an activity.
|
void |
setCompetentRole(UESURI activityUri,
Changes competent role of activity.
|
void |
setExecutiveRole(UESURI activityUri,
Changes executive role of activity.
|
void |
setState(UESURI activityUri,
This command sets a new state for the specified activity.
|
activityUri
- UESURI of the activitystate
- DTO containing attributes of new activity stateUESActivityRTException
activityUri
- UESURI of an activity whose attributes are returnedUESActivityRTException
parentNodeUri
- UESURI of an artifact (or a parent activity) where the new activity is createdactivity
- DTO containing attributes of a new activityUESActivityRTException
activityUri
- UESURI of the activity whose attributes are to be changedactivity
- DTO containing new attributes the activityUESActivityRTException
activityUri
- UESURI of the activity which is about to be deleted.UESActivityRTException
activityUri
- UES URI of the activity for which instances are to be listed.criteria
- DTO containing the criteria for filtering of the result list. Criteria are defined using UESQuery. Allowed filtering
parameters are name, code, activityType, allowExecutiveRoleChange, allowSubactivities, blockTimeInCalendar, activityStateType,
activityStateSubtype, recurrent, termModifiable, dateFrom, dateStart, dateTo and dateFinished.UESActivityRTException
parentNodeUri
- UES URI of the artifact or activity for which activities are about to be listed.criteria
- DTO containing the criteria for filtering of the result list. Criteria are defined using UESQuery. Allowed filtering
parameters are name, code, activityType, allowExecutiveRoleChange, allowSubactivities, blockTimeInCalendar, activityStateType,
activityStateSubtype, recurrent, termModifiable, dateFrom, dateStart, dateTo and dateFinished.UESActivityRTException
activityUri
- UESURI of the activity (model or instance), whose communication will be retrieved.criteria
- Object containing paging criteria.UESActivityRTException
activityUri
- UESURI of the activity whose state templates will be returned for the current user.criteria
- DTO containing the criteria for filtering of the result list. Criteria are defined using UESQuery. Allowed filtering
parameters are name, code, type, entryState, exitState, order.UESActivityRTException
activityUri
- UESURI of the activity to change executive role for.newExecutive
- DTO containing new executive role uri.UESActivityRTException
activityUri
- UESURI of the activity to change competent role for.newCompetent
- DTO containing new competent role uri.UESActivityRTException