Package org.keycloak.models.workflow
Interface WorkflowProvider
- All Superinterfaces:
Provider
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(Workflow workflow, ResourceType type, String resourceId) voidactivateForAllEligibleResources(Workflow workflow) voiddeactivate(Workflow workflow, String resourceId) Returns aResourceTypeSelectorfor the specified resource type.Stream<org.keycloak.representations.workflows.WorkflowRepresentation>getScheduledWorkflowsByResource(String resourceId) getWorkflow(String id) getWorkflows(String search, Boolean exact, Integer first, Integer max) voidremoveWorkflow(Workflow workflow) voidvoidsubmit(WorkflowEvent event) toModel(org.keycloak.representations.workflows.WorkflowRepresentation representation) org.keycloak.representations.workflows.WorkflowRepresentationtoRepresentation(Workflow workflow) voidupdateWorkflow(Workflow workflow, org.keycloak.representations.workflows.WorkflowRepresentation rep)
-
Method Details
-
getResourceTypeSelector
Returns aResourceTypeSelectorfor the specified resource type.- Parameters:
type- the resource type.- Returns:
- the corresponding
ResourceTypeSelector.
-
toModel
-
getWorkflow
-
removeWorkflow
-
getWorkflows
-
getWorkflows
-
getScheduledWorkflowsByResource
-
toRepresentation
-
updateWorkflow
void updateWorkflow(Workflow workflow, org.keycloak.representations.workflows.WorkflowRepresentation rep) -
activate
-
deactivate
-
submit
-
runScheduledSteps
void runScheduledSteps() -
activateForAllEligibleResources
-