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

com.centurylink.mdw.services.DesignServices Maven / Gradle / Ivy

There is a newer version: 6.1.39
Show newest version
package com.centurylink.mdw.services;

import com.centurylink.mdw.common.service.Query;
import com.centurylink.mdw.common.service.ServiceException;
import com.centurylink.mdw.model.asset.AssetVersion;
import com.centurylink.mdw.model.workflow.ActivityImplementor;
import com.centurylink.mdw.model.workflow.ActivityList;
import com.centurylink.mdw.model.workflow.Linked;
import com.centurylink.mdw.model.workflow.Process;

import java.io.IOException;
import java.util.List;

/**
 * Design-time workflow definition services.
 */
public interface DesignServices {

    List getProcessDefinitions(Query query) throws ServiceException;
    Process getProcessDefinition(String assetPath, Query query) throws ServiceException;
    Process getProcessDefinition(Long id) throws ServiceException, IOException;

    ActivityList getActivityDefinitions(Query query) throws ServiceException;

    List getImplementors() throws ServiceException;
    ActivityImplementor getImplementor(String className) throws ServiceException;

    /**
     * @param processId process ID
     * @param downward only searches downward (returns list with single element)
     */
    List> getProcessHierarchy(Long processId, boolean downward) throws ServiceException;

    AssetVersion getAsset(String assetPath, String version, boolean withCommitInfo) throws ServiceException;
    List getAssetVersions(String assetPath, Query query) throws ServiceException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy