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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.box.sdk.BoxEvent>
getEnterpriseEvents(String position, Date after, Date before, com.box.sdk.BoxEvent.Type... types)
Create an event stream with optional starting initial position and add listener that will be notified when an event is received.
-
-
-
Method Detail
-
getEnterpriseEvents
public List<com.box.sdk.BoxEvent> getEnterpriseEvents(String position, Date after, Date before, com.box.sdk.BoxEvent.Type... 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 benull
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.
-
-