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) voidRemoves the record identified by the specifiedexecutionId.voidDeletes all state records associated with the current realm bound to the session.voidremoveByResource(String resourceId) Deletes the state records associated with the givenresourceId.voidremoveByWorkflow(String workflowId) Removes any record identified by the specifiedworkflowId.voidscheduleStep(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
-