Class RestClientHelper

java.lang.Object
org.imixs.archive.export.util.RestClientHelper
All Implemented Interfaces:
Serializable

@Named @RequestScoped public class RestClientHelper extends Object implements Serializable
The RestClientHelper provides helper method to create a DocumentRestClient and a EventLogRestClient.
Author:
rsoika
See Also:
  • Constructor Details

    • RestClientHelper

      public RestClientHelper()
  • Method Details

    • getDocumentClient

      public org.imixs.melman.DocumentClient getDocumentClient() throws org.imixs.melman.RestAPIException
      This method creates a new WorkflowClient instance.
      Returns:
      Throws:
      org.imixs.melman.RestAPIException
    • getEventLogClient

      public org.imixs.melman.EventLogClient getEventLogClient(org.imixs.melman.DocumentClient documentClient)
      Creates a EventLogClient form a given DocumentClient instance
      Parameters:
      workflowClient - - a existing worklfowClient
      Returns:
      - a eventLogClient instance