Commit 49dd4bc4 authored by Aalekh Jain's avatar Aalekh Jain
Browse files

Updated `IWorkflowManagerService`

Added createSystemWorkflow and deleteSystemWorkflow methods in the interface
parent 31689945
package org.opengroup.osdu.workflow.provider.interfaces;
import java.util.List;
import org.opengroup.osdu.workflow.model.WorkflowMetadata;
import org.opengroup.osdu.workflow.model.CreateWorkflowRequest;
import org.opengroup.osdu.workflow.model.WorkflowMetadata;
import java.util.List;
public interface IWorkflowManagerService {
/**
......@@ -13,6 +13,13 @@ public interface IWorkflowManagerService {
*/
WorkflowMetadata createWorkflow(final CreateWorkflowRequest request);
/**
* Creates system workflow with given request.
* @param request Request object which has information to create workflow.
* @return Workflow metadata.
*/
WorkflowMetadata createSystemWorkflow(final CreateWorkflowRequest request);
/**
* Returns workflow metadata based on workflowName
* @param workflowName Id of the workflow for which metadata should be retrieved.
......@@ -26,6 +33,12 @@ public interface IWorkflowManagerService {
*/
void deleteWorkflow(final String workflowName);
/**
* Deletes system workflow based on workflowName
* @param workflowName Id of the workflow which needs to be deleted.
*/
void deleteSystemWorkflow(final String workflowName);
/**
* Get List all the workflows for the tenant.
* @param prefix Filter workflow names which start with the full prefix specified.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment