| java.lang.Object | |
| ↳ | org.mule.modules.jive.JerseyJiveFacade |
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| client | The jersey client | ||||||||||
| gatewayUri | The base uri of the rest server | ||||||||||
| initUserId | Syncronized object for the userID operation | ||||||||||
| mapper | The xml mapper | ||||||||||
| password | The jive password. | ||||||||||
| userID | The userID from jive. | ||||||||||
| username | The jive username | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Call the get count service.
| |||||||||||
Creates an entity.
| |||||||||||
Deletes an entity.
| |||||||||||
Executes a POST
CustomOp. | |||||||||||
Executes a get request with the given id as path params for the given
EntityType | |||||||||||
Make a request for the userID to the jive server for the given username and password.
| |||||||||||
Sets the gatewayUri to be used as base url for the rest server
| |||||||||||
Sets the jive password
| |||||||||||
Sets the jive username
| |||||||||||
Executes a put method for the given
EntityType sending as payload the given entity. | |||||||||||
@return
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.mule.modules.jive.JiveFacade
| |||||||||||
The jersey client
The base uri of the rest server
Syncronized object for the userID operation
The jive password.
The userID from jive.
The jive username
Call the get count service.
| type | The service type |
|---|
Creates an entity.
Sends a POST request for the given EntityType generating the xml
payload corresponding with the entity map.
| type | The service type used to determine the url for this resource. |
|---|---|
| entity | The Map with the entity data to parse to an xml and send in the request. |
Deletes an entity.
| type | The service type used to determine the url for this resource. |
|---|---|
| id | The id to be added in the url as path parameter. |
Executes a POST CustomOp.
| op | The service to execute, used to determine the resource url, the http protocol to use and, if needed, the root tag for the xml to be send in the request. |
|---|---|
| entity | The Map with the entity data to parse to an xml and send in the request. |
| id |
Executes a get request with the given id as path params for the given EntityType
| entityType | The entity type |
|---|---|
| id | The path params to add to the resource uri |
Make a request for the userID to the jive server for the given username and password.
| xmlRootTag | |
|---|---|
| entity | |
| writer |
Sets the gatewayUri to be used as base url for the rest server
| gatewayUri |
|---|
| pass | The pass to set |
|---|
Sets the jive password
| pass |
|---|
| user | The user to set |
|---|
| userID | The userID to set |
|---|
Sets the jive username
| user |
|---|
Executes a put method for the given EntityType sending as payload the given entity.
| entityType | The entity type |
|---|---|
| entity | The data to be send as payload in the request |