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 TypeMethodDescriptionvoid
close()
getDueScheduledSteps
(Workflow workflow) getScheduledStep
(String workflowId, String resourceId) getScheduledStepsByResource
(String resourceId) getScheduledStepsByWorkflow
(String workflowId) 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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.workflow.WorkflowStateProvider
getScheduledStepsByWorkflow
-
Constructor Details
-
JpaWorkflowStateProvider
-
-
Method Details
-
getScheduledStep
- Specified by:
getScheduledStep
in interfaceWorkflowStateProvider
-
scheduleStep
- Specified by:
scheduleStep
in interfaceWorkflowStateProvider
-
getDueScheduledSteps
- Specified by:
getDueScheduledSteps
in interfaceWorkflowStateProvider
-
getScheduledStepsByWorkflow
- Specified by:
getScheduledStepsByWorkflow
in interfaceWorkflowStateProvider
-
getScheduledStepsByResource
- Specified by:
getScheduledStepsByResource
in interfaceWorkflowStateProvider
-
removeByResource
Description copied from interface:WorkflowStateProvider
Deletes the state records associated with the givenresourceId
.- Specified by:
removeByResource
in interfaceWorkflowStateProvider
- Parameters:
resourceId
- the id of the resource.
-
remove
Description copied from interface:WorkflowStateProvider
Removes the record identified by the specifiedworkflowId
andresourceId
.- Specified by:
remove
in interfaceWorkflowStateProvider
- Parameters:
workflowId
- the id of the workflow.resourceId
- the id of the resource.
-
remove
Description copied from interface:WorkflowStateProvider
Removes any record identified by the specifiedworkflowId
.- Specified by:
remove
in interfaceWorkflowStateProvider
- Parameters:
workflowId
- the id of the workflow.
-
removeAll
public void removeAll()Description copied from interface:WorkflowStateProvider
Deletes all state records associated with the current realm bound to the session.- Specified by:
removeAll
in interfaceWorkflowStateProvider
-
close
public void close()
-