Class BoxEventLogsManager

java.lang.Object
org.apache.camel.component.box.api.BoxEventLogsManager

public class BoxEventLogsManager extends Object
Provides operations to read Box enterprise (admin) event logs.
  • Constructor Summary

    Constructors
    Constructor
    Description
    BoxEventLogsManager(com.box.sdk.BoxAPIConnection boxConnection)
    Create event logs manager to manage the event logs of Box connection's authenticated user.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.box.sdk.BoxEvent>
    getEnterpriseEvents(String position, Date after, Date before, com.box.sdk.BoxEvent.EventType... types)
    Create an event stream with optional starting initial position and add listener that will be notified when an event is received.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BoxEventLogsManager

      public BoxEventLogsManager(com.box.sdk.BoxAPIConnection boxConnection)
      Create event logs manager to manage the event logs of Box connection's authenticated user.
      Parameters:
      boxConnection - - Box connection to authenticated user account.
  • Method Details

    • getEnterpriseEvents

      public List<com.box.sdk.BoxEvent> getEnterpriseEvents(String position, Date after, Date before, com.box.sdk.BoxEvent.EventType... types)
      Create an event stream with optional starting initial position and add listener that will be notified when an event is received.
      Parameters:
      position - - the starting position of the event stream. May be null in which case all events within bounds returned.
      after - - the lower bound on the timestamp of the events returned.
      before - - the upper bound on the timestamp of the events returned.
      types - - an optional list of event types to filter by.
      Returns:
      A list of all the events that met the given criteria.