Class ModelClient


public class ModelClient extends AbstractClient
This ServiceClient is a WebService REST Client which encapsulate the communication with a REST web serice based on the Imixs Workflow REST API. The Implementation is based on the JAXB API 2.0.
Author:
Ralph Soika
  • Constructor Details

    • ModelClient

      public ModelClient(String base_uri)
      Initialize the client by a BASE_URL.
      Parameters:
      base_uri -
  • Method Details

    • postModel

      public void postModel(org.imixs.workflow.bpmn.BPMNModel model) throws RestAPIException
      Posts a byte array of a BPMN Model to the Model service.
      Parameters:
      data - - byte array of a bpmn model file
      Throws:
      RestAPIException
    • deleteModel

      public void deleteModel(String version) throws RestAPIException
      Deletes a model by its version
      Parameters:
      userid -
      Throws:
      RestAPIException