All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rapture.common.client.HttpDecisionApi Maven / Gradle / Ivy

/**
 * The MIT License (MIT)
 *
 * Copyright (C) 2011-2016 Incapture Technologies LLC
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

/**
 * This file is autogenerated and any changes will be overwritten.
 */

package rapture.common.client;

import java.util.List;
import java.util.Map;
import rapture.common.api.DecisionApi;
import rapture.common.api.ScriptDecisionApi;
import rapture.common.CallingContext;
import rapture.common.model.GeneralResponse;
import rapture.common.model.BasePayload;
import rapture.common.exception.RaptureException;
import rapture.common.impl.jackson.JacksonUtil;

import com.fasterxml.jackson.core.type.TypeReference;

import org.apache.log4j.Logger;

import rapture.common.AppStatus;
import rapture.common.CreateResponse;
import rapture.common.RaptureFolderInfo;
import rapture.common.dp.WorkOrderStatus;
import rapture.common.dp.Workflow;
import rapture.common.dp.Step;
import rapture.common.dp.WorkOrderCancellation;
import rapture.common.LogQueryResponse;
import rapture.common.dp.WorkOrderDebug;
import rapture.common.dp.WorkOrder;
import rapture.common.dp.AppStatusDetails;
import rapture.common.dp.Transition;
import rapture.common.dp.Worker;
import rapture.common.dp.WorkflowHistoricalMetrics;
import rapture.common.ErrorWrapper;

import rapture.common.shared.decision.GetAllWorkflowsPayload;

import rapture.common.shared.decision.GetWorkflowChildrenPayload;

import rapture.common.shared.decision.GetWorkOrderChildrenPayload;

import rapture.common.shared.decision.PutWorkflowPayload;

import rapture.common.shared.decision.GetWorkflowPayload;

import rapture.common.shared.decision.GetWorkflowStepPayload;

import rapture.common.shared.decision.GetStepCategoryPayload;

import rapture.common.shared.decision.AddStepPayload;

import rapture.common.shared.decision.RemoveStepPayload;

import rapture.common.shared.decision.AddTransitionPayload;

import rapture.common.shared.decision.RemoveTransitionPayload;

import rapture.common.shared.decision.DeleteWorkflowPayload;

import rapture.common.shared.decision.CreateWorkOrderPayload;

import rapture.common.shared.decision.CreateWorkOrderPPayload;

import rapture.common.shared.decision.ReleaseWorkOrderLockPayload;

import rapture.common.shared.decision.GetWorkOrderStatusPayload;

import rapture.common.shared.decision.WriteWorkflowAuditEntryPayload;

import rapture.common.shared.decision.GetWorkOrdersByDayPayload;

import rapture.common.shared.decision.GetWorkOrdersByWorkflowPayload;

import rapture.common.shared.decision.GetWorkOrderPayload;

import rapture.common.shared.decision.GetWorkerPayload;

import rapture.common.shared.decision.CancelWorkOrderPayload;

import rapture.common.shared.decision.ResumeWorkOrderPayload;

import rapture.common.shared.decision.WasCancelCalledPayload;

import rapture.common.shared.decision.GetCancellationDetailsPayload;

import rapture.common.shared.decision.GetWorkOrderDebugPayload;

import rapture.common.shared.decision.SetWorkOrderIdGenConfigPayload;

import rapture.common.shared.decision.SetContextLiteralPayload;

import rapture.common.shared.decision.SetContextLinkPayload;

import rapture.common.shared.decision.GetContextValuePayload;

import rapture.common.shared.decision.AddErrorToContextPayload;

import rapture.common.shared.decision.GetErrorsFromContextPayload;

import rapture.common.shared.decision.GetExceptionInfoPayload;

import rapture.common.shared.decision.ReportStepProgressPayload;

import rapture.common.shared.decision.GetAppStatusesPayload;

import rapture.common.shared.decision.GetAppStatusDetailsPayload;

import rapture.common.shared.decision.GetMonthlyMetricsPayload;

import rapture.common.shared.decision.QueryLogsPayload;


@SuppressWarnings("all")
public class HttpDecisionApi extends BaseHttpApi implements DecisionApi, ScriptDecisionApi {
        private static final Logger log = Logger.getLogger(HttpDecisionApi.class);

