Uses of Class
org.opencastproject.workflow.api.WorkflowDatabaseException
Packages that use WorkflowDatabaseException
Package
Description
Workflow service.
Workflow REST and WSDL Service endpoints
-
Uses of WorkflowDatabaseException in org.opencastproject.index.service.api
Methods in org.opencastproject.index.service.api that throw WorkflowDatabaseExceptionModifier and TypeMethodDescriptionIndexService.removeEvent(Event event, String retractWorkflowId) Removes an event and retracts it if necessary. -
Uses of WorkflowDatabaseException in org.opencastproject.index.service.impl
Methods in org.opencastproject.index.service.impl that throw WorkflowDatabaseExceptionModifier and TypeMethodDescriptionIndexServiceImpl.removeEvent(Event event, String retractWorkflowId) -
Uses of WorkflowDatabaseException in org.opencastproject.workflow.api
Methods in org.opencastproject.workflow.api that throw WorkflowDatabaseExceptionModifier and TypeMethodDescriptionvoidWorkflowService.cleanupWorkflowInstances(int lifetime, WorkflowInstance.WorkflowState state) Starts a cleanup of workflow instances with a given lifetime and a specific stateintWorkflowServiceDatabase.countMediaPackages()Returns the number of events workflows have been run on.intWorkflowServiceDatabaseImpl.countMediaPackages()Returns the number of events workflows have been run on.longWorkflowService.countWorkflowInstances()Gets the total number of workflows that have been created to date.longWorkflowService.countWorkflowInstances(WorkflowInstance.WorkflowState state) Gets the total number of workflows that have been created to date and that match the workflow state which might benull.longWorkflowServiceDatabase.countWorkflows(WorkflowInstance.WorkflowState state) Gets the amount of workflow instances.longWorkflowServiceDatabaseImpl.countWorkflows(WorkflowInstance.WorkflowState state) Gets the amount of workflow instances.WorkflowService.getRunningWorkflowInstanceByMediaPackage(String mediaPackageId, String action) Returns theWorkflowInstancecurrently running on the given mediaPackageWorkflowServiceDatabase.getRunningWorkflowInstancesByMediaPackage(String mediaPackageId) Gets all workflow instances that are currently running on the mediapackage.WorkflowServiceDatabaseImpl.getRunningWorkflowInstancesByMediaPackage(String mediaPackageId) Gets all workflow instances that are currently running on the mediapackage.WorkflowServiceDatabase.getWorkflow(long workflowId) Gets a single workflow by its identifier.WorkflowServiceDatabase.getWorkflow(long workflowId, String orgId) Gets a single workflow by its identifierWorkflowServiceDatabaseImpl.getWorkflow(long workflowId) Gets a single workflow by its identifier.WorkflowServiceDatabaseImpl.getWorkflow(long workflowId, String orgId) WorkflowService.getWorkflowById(long workflowId) Gets aWorkflowInstanceby its ID.WorkflowService.getWorkflowDefinitionById(String id) Returns theWorkflowDefinitionidentified byname.WorkflowServiceDatabase.getWorkflowIndexData(int limit, int offset) Gets workflow index data for all events.WorkflowServiceDatabaseImpl.getWorkflowIndexData(int limit, int offset) Gets workflow index data for all events.WorkflowServiceDatabase.getWorkflowInstances(int limit, int offset) Gets workflow instances for current organization.WorkflowServiceDatabaseImpl.getWorkflowInstances(int limit, int offset) Gets workflow instances for current organization.WorkflowService.getWorkflowInstancesByMediaPackage(String mediaPackageId) Returns all workflows associated with the given mediapackage Current user needs permission to the mediapackageWorkflowServiceDatabase.getWorkflowInstancesByMediaPackage(String mediaPackageId) Gets all workflow instances for a mediapackage.WorkflowServiceDatabaseImpl.getWorkflowInstancesByMediaPackage(String mediaPackageId) Gets all workflow instances for a mediapackage.WorkflowServiceDatabase.getWorkflowInstancesForCleanup(WorkflowInstance.WorkflowState state, Date dateCreated) Gets all workflow instances previous to the specified dateWorkflowServiceDatabaseImpl.getWorkflowInstancesForCleanup(WorkflowInstance.WorkflowState state, Date dateCreated) Gets all workflow instances previous to the specified dateWorkflowService.listAvailableWorkflowDefinitions()Gets the list of available workflow definitions.booleanWorkflowService.mediaPackageHasActiveWorkflows(String mediaPackageId) Checks if there is at least one workflow currently running on the given mediapackagebooleanWorkflowServiceDatabase.mediaPackageHasActiveWorkflows(String mediaPackageId) Returns true if the media package with the given identifier currently has a workflow running on it.booleanWorkflowServiceDatabaseImpl.mediaPackageHasActiveWorkflows(String mediaPackageId) Returns true if the media package with the given identifier currently has a workflow running on it.voidWorkflowService.remove(long workflowInstanceId) Permanently removes a workflow instance.voidWorkflowService.remove(long workflowInstanceId, boolean force) Permanently removes a workflow instance.voidWorkflowServiceDatabase.removeFromDatabase(WorkflowInstance instance) Removes a single workflow.voidWorkflowServiceDatabaseImpl.removeFromDatabase(WorkflowInstance instance) Removes a single workflow.WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage) Creates a new workflow instance and starts the workflow.WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Long parentWorkflowId, Map<String, String> properties) Creates a new workflow instance and starts the workflow.WorkflowService.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Map<String, String> properties) Creates a new workflow instance and starts the workflow.voidWorkflowService.update(WorkflowInstance workflowInstance) Updates the given workflow instance with regard to the media package, the properties and the operations involved.voidWorkflowServiceDatabase.updateInDatabase(WorkflowInstance instance) Updates a single workflow.voidWorkflowServiceDatabaseImpl.updateInDatabase(WorkflowInstance instance) Updates a single workflow.booleanWorkflowService.userHasActiveWorkflows(String userId) Checks if there is at least one workflow currently running started by the given userbooleanWorkflowServiceDatabase.userHasActiveWorkflows(String userId) Returns true there are still workflows running that were created by the user with the given identifier.booleanWorkflowServiceDatabaseImpl.userHasActiveWorkflows(String userId) Returns true there are still workflows running that were created by the user with the given identifier. -
Uses of WorkflowDatabaseException in org.opencastproject.workflow.endpoint
Methods in org.opencastproject.workflow.endpoint that throw WorkflowDatabaseExceptionModifier and TypeMethodDescriptionWorkflowRestService.getWorkflowAsJson(long id) WorkflowRestService.getWorkflowAsXml(long id) -
Uses of WorkflowDatabaseException in org.opencastproject.workflow.impl
Methods in org.opencastproject.workflow.impl that throw WorkflowDatabaseExceptionModifier and TypeMethodDescriptionvoidWorkflowServiceImpl.cleanupWorkflowInstances(int buffer, WorkflowInstance.WorkflowState state) longWorkflowServiceImpl.countWorkflowInstances()Gets the total number of workflows that have been created to date.longWorkflowServiceImpl.countWorkflowInstances(WorkflowInstance.WorkflowState state) Gets the total number of workflows that have been created to date and that match the workflow state which might benull.WorkflowServiceImpl.getRunningWorkflowInstanceByMediaPackage(String mediaPackageId, String action) Returns theWorkflowInstancecurrently running on the given mediaPackageWorkflowServiceImpl.getWorkflowInstancesByMediaPackage(String mediaPackageId) Returns all workflows associated with the given mediapackage Current user needs permission to the mediapackageprotected WorkflowInstanceWorkflowServiceImpl.handleOperationResult(WorkflowInstance workflow, WorkflowOperationResult result) Callback for workflow operation handlers that executed and finished without exception.booleanWorkflowServiceImpl.mediaPackageHasActiveWorkflows(String mediaPackageId) Checks if there is at least one workflow currently running on the given mediapackagevoidWorkflowServiceImpl.remove(long workflowInstanceId) Permanently removes a workflow instance.voidWorkflowServiceImpl.remove(long workflowInstanceId, boolean force) Permanently removes a workflow instance.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage) Creates a new workflow instance and starts the workflow.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage sourceMediaPackage, Long parentWorkflowId, Map<String, String> originalProperties) Creates a new workflow instance and starts the workflow.WorkflowServiceImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Map<String, String> properties) Creates a new workflow instance and starts the workflow.voidWorkflowServiceImpl.update(WorkflowInstance workflowInstance) Updates the given workflow instance with regard to the media package, the properties and the operations involved.booleanWorkflowServiceImpl.userHasActiveWorkflows(String userId) Checks if there is at least one workflow currently running started by the given user -
Uses of WorkflowDatabaseException in org.opencastproject.workflow.remote
Methods in org.opencastproject.workflow.remote that throw WorkflowDatabaseExceptionModifier and TypeMethodDescriptionvoidWorkflowServiceRemoteImpl.cleanupWorkflowInstances(int lifetime, WorkflowInstance.WorkflowState state) longWorkflowServiceRemoteImpl.countWorkflowInstances()Gets the total number of workflows that have been created to date.longWorkflowServiceRemoteImpl.countWorkflowInstances(WorkflowInstance.WorkflowState state) Gets the total number of workflows that have been created to date and that match the workflow state which might benull.WorkflowServiceRemoteImpl.getWorkflowById(long id) Gets aWorkflowInstanceby its ID.WorkflowServiceRemoteImpl.getWorkflowDefinitionById(String id) Returns theWorkflowDefinitionidentified byname.WorkflowServiceRemoteImpl.getWorkflowInstancesByMediaPackage(String mediaPackageId) WorkflowServiceRemoteImpl.listAvailableWorkflowDefinitions()Gets the list of available workflow definitions.booleanWorkflowServiceRemoteImpl.mediaPackageHasActiveWorkflows(String mediaPackageId) voidWorkflowServiceRemoteImpl.remove(long workflowInstanceId) Permanently removes a workflow instance.voidWorkflowServiceRemoteImpl.remove(long workflowInstanceId, boolean force) Permanently removes a workflow instance.WorkflowServiceRemoteImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage) Creates a new workflow instance and starts the workflow.WorkflowServiceRemoteImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Long parentWorkflowId, Map<String, String> properties) Creates a new workflow instance and starts the workflow.WorkflowServiceRemoteImpl.start(WorkflowDefinition workflowDefinition, MediaPackage mediaPackage, Map<String, String> properties) Creates a new workflow instance and starts the workflow.WorkflowServiceRemoteImpl.stop(long workflowInstanceId) Stops a running workflow instance.WorkflowServiceRemoteImpl.suspend(long workflowInstanceId) Temporarily suspends a started workflow instance.voidWorkflowServiceRemoteImpl.update(WorkflowInstance workflowInstance) Updates the given workflow instance with regard to the media package, the properties and the operations involved.booleanWorkflowServiceRemoteImpl.userHasActiveWorkflows(String userId)