Interface ActivitiDataService

  • All Known Implementing Classes:
    ActivitiDataServiceImpl

    public interface ActivitiDataService
    Interface to handle common request operations
    • Method Detail

      • isResourceOfTaskExist

        @Deprecated(since="4.2.0")
        boolean isResourceOfTaskExist​(String executionId)
        Deprecated.
      • hasMakeDecisionAccess

        boolean hasMakeDecisionAccess​(String userId,
                                      String taskId)
        check does given user has access to make decision for given TaskId
        Parameters:
        userId - - id of requestor user
        taskId - - 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 user
        taskId - - 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 user
        executionId - - 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:
        true if the user has access to view comments, false otherwise.