Package com.priint.pubserverapi.workflow
Interface WorkflowTaskServiceLocal
public interface WorkflowTaskServiceLocal
Read-only workflow task access. Identity, tenant and project always come from the live thread-bound session.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic enumstatic final record -
Method Summary
Modifier and TypeMethodDescriptionExample: createTaskQuery().candidateGroup("team-id").unassignedOnly(true).list().Returns all open tasks assigned to the current user in the authenticated project.Returns all open tasks matching any of the current user's candidate teams in the authenticated project.Executes every time under the current session.
-
Method Details
-
createTaskQuery
WorkflowTaskQuery createTaskQuery()Example: createTaskQuery().candidateGroup("team-id").unassignedOnly(true).list(). The builder stores filters only; every execution delegates to the service under the current session. -
getTasksAssignedToMe
Returns all open tasks assigned to the current user in the authenticated project. -
getTasksAssignedToMyTeams
Returns all open tasks matching any of the current user's candidate teams in the authenticated project. -
listTasks
Executes every time under the current session. Never returns partial data or hides source failures as empty lists.
-