Class EventLogClient

java.lang.Object
org.imixs.melman.AbstractClient
org.imixs.melman.EventLogClient

public class EventLogClient extends AbstractClient
This ServiceClient is a WebService REST Client which encapsulate the communication with Imixs EventLog REST service. The Implementation is based on the JAXB API 2.0.
Author:
Ralph Soika
  • Field Details

  • Constructor Details

    • EventLogClient

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

    • getPageSize

      public int getPageSize()
    • setPageSize

      public void setPageSize(int pageSize)
    • getPageIndex

      public int getPageIndex()
    • setPageIndex

      public void setPageIndex(int pageIndex)
    • deleteEventLogEntry

      public void deleteEventLogEntry(String eventLogID) throws RestAPIException
      Deletes a single workItem or document instance by UniqueID.
      Parameters:
      userid -
      Throws:
      RestAPIException
    • createEventLogEntry

      public void createEventLogEntry(String topic, String refID, org.imixs.workflow.ItemCollection document) throws RestAPIException
      Creates a new topic for a given RefId by creating a PUT request
      Parameters:
      topic - - new topic
      refID - - id of the document
      document - - optional document data
      Throws:
      RestAPIException
    • lockEventLogEntry

      public void lockEventLogEntry(String eventLogID) throws RestAPIException
      Lock an EventLog entry by its ID.
      Parameters:
      userid -
      Throws:
      RestAPIException
    • unlockEventLogEntry

      public void unlockEventLogEntry(String eventLogID) throws RestAPIException
      Lock an EventLog entry by its ID.
      Parameters:
      userid -
      Throws:
      RestAPIException
    • releaseDeadLocks

      public void releaseDeadLocks(long deadLockInterval, String... topic) throws RestAPIException
      Lock an EventLog entry by its ID.
      Parameters:
      userid -
      Throws:
      RestAPIException
    • searchEventLog

      public List<org.imixs.workflow.ItemCollection> searchEventLog(String... topic) throws RestAPIException
      Loads a collection of EventLog entries for a specific topic
      Parameters:
      topic - - list of topics
      Returns:
      eventLog entries
      Throws:
      RestAPIException