public class SiteCollectionReferenceRequest extends BaseCollectionRequest<SiteCollectionResponse,ISiteCollectionPage> implements ISiteCollectionReferenceRequest
| Constructor and Description |
|---|
SiteCollectionReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of Site
|
| Modifier and Type | Method and Description |
|---|---|
ISiteCollectionReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ISiteCollectionReferenceRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ISiteCollectionReferenceRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Site |
post(Site newSite) |
void |
post(Site newSite,
ICallback<? super Site> callback) |
ISiteCollectionReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ISiteCollectionReferenceRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic SiteCollectionReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void post(Site newSite, ICallback<? super Site> callback)
post in interface ISiteCollectionReferenceRequestpublic Site post(Site newSite) throws ClientException
post in interface ISiteCollectionReferenceRequestClientExceptionpublic ISiteCollectionReferenceRequest expand(java.lang.String value)
value - the expand clausepublic ISiteCollectionReferenceRequest filter(java.lang.String value)
value - the filter clausepublic ISiteCollectionReferenceRequest orderBy(java.lang.String value)
value - the sort clausepublic ISiteCollectionReferenceRequest select(java.lang.String value)
select in interface ISiteCollectionReferenceRequestvalue - the select clausepublic ISiteCollectionReferenceRequest top(int value)
top in interface ISiteCollectionReferenceRequestvalue - the max number of items to return