	public HttpDecisionApi(HttpLoginApi login) {
		super(login, "decision");
	}
		
	    private static final class GetAllWorkflowsTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getAllWorkflows(CallingContext context) {
	        GetAllWorkflowsPayload requestObj = new GetAllWorkflowsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        return doRequest(requestObj, "GETALLWORKFLOWS", new GetAllWorkflowsTypeReference());    }

	    private static final class GetWorkflowChildrenTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getWorkflowChildren(CallingContext context, String workflowURI) {
	        GetWorkflowChildrenPayload requestObj = new GetWorkflowChildrenPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        return doRequest(requestObj, "GETWORKFLOWCHILDREN", new GetWorkflowChildrenTypeReference());    }

	    private static final class GetWorkOrderChildrenTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getWorkOrderChildren(CallingContext context, String parentPath) {
	        GetWorkOrderChildrenPayload requestObj = new GetWorkOrderChildrenPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setParentPath(parentPath);
	        return doRequest(requestObj, "GETWORKORDERCHILDREN", new GetWorkOrderChildrenTypeReference());    }

	    
	    @Override
	    public void putWorkflow(CallingContext context, Workflow workflow) {
	        PutWorkflowPayload requestObj = new PutWorkflowPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflow(workflow);
	        doRequest(requestObj, "PUTWORKFLOW", null);    }

	    private static final class GetWorkflowTypeReference extends TypeReference {
	    }    
	    @Override
	    public Workflow getWorkflow(CallingContext context, String workflowURI) {
	        GetWorkflowPayload requestObj = new GetWorkflowPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        return doRequest(requestObj, "GETWORKFLOW", new GetWorkflowTypeReference());    }

	    private static final class GetWorkflowStepTypeReference extends TypeReference {
	    }    
	    @Override
	    public Step getWorkflowStep(CallingContext context, String stepURI) {
	        GetWorkflowStepPayload requestObj = new GetWorkflowStepPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setStepURI(stepURI);
	        return doRequest(requestObj, "GETWORKFLOWSTEP", new GetWorkflowStepTypeReference());    }

	    private static final class GetStepCategoryTypeReference extends TypeReference {
	    }    
	    @Override
	    public String getStepCategory(CallingContext context, String stepURI) {
	        GetStepCategoryPayload requestObj = new GetStepCategoryPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setStepURI(stepURI);
	        return doRequest(requestObj, "GETSTEPCATEGORY", new GetStepCategoryTypeReference());    }

	    
	    @Override
	    public void addStep(CallingContext context, String workflowURI, Step step) {
	        AddStepPayload requestObj = new AddStepPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        requestObj.setStep(step);
	        doRequest(requestObj, "ADDSTEP", null);    }

	    
	    @Override
	    public void removeStep(CallingContext context, String workflowURI, String stepName) {
	        RemoveStepPayload requestObj = new RemoveStepPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        requestObj.setStepName(stepName);
	        doRequest(requestObj, "REMOVESTEP", null);    }

	    
	    @Override
	    public void addTransition(CallingContext context, String workflowURI, String stepName, Transition transition) {
	        AddTransitionPayload requestObj = new AddTransitionPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        requestObj.setStepName(stepName);
	        requestObj.setTransition(transition);
	        doRequest(requestObj, "ADDTRANSITION", null);    }

	    
	    @Override
	    public void removeTransition(CallingContext context, String workflowURI, String stepName, String transitionName) {
	        RemoveTransitionPayload requestObj = new RemoveTransitionPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        requestObj.setStepName(stepName);
	        requestObj.setTransitionName(transitionName);
	        doRequest(requestObj, "REMOVETRANSITION", null);    }

	    
	    @Override
	    public void deleteWorkflow(CallingContext context, String workflowURI) {
	        DeleteWorkflowPayload requestObj = new DeleteWorkflowPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        doRequest(requestObj, "DELETEWORKFLOW", null);    }

