public class BoxEventsManager extends BoxResourceManager
| Constructor and Description |
|---|
BoxEventsManager(IBoxConfig config,
IBoxResourceHub resourceHub,
IBoxJSONParser parser,
IBoxRequestAuth auth,
IBoxRESTClient restClient)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BoxCollection |
getEventOptions(BoxDefaultRequestObject requestObject)
Get Events options.
|
static List<BoxEvent> |
getEvents(BoxCollection collection)
Get comments from a collection.
|
BoxEventCollection |
getEvents(BoxEventRequestObject requestObject)
Get Events.
|
executeRequestWithNoResponseBody, getAuth, getClassFromType, getConfig, getJSONParser, getResourceHub, getResponseAndParse, getResponseAndParseAndTryCast, getRestClient, tryCastBoxItem, tryCastObjectpublic BoxEventsManager(IBoxConfig config, IBoxResourceHub resourceHub, IBoxJSONParser parser, IBoxRequestAuth auth, IBoxRESTClient restClient)
config - BoxConfigresourceHub - IResourceHubparser - json parserauth - auth for api callsrestClient - REST client to make api calls.public BoxEventCollection getEvents(BoxEventRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
stream_position - stream_type - limit - requestObject - BoxRestExceptionBoxServerExceptionAuthFatalFailureExceptionpublic BoxCollection getEventOptions(BoxDefaultRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
requestObject - BoxRestExceptionBoxServerExceptionAuthFatalFailureExceptionpublic static List<BoxEvent> getEvents(BoxCollection collection)
collection - collectionCopyright © 2014. All Rights Reserved.