@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 stateUESActivityRTExceptionactivityUri - UESURI of an activity whose attributes are returnedUESActivityRTExceptionparentNodeUri - UESURI of an artifact (or a parent activity) where the new activity is createdactivity - DTO containing attributes of a new activityUESActivityRTExceptionactivityUri - UESURI of the activity whose attributes are to be changedactivity - DTO containing new attributes the activityUESActivityRTExceptionactivityUri - UESURI of the activity which is about to be deleted.UESActivityRTExceptionactivityUri - 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.UESActivityRTExceptionparentNodeUri - 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.UESActivityRTExceptionactivityUri - UESURI of the activity (model or instance), whose communication will be retrieved.criteria - Object containing paging criteria.UESActivityRTExceptionactivityUri - 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.UESActivityRTExceptionactivityUri - UESURI of the activity to change executive role for.newExecutive - DTO containing new executive role uri.UESActivityRTExceptionactivityUri - UESURI of the activity to change competent role for.newCompetent - DTO containing new competent role uri.UESActivityRTException