Package org.keycloak.models.workflow
Interface WorkflowStateProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
JpaWorkflowStateProvider
Interface serves as state check for workflow actions.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetDueScheduledSteps
(Workflow workflow) getScheduledStep
(String workflowId, String resourceId) getScheduledStepsByResource
(String resourceId) getScheduledStepsByStep
(String stepId) getScheduledStepsByWorkflow
(String workflowId) default List<WorkflowStateProvider.ScheduledStep>
getScheduledStepsByWorkflow
(Workflow workflow) void
Removes the record identified by the specifiedexecutionId
.void
Deletes all state records associated with the current realm bound to the session.void
removeByResource
(String resourceId) Deletes the state records associated with the givenresourceId
.void
removeByWorkflow
(String workflowId) Removes any record identified by the specifiedworkflowId
.void
scheduleStep
(Workflow workflow, WorkflowStep step, String resourceId, String executionId)
-
Method Details
-
removeByResource
Deletes the state records associated with the givenresourceId
.- Parameters:
resourceId
- the id of the resource.
-
removeByWorkflow
Removes any record identified by the specifiedworkflowId
.- Parameters:
workflowId
- the id of the workflow.
-
remove
Removes the record identified by the specifiedexecutionId
. -
removeAll
void removeAll()Deletes all state records associated with the current realm bound to the session. -
scheduleStep
-
getScheduledStep
-
getScheduledStepsByResource
-
getScheduledStepsByWorkflow
-
getScheduledStepsByStep
-
getScheduledStepsByWorkflow
-
getDueScheduledSteps
-