Package org.keycloak.models.workflow
Class JpaWorkflowStateProvider
java.lang.Object
org.keycloak.models.workflow.JpaWorkflowStateProvider
- All Implemented Interfaces:
WorkflowStateProvider,Provider
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.workflow.WorkflowStateProvider
WorkflowStateProvider.ScheduledStep -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getDueScheduledSteps(Workflow workflow) getScheduledStep(String workflowId, String resourceId) getScheduledStepsByResource(String resourceId) getScheduledStepsByStep(String stepId) getScheduledStepsByWorkflow(String workflowId) 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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.workflow.WorkflowStateProvider
getScheduledStepsByWorkflow
-
Constructor Details
-
JpaWorkflowStateProvider
-
-
Method Details
-
getScheduledStep
- Specified by:
getScheduledStepin interfaceWorkflowStateProvider
-
scheduleStep
public void scheduleStep(Workflow workflow, WorkflowStep step, String resourceId, String executionId) - Specified by:
scheduleStepin interfaceWorkflowStateProvider
-
getDueScheduledSteps
- Specified by:
getDueScheduledStepsin interfaceWorkflowStateProvider
-
getScheduledStepsByWorkflow
- Specified by:
getScheduledStepsByWorkflowin interfaceWorkflowStateProvider
-
getScheduledStepsByResource
- Specified by:
getScheduledStepsByResourcein interfaceWorkflowStateProvider
-
getScheduledStepsByStep
- Specified by:
getScheduledStepsByStepin interfaceWorkflowStateProvider
-
removeByResource
Description copied from interface:WorkflowStateProviderDeletes the state records associated with the givenresourceId.- Specified by:
removeByResourcein interfaceWorkflowStateProvider- Parameters:
resourceId- the id of the resource.
-
removeByWorkflow
Description copied from interface:WorkflowStateProviderRemoves any record identified by the specifiedworkflowId.- Specified by:
removeByWorkflowin interfaceWorkflowStateProvider- Parameters:
workflowId- the id of the workflow.
-
remove
Description copied from interface:WorkflowStateProviderRemoves the record identified by the specifiedexecutionId.- Specified by:
removein interfaceWorkflowStateProvider
-
removeAll
public void removeAll()Description copied from interface:WorkflowStateProviderDeletes all state records associated with the current realm bound to the session.- Specified by:
removeAllin interfaceWorkflowStateProvider
-
close
public void close()
-