Klasse DUUIEventController

java.lang.Object
org.texttechnologylab.duui.api.controllers.events.DUUIEventController

public class DUUIEventController extends Object
A Controller for database operations related to the events collection.
Autor:
Cedric Borkowski
  • Konstruktordetails

    • DUUIEventController

      public DUUIEventController()
  • Methodendetails

    • deleteMany

      public static void deleteMany(org.bson.conversions.Bson filter)
      Delete all events matching a given filter
      Parameter:
      filter - A Bson filter to delete only selected events
    • findManyByDocument

      public static List<org.bson.Document> findManyByDocument(String documentId)
      Find one or more events that reference a document by id.
      Parameter:
      documentId - The id of the document an event must reference.
      Gibt zurück:
      A List of Documents.
    • findManyByProcess

      public static List<org.bson.Document> findManyByProcess(String process_id)
    • insertMany

      public static void insertMany(String processId, List<org.texttechnologylab.DockerUnifiedUIMAInterface.monitoring.DUUIEvent> events)
      Insert one or more events that reference a process.
      Parameter:
      processId - The id of the process an event must reference
      events - The list of events to insert.