public static class BoxRequestsUser.GetEnterpriseUsers extends BoxRequestItem<BoxIteratorUsers,BoxRequestsUser.GetEnterpriseUsers> implements BoxCacheableRequest<BoxIteratorUsers>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.Methods, BoxRequest.TLSSSLSocketFactory| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
QUERY_FILTER_TERM |
protected static java.lang.String |
QUERY_LIMIT |
protected static java.lang.String |
QUERY_OFFSET |
mHintHeader, mId, QUERY_FIELDSJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
GetEnterpriseUsers(java.lang.String requestUrl,
BoxSession session)
Creates a get enterprise users request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilterTerm()
Gets the string used to filter the results to only users starting with the filter term in either the name or the login
|
long |
getLimit()
Gets the number of records to return.
|
long |
getOffset()
Gets the record at which to start
|
BoxIteratorUsers |
sendForCachedResult()
Sends the request to fetch results from cache synchronously.
|
BoxRequestsUser.GetEnterpriseUsers |
setFilterTerm(java.lang.String filterTerm)
Sets the string used to filter the results to only users starting with the filter term in either the name or the login
|
BoxRequestsUser.GetEnterpriseUsers |
setLimit(long limit)
Sets the number of records to return.
|
BoxRequestsUser.GetEnterpriseUsers |
setOffset(long offset)
Sets the record at which to start
|
BoxFutureTask<BoxIteratorUsers> |
toTaskForCachedResult()
Converts the request to a BoxCacheFutureTask that can be used to execute the request
asynchronously.
|
addRepresentationHintGroup, createHeaderMap, getId, onSendCompleted, setFieldsbuildUrl, createHttpRequest, createQuery, equals, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getSocket, getStringBody, handleSendForCachedResult, handleToTaskForCachedResult, handleUpdateCache, hashCode, importRequestContentMapsFrom, logDebug, logRequest, onSend, parseHashMapEntry, parseJsonObject, send, sendRequest, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskprotected static final java.lang.String QUERY_FILTER_TERM
protected static final java.lang.String QUERY_LIMIT
protected static final java.lang.String QUERY_OFFSET
public GetEnterpriseUsers(java.lang.String requestUrl,
BoxSession session)
requestUrl - URL of the enterprise users endpointsession - the authenticated session that will be used to make the request withpublic java.lang.String getFilterTerm()
public BoxRequestsUser.GetEnterpriseUsers setFilterTerm(java.lang.String filterTerm)
filterTerm - the string used to filter the resultspublic long getLimit()
public BoxRequestsUser.GetEnterpriseUsers setLimit(long limit)
limit - the number of records to return.public long getOffset()
public BoxRequestsUser.GetEnterpriseUsers setOffset(long offset)
offset - the record at which to startpublic BoxIteratorUsers sendForCachedResult() throws BoxException
BoxCacheableRequestsendForCachedResult in interface BoxCacheableRequest<BoxIteratorUsers>BoxException - thrown if there is no implementation of BoxCache set in BoxConfig, or if
there was another issue getting cached results.public BoxFutureTask<BoxIteratorUsers> toTaskForCachedResult() throws BoxException
BoxCacheableRequesttoTaskForCachedResult in interface BoxCacheableRequest<BoxIteratorUsers>BoxException - thrown if there is no implementation of BoxCache set in BoxConfig.