java.lang.Object | ||
↳ | org.mule.modules.handshake.client.impl.AbstractHandshakeClient | |
↳ | org.mule.modules.handshake.client.impl.GenericHandshakeClientImpl<T extends org.mule.modules.handshake.core.HandshakeObject> |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RESOURCE_PATTERN | |||||||||||
antiThrottleKey | |||||||||||
apiKey | |||||||||||
elementType | |||||||||||
resourcePath | |||||||||||
responseElementType | |||||||||||
securityToken |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is called by getBaseURL for the user to extend the base URL
of its ServiceClient implementation.
| |||||||||||
Extracts the resource id from a resourceUri
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
baseUrl | |
---|---|
apiKey | |
securityToken | |
antiThrottleKey | |
resourcePath | |
elementType | |
responseElementType |
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 |
---|
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 |
---|---|
edited | Object with the fields to be edited |
This method is called by getBaseURL for the user to extend the base URL of its ServiceClient implementation.
baseUrl | A builder with the Base Url |
---|
Extracts the resource id from a resourceUri
resourceUri | From which to extract the resource ID |
---|
InvalidHandshakeObjectReferenceException | if the resourceUri is not well formed |
---|