	    private static final class CreateWorkOrderTypeReference extends TypeReference {
	    }    
	    @Override
	    public String createWorkOrder(CallingContext context, String workflowURI, Map argsMap) {
	        CreateWorkOrderPayload requestObj = new CreateWorkOrderPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        requestObj.setArgsMap(argsMap);
	        return doRequest(requestObj, "CREATEWORKORDER", new CreateWorkOrderTypeReference());    }

	    private static final class CreateWorkOrderPTypeReference extends TypeReference {
	    }    
	    @Override
	    public CreateResponse createWorkOrderP(CallingContext context, String workflowURI, Map argsMap, String appStatusUriPattern) {
	        CreateWorkOrderPPayload requestObj = new CreateWorkOrderPPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        requestObj.setArgsMap(argsMap);
	        requestObj.setAppStatusUriPattern(appStatusUriPattern);
	        return doRequest(requestObj, "CREATEWORKORDERP", new CreateWorkOrderPTypeReference());    }

	    
	    @Override
	    public void releaseWorkOrderLock(CallingContext context, String workOrderURI) {
	        ReleaseWorkOrderLockPayload requestObj = new ReleaseWorkOrderLockPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        doRequest(requestObj, "RELEASEWORKORDERLOCK", null);    }

	    private static final class GetWorkOrderStatusTypeReference extends TypeReference {
	    }    
	    @Override
	    public WorkOrderStatus getWorkOrderStatus(CallingContext context, String workOrderURI) {
	        GetWorkOrderStatusPayload requestObj = new GetWorkOrderStatusPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        return doRequest(requestObj, "GETWORKORDERSTATUS", new GetWorkOrderStatusTypeReference());    }

	    
	    @Override
	    public void writeWorkflowAuditEntry(CallingContext context, String workOrderURI, String message, Boolean error) {
	        WriteWorkflowAuditEntryPayload requestObj = new WriteWorkflowAuditEntryPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        requestObj.setMessage(message);
	        requestObj.setError(error);
	        doRequest(requestObj, "WRITEWORKFLOWAUDITENTRY", null);    }

	    private static final class GetWorkOrdersByDayTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getWorkOrdersByDay(CallingContext context, Long startTimeInstant) {
	        GetWorkOrdersByDayPayload requestObj = new GetWorkOrdersByDayPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setStartTimeInstant(startTimeInstant);
	        return doRequest(requestObj, "GETWORKORDERSBYDAY", new GetWorkOrdersByDayTypeReference());    }

	    private static final class GetWorkOrdersByWorkflowTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getWorkOrdersByWorkflow(CallingContext context, Long startTimeInstant, String workflowUri) {
	        GetWorkOrdersByWorkflowPayload requestObj = new GetWorkOrdersByWorkflowPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setStartTimeInstant(startTimeInstant);
	        requestObj.setWorkflowUri(workflowUri);
	        return doRequest(requestObj, "GETWORKORDERSBYWORKFLOW", new GetWorkOrdersByWorkflowTypeReference());    }

	    private static final class GetWorkOrderTypeReference extends TypeReference {
	    }    
	    @Override
	    public WorkOrder getWorkOrder(CallingContext context, String workOrderURI) {
	        GetWorkOrderPayload requestObj = new GetWorkOrderPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        return doRequest(requestObj, "GETWORKORDER", new GetWorkOrderTypeReference());    }

	    private static final class GetWorkerTypeReference extends TypeReference {
	    }    
	    @Override
	    public Worker getWorker(CallingContext context, String workOrderURI, String workerId) {
	        GetWorkerPayload requestObj = new GetWorkerPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        requestObj.setWorkerId(workerId);
	        return doRequest(requestObj, "GETWORKER", new GetWorkerTypeReference());    }

	    
	    @Override
	    public void cancelWorkOrder(CallingContext context, String workOrderURI) {
	        CancelWorkOrderPayload requestObj = new CancelWorkOrderPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        doRequest(requestObj, "CANCELWORKORDER", null);    }

	    private static final class ResumeWorkOrderTypeReference extends TypeReference {
	    }    
	    @Override
	    public CreateResponse resumeWorkOrder(CallingContext context, String workOrderURI, String resumeStepURI) {
	        ResumeWorkOrderPayload requestObj = new ResumeWorkOrderPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        requestObj.setResumeStepURI(resumeStepURI);
	        return doRequest(requestObj, "RESUMEWORKORDER", new ResumeWorkOrderTypeReference());    }

