Class 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
    • Constructor Detail

      • EventLogClient

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

      • 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
      • 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