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) getScheduledStepsByWorkflow
(String workflowId) default List<WorkflowStateProvider.ScheduledStep>
getScheduledStepsByWorkflow
(Workflow workflow) void
Removes any record identified by the specifiedworkflowId
.void
Removes the record identified by the specifiedworkflowId
andresourceId
.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
scheduleStep
(Workflow workflow, WorkflowStep step, String resourceId)
-
Method Details
-
removeByResource
Deletes the state records associated with the givenresourceId
.- Parameters:
resourceId
- the id of the resource.
-
remove
Removes the record identified by the specifiedworkflowId
andresourceId
.- Parameters:
workflowId
- the id of the workflow.resourceId
- the id of the resource.
-
remove
Removes any record identified by the specifiedworkflowId
.- Parameters:
workflowId
- the id of the workflow.
-
removeAll
void removeAll()Deletes all state records associated with the current realm bound to the session. -
scheduleStep
-
getScheduledStep
-
getScheduledStepsByResource
-
getScheduledStepsByWorkflow
-
getScheduledStepsByWorkflow
-
getDueScheduledSteps
-