	    private static final class WasCancelCalledTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean wasCancelCalled(CallingContext context, String workOrderURI) {
	        WasCancelCalledPayload requestObj = new WasCancelCalledPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        return doRequest(requestObj, "WASCANCELCALLED", new WasCancelCalledTypeReference());    }

	    private static final class GetCancellationDetailsTypeReference extends TypeReference {
	    }    
	    @Override
	    public WorkOrderCancellation getCancellationDetails(CallingContext context, String workOrderURI) {
	        GetCancellationDetailsPayload requestObj = new GetCancellationDetailsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        return doRequest(requestObj, "GETCANCELLATIONDETAILS", new GetCancellationDetailsTypeReference());    }

	    private static final class GetWorkOrderDebugTypeReference extends TypeReference {
	    }    
	    @Override
	    public WorkOrderDebug getWorkOrderDebug(CallingContext context, String workOrderURI) {
	        GetWorkOrderDebugPayload requestObj = new GetWorkOrderDebugPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        return doRequest(requestObj, "GETWORKORDERDEBUG", new GetWorkOrderDebugTypeReference());    }

	    
	    @Override
	    public void setWorkOrderIdGenConfig(CallingContext context, String config, Boolean force) {
	        SetWorkOrderIdGenConfigPayload requestObj = new SetWorkOrderIdGenConfigPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setConfig(config);
	        requestObj.setForce(force);
	        doRequest(requestObj, "SETWORKORDERIDGENCONFIG", null);    }

	    
	    @Override
	    public void setContextLiteral(CallingContext context, String workerURI, String varAlias, String literalValue) {
	        SetContextLiteralPayload requestObj = new SetContextLiteralPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkerURI(workerURI);
	        requestObj.setVarAlias(varAlias);
	        requestObj.setLiteralValue(literalValue);
	        doRequest(requestObj, "SETCONTEXTLITERAL", null);    }

	    
	    @Override
	    public void setContextLink(CallingContext context, String workerURI, String varAlias, String expressionValue) {
	        SetContextLinkPayload requestObj = new SetContextLinkPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkerURI(workerURI);
	        requestObj.setVarAlias(varAlias);
	        requestObj.setExpressionValue(expressionValue);
	        doRequest(requestObj, "SETCONTEXTLINK", null);    }

	    private static final class GetContextValueTypeReference extends TypeReference {
	    }    
	    @Override
	    public String getContextValue(CallingContext context, String workerURI, String varAlias) {
	        GetContextValuePayload requestObj = new GetContextValuePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkerURI(workerURI);
	        requestObj.setVarAlias(varAlias);
	        return doRequest(requestObj, "GETCONTEXTVALUE", new GetContextValueTypeReference());    }

	    
	    @Override
	    public void addErrorToContext(CallingContext context, String workerURI, ErrorWrapper errorWrapper) {
	        AddErrorToContextPayload requestObj = new AddErrorToContextPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkerURI(workerURI);
	        requestObj.setErrorWrapper(errorWrapper);
	        doRequest(requestObj, "ADDERRORTOCONTEXT", null);    }

	    private static final class GetErrorsFromContextTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getErrorsFromContext(CallingContext context, String workerURI) {
	        GetErrorsFromContextPayload requestObj = new GetErrorsFromContextPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkerURI(workerURI);
	        return doRequest(requestObj, "GETERRORSFROMCONTEXT", new GetErrorsFromContextTypeReference());    }

	    private static final class GetExceptionInfoTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getExceptionInfo(CallingContext context, String workOrderURI) {
	        GetExceptionInfoPayload requestObj = new GetExceptionInfoPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        return doRequest(requestObj, "GETEXCEPTIONINFO", new GetExceptionInfoTypeReference());    }

	    
	    @Override
	    public void reportStepProgress(CallingContext context, String workerURI, Long stepStartTime, String message, Long progress, Long max) {
	        ReportStepProgressPayload requestObj = new ReportStepProgressPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkerURI(workerURI);
	        requestObj.setStepStartTime(stepStartTime);
	        requestObj.setMessage(message);
	        requestObj.setProgress(progress);
	        requestObj.setMax(max);
	        doRequest(requestObj, "REPORTSTEPPROGRESS", null);    }

