org.mule.modules.handshake.client.GenericHandshakeClient<T> |
![]()
GenericHandshakeClientImpl<T extends HandshakeObject>
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create the given element on Handshake for the connected account
| |||||||||||
Get all the elements that match the given filters
| |||||||||||
Get one element, matching the given id.
| |||||||||||
Get one element, matching the given Handshake Id (resourceUri)
| |||||||||||
Pagiante elements that match the given filters
| |||||||||||
Updates an existing element on Handshake, by providing its resourceUri and an object with the fields to update.
|
Create the given element on Handshake for the connected account
t | To be created |
---|
Get all the elements that match the given filters
filters | To apply to the search |
---|---|
fetchAllResults | If set to true, will try to fetch all the results, even if they are too much. WARNING: Could be slow and raise OutOfMemoryError |
Get one element, matching the given id. The id is the user-specified one for the given entity.
Note that not all entities support this field, so you might be looking for getByResourceUri(String)
id | Of the element to get |
---|
Get one element, matching the given Handshake Id (resourceUri)
resourceUri | Of the element to get |
---|
IllegalArgumentException | if the resourceUri is not well-formed |
---|---|
HandshakeAPIException | if the element doesn't exist in Handshake |
Pagiante elements that match the given filters
filters | To apply to the search |
---|---|
limit | The maximum amount of items to be returned |
offset | Pagination offset |
Updates an existing element on Handshake, by providing its resourceUri and an object with the fields to update. Because of the way Handshake references work, you should not include fields that you don't want updated, specially if they are nested objects, and should either leave them blank or include the corresponding resourceUri
resourceUri | Of the element to edit |
---|---|
toUpdate | Object with the fields to be edited |