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