	    private static final class GetAppStatusesTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getAppStatuses(CallingContext context, String prefix) {
	        GetAppStatusesPayload requestObj = new GetAppStatusesPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setPrefix(prefix);
	        return doRequest(requestObj, "GETAPPSTATUSES", new GetAppStatusesTypeReference());    }

	    private static final class GetAppStatusDetailsTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getAppStatusDetails(CallingContext context, String prefix, List extraContextValues) {
	        GetAppStatusDetailsPayload requestObj = new GetAppStatusDetailsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setPrefix(prefix);
	        requestObj.setExtraContextValues(extraContextValues);
	        return doRequest(requestObj, "GETAPPSTATUSDETAILS", new GetAppStatusDetailsTypeReference());    }

	    private static final class GetMonthlyMetricsTypeReference extends TypeReference {
	    }    
	    @Override
	    public WorkflowHistoricalMetrics getMonthlyMetrics(CallingContext context, String workflowURI, String jobURI, String argsHashValue, String state) {
	        GetMonthlyMetricsPayload requestObj = new GetMonthlyMetricsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkflowURI(workflowURI);
	        requestObj.setJobURI(jobURI);
	        requestObj.setArgsHashValue(argsHashValue);
	        requestObj.setState(state);
	        return doRequest(requestObj, "GETMONTHLYMETRICS", new GetMonthlyMetricsTypeReference());    }

	    private static final class QueryLogsTypeReference extends TypeReference {
	    }    
	    @Override
	    public LogQueryResponse queryLogs(CallingContext context, String workOrderURI, Long startTime, Long endTime, Long keepAlive, Long bufferSize, String nextBatchId, String stepName, String stepStartTime) {
	        QueryLogsPayload requestObj = new QueryLogsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setWorkOrderURI(workOrderURI);
	        requestObj.setStartTime(startTime);
	        requestObj.setEndTime(endTime);
	        requestObj.setKeepAlive(keepAlive);
	        requestObj.setBufferSize(bufferSize);
	        requestObj.setNextBatchId(nextBatchId);
	        requestObj.setStepName(stepName);
	        requestObj.setStepStartTime(stepStartTime);
	        return doRequest(requestObj, "QUERYLOGS", new QueryLogsTypeReference());    }

	
	    @Override
	    public List getAllWorkflows() {
	        return getAllWorkflows(null);    }

	    @Override
	    public List getWorkflowChildren(String workflowURI) {
	        return getWorkflowChildren(null,workflowURI);    }

	    @Override
	    public List getWorkOrderChildren(String parentPath) {
	        return getWorkOrderChildren(null,parentPath);    }

	    @Override
	    public void putWorkflow(Workflow workflow) {
	        putWorkflow(null,workflow);    }

	    @Override
	    public Workflow getWorkflow(String workflowURI) {
	        return getWorkflow(null,workflowURI);    }

	    @Override
	    public Step getWorkflowStep(String stepURI) {
	        return getWorkflowStep(null,stepURI);    }

	    @Override
	    public String getStepCategory(String stepURI) {
	        return getStepCategory(null,stepURI);    }

	    @Override
	    public void addStep(String workflowURI, Step step) {
	        addStep(null,workflowURI,step);    }

	    @Override
	    public void removeStep(String workflowURI, String stepName) {
	        removeStep(null,workflowURI,stepName);    }

	    @Override
	    public void addTransition(String workflowURI, String stepName, Transition transition) {
	        addTransition(null,workflowURI,stepName,transition);    }

	    @Override
	    public void removeTransition(String workflowURI, String stepName, String transitionName) {
	        removeTransition(null,workflowURI,stepName,transitionName);    }

	    @Override
	    public void deleteWorkflow(String workflowURI) {
	        deleteWorkflow(null,workflowURI);    }

	    @Override
	    public String createWorkOrder(String workflowURI, Map argsMap) {
	        return createWorkOrder(null,workflowURI,argsMap);    }

	    @Override
	    public CreateResponse createWorkOrderP(String workflowURI, Map argsMap, String appStatusUriPattern) {
	        return createWorkOrderP(null,workflowURI,argsMap,appStatusUriPattern);    }

