| java.lang.Object | |
| ↳ | org.mule.modules.jive.JiveModule |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Provides Jive connectivity to Mule:
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| facade | The jive facade | ||||||||||
| gatewayUri | The base rest server url | ||||||||||
| password | The password. | ||||||||||
| username | The username to access the jive instance. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Counts all the instances of the given entity type
| |||||||||||
Creates an entity of the given type.
| |||||||||||
Deletes an existent entity
If there is no entity with the given id the system will throw a
JiveGenericException
with the message returned from the server. | |||||||||||
Executes a custom operation
If a wrong number of attributes is sent, or the operation requires an entity an none is sent,
the system will repond with a
JiveGenericException. | |||||||||||
Retrieves the attributes for the entity of the given type and id.
| |||||||||||
Answers the id of the logged user
| |||||||||||
Initialise the facade
| |||||||||||
Updates an existent entity
If the entity you are trying to update doesn't exist, the system thorws a
JiveGenericException
with an aclaratory message. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
JerseyJiveFacade for and sets the password, username and gatewayUri. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
The base rest server url
The password.
The username to access the jive instance.
Counts all the instances of the given entity type
| type | The entity type to be counted |
|---|
Creates an entity of the given type.
If the entity already exists or cannot be created the system throws a JiveGenericException
with the correspondat message.
If the data pass in entity it's not the data expected the system will throw a JiveGenericException
with the correspondant message.
| type | The type of entity to create |
|---|---|
| entity | The entity attributes |
Deletes an existent entity
If there is no entity with the given id the system will throw a JiveGenericException
with the message returned from the server.
If the number of arguments is wrong the system will throw a JiveGenericException
| type | The entity type |
|---|---|
| id | The id of the entity to delete |
Executes a custom operation
If a wrong number of attributes is sent, or the operation requires an entity an none is sent,
the system will repond with a JiveGenericException.
| operation | The custom operation to be executed |
|---|---|
| entity | The Map with the entity data to be send as payload |
| id | The path parameters to be added to the operation uri |
Retrieves the attributes for the entity of the given type and id.
If the entity you are trying to get doesn't exist, the system will throw a
JiveGenericException with the correponging message.
| type | The entity type |
|---|---|
| id | The entity id |
Answers the id of the logged user
Initialise the facade
| gatewayUri |
|---|
| password |
|---|
| username |
|---|
Updates an existent entity
If the entity you are trying to update doesn't exist, the system thorws a JiveGenericException
with an aclaratory message.
| type | The type of entity to update |
|---|---|
| entity | The attributes of the entity |
Creates a JerseyJiveFacade for and sets the password, username and gatewayUri.