@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.
|
UESURI |
setAttributes(UESURI activityUri,
This command updates some basic attributes of an 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