	    @Override
	    public void releaseWorkOrderLock(String workOrderURI) {
	        releaseWorkOrderLock(null,workOrderURI);    }

	    @Override
	    public WorkOrderStatus getWorkOrderStatus(String workOrderURI) {
	        return getWorkOrderStatus(null,workOrderURI);    }

	    @Override
	    public void writeWorkflowAuditEntry(String workOrderURI, String message, Boolean error) {
	        writeWorkflowAuditEntry(null,workOrderURI,message,error);    }

	    @Override
	    public List getWorkOrdersByDay(Long startTimeInstant) {
	        return getWorkOrdersByDay(null,startTimeInstant);    }

	    @Override
	    public List getWorkOrdersByWorkflow(Long startTimeInstant, String workflowUri) {
	        return getWorkOrdersByWorkflow(null,startTimeInstant,workflowUri);    }

	    @Override
	    public WorkOrder getWorkOrder(String workOrderURI) {
	        return getWorkOrder(null,workOrderURI);    }

	    @Override
	    public Worker getWorker(String workOrderURI, String workerId) {
	        return getWorker(null,workOrderURI,workerId);    }

	    @Override
	    public void cancelWorkOrder(String workOrderURI) {
	        cancelWorkOrder(null,workOrderURI);    }

	    @Override
	    public CreateResponse resumeWorkOrder(String workOrderURI, String resumeStepURI) {
	        return resumeWorkOrder(null,workOrderURI,resumeStepURI);    }

	    @Override
	    public Boolean wasCancelCalled(String workOrderURI) {
	        return wasCancelCalled(null,workOrderURI);    }

	    @Override
	    public WorkOrderCancellation getCancellationDetails(String workOrderURI) {
	        return getCancellationDetails(null,workOrderURI);    }

	    @Override
	    public WorkOrderDebug getWorkOrderDebug(String workOrderURI) {
	        return getWorkOrderDebug(null,workOrderURI);    }

	    @Override
	    public void setWorkOrderIdGenConfig(String config, Boolean force) {
	        setWorkOrderIdGenConfig(null,config,force);    }

	    @Override
	    public void setContextLiteral(String workerURI, String varAlias, String literalValue) {
	        setContextLiteral(null,workerURI,varAlias,literalValue);    }

	    @Override
	    public void setContextLink(String workerURI, String varAlias, String expressionValue) {
	        setContextLink(null,workerURI,varAlias,expressionValue);    }

	    @Override
	    public String getContextValue(String workerURI, String varAlias) {
	        return getContextValue(null,workerURI,varAlias);    }

	    @Override
	    public void addErrorToContext(String workerURI, ErrorWrapper errorWrapper) {
	        addErrorToContext(null,workerURI,errorWrapper);    }

	    @Override
	    public List getErrorsFromContext(String workerURI) {
	        return getErrorsFromContext(null,workerURI);    }

	    @Override
	    public List getExceptionInfo(String workOrderURI) {
	        return getExceptionInfo(null,workOrderURI);    }

	    @Override
	    public void reportStepProgress(String workerURI, Long stepStartTime, String message, Long progress, Long max) {
	        reportStepProgress(null,workerURI,stepStartTime,message,progress,max);    }

	    @Override
	    public List getAppStatuses(String prefix) {
	        return getAppStatuses(null,prefix);    }

	    @Override
	    public List getAppStatusDetails(String prefix, List extraContextValues) {
	        return getAppStatusDetails(null,prefix,extraContextValues);    }

	    @Override
	    public WorkflowHistoricalMetrics getMonthlyMetrics(String workflowURI, String jobURI, String argsHashValue, String state) {
	        return getMonthlyMetrics(null,workflowURI,jobURI,argsHashValue,state);    }

	    @Override
	    public LogQueryResponse queryLogs(String workOrderURI, Long startTime, Long endTime, Long keepAlive, Long bufferSize, String nextBatchId, String stepName, String stepStartTime) {
	        return queryLogs(null,workOrderURI,startTime,endTime,keepAlive,bufferSize,nextBatchId,stepName,stepStartTime);    }

}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy