public class BoxSearchManager extends BoxItemsManager
| Constructor and Description |
|---|
BoxSearchManager(IBoxConfig config,
IBoxResourceHub resourceHub,
IBoxJSONParser parser,
IBoxRequestAuth auth,
IBoxRESTClient restClient)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BoxCollection |
search(String searchQuery,
BoxDefaultRequestObject requestObject)
Perform a search against the user's account.
|
copyItem, createSharedLink, deleteTrashItem, getItem, getTrashItem, restoreTrashItem, updateItemInfoexecuteRequestWithNoResponseBody, getAuth, getClassFromType, getConfig, getJSONParser, getResourceHub, getResponseAndParse, getResponseAndParseAndTryCast, getRestClient, tryCastBoxItem, tryCastObjectpublic BoxSearchManager(IBoxConfig config, IBoxResourceHub resourceHub, IBoxJSONParser parser, IBoxRequestAuth auth, IBoxRESTClient restClient)
config - ConfigresourceHub - IResourceHubparser - json parserauth - auth for api callsrestClient - REST client to make api calls.public BoxCollection search(String searchQuery, BoxDefaultRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
folderId - id of the folder.requestObject - request objectBoxRestException - exceptionBoxServerException - exceptionAuthFatalFailureException - exception indicating authentication totally failedCopyright © 2014. All Rights Reserved.