Interface ActivitiDataService
-
- All Known Implementing Classes:
ActivitiDataServiceImpl
public interface ActivitiDataServiceInterface to handle common request operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<String>getApproverUserIds(List<String> associationIds, String targetUserId)StringgetProcessInstanceIdByExecutionId(String executionId)ObjectgetTaskVariable(String taskId, String variableName)booleanhasAccessToExecutionId(String userId, String executionId)check does given user has access to view given ExecutionIdbooleanhasCommentViewAccess(String processInstanceId, String userId)Checks if the specified user has access to view comments associated with a task.booleanhasMakeDecisionAccess(String userId, String taskId)check does given user has access to make decision for given TaskIdbooleanhasViewAccess(String userId, String taskId)check does given user has access to view given TaskIdBasicWorkflowResponseinitiateWorkflow(GenericWorkflowRequest request)booleanisResourceOfTaskExist(String executionId)Deprecated.voidsetTaskVariable(String taskId, String variableName, Object variableValue)
-
-
-
Method Detail
-
initiateWorkflow
BasicWorkflowResponse initiateWorkflow(GenericWorkflowRequest request) throws BasicDataServiceException
- Throws:
BasicDataServiceException
-
getProcessInstanceIdByExecutionId
String getProcessInstanceIdByExecutionId(String executionId) throws BasicDataServiceException
- Throws:
BasicDataServiceException
-
getApproverUserIds
List<String> getApproverUserIds(List<String> associationIds, String targetUserId)
-
isResourceOfTaskExist
@Deprecated(since="4.2.0") boolean isResourceOfTaskExist(String executionId)
Deprecated.
-
getTaskVariable
Object getTaskVariable(String taskId, String variableName) throws BasicDataServiceException
- Throws:
BasicDataServiceException
-
setTaskVariable
void setTaskVariable(String taskId, String variableName, Object variableValue) throws BasicDataServiceException
- Throws:
BasicDataServiceException
-
hasMakeDecisionAccess
boolean hasMakeDecisionAccess(String userId, String taskId)
check does given user has access to make decision for given TaskId- Parameters:
userId- - id of requestor usertaskId- - id of Task to check- Returns:
- true if user has access to make decision (he is assignee user or CANDIDATE user), false - otherwise
-
hasViewAccess
boolean hasViewAccess(String userId, String taskId)
check does given user has access to view given TaskId- Parameters:
userId- - id of requestor usertaskId- - id of Task to check- Returns:
- true if user has access to view task (he is assignee user or CANDIDATE user or Owner of the task), false - otherwise
-
hasAccessToExecutionId
boolean hasAccessToExecutionId(String userId, String executionId)
check does given user has access to view given ExecutionId- Parameters:
userId- - id of requestor userexecutionId- - id of Execution to check- Returns:
- true if user has access to execution (he is assignee user or CANDIDATE user or Owner of the task), false - otherwise
-
hasCommentViewAccess
boolean hasCommentViewAccess(String processInstanceId, String userId)
Checks if the specified user has access to view comments associated with a task.- Parameters:
processInstanceId- The ID of the process instance.userId- The ID of the user whose access is being checked.- Returns:
trueif the user has access to view comments,falseotherwise.
-
-