public interface ISiteRequest extends IHttpRequest
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<Site> callback)
Delete this item from the service
|
ISiteRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Site |
get()
Gets the Site from the service
|
void |
get(ICallback<Site> callback)
Gets the Site from the service
|
Site |
patch(Site sourceSite)
Patches this Site with a source
|
void |
patch(Site sourceSite,
ICallback<Site> callback)
Patches this Site with a source
|
Site |
post(Site newSite)
Posts a Site with a new object
|
void |
post(Site newSite,
ICallback<Site> callback)
Posts a Site with a new object
|
ISiteRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
void get(ICallback<Site> callback)
callback
- the callback to be called after success or failureSite get() throws ClientException
ClientException
- this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<Site> callback)
callback
- the callback when the deletion action has completedvoid delete() throws ClientException
ClientException
- if there was an exception during the delete operationvoid patch(Site sourceSite, ICallback<Site> callback)
sourceSite
- the source object with updatescallback
- the callback to be called after success or failureSite patch(Site sourceSite) throws ClientException
sourceSite
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonvoid post(Site newSite, ICallback<Site> callback)
newSite
- the new object to createcallback
- the callback to be called after success or failureSite post(Site newSite) throws ClientException
newSite
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonISiteRequest select(java.lang.String value)
value
- the select clauseISiteRequest expand(java.lang.String value)
value
- the expand clause