| java.lang.Object | |
| ↳ | org.mule.module.kindling.KindlingConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Kindling Cloud Connector
Kindling ignites innovation by connecting people and ideas
Allows to connect to the kindling site across the Kindling Service API. Connector created with the documentation of the service for the version v3.12.0.2
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| client | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Connect
| |||||||||||
Are we connected
| |||||||||||
Creates a new category in the categories collection
| |||||||||||
Creates a new comment in the comments collection
| |||||||||||
Create a new group in the groups collection
| |||||||||||
Create a new idea in the ideas collection
| |||||||||||
Creates a new post
| |||||||||||
Creates a new user in the users collection
| |||||||||||
Deletes a single comment
| |||||||||||
Deletes a single user
| |||||||||||
Disconnect
| |||||||||||
Are we connected
| |||||||||||
Gets the categories collection
| |||||||||||
Gets a single category
| |||||||||||
Gets a single comment
| |||||||||||
Gets the comments collection
| |||||||||||
Gets a single group
| |||||||||||
Gets the groups collection
| |||||||||||
Gets a single idea
| |||||||||||
Gets the ideas collection
| |||||||||||
Gets a single post
| |||||||||||
Gets the posts collection
| |||||||||||
Gets a single user
| |||||||||||
Gets the users collection
| |||||||||||
Updates a single category
| |||||||||||
Updates a single group
| |||||||||||
Updates a single idea
| |||||||||||
Updates a single post
| |||||||||||
Updates a single user
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Connect
| username | A username |
|---|---|
| password | A password |
| companyName | The name of the company registered in kindling and used for access your site like https://{companyName}.kindlingapp.com |
| ConnectionException |
|---|
Are we connected
Creates a new category in the categories collection
| category | The KindlingCategory to be created |
|---|
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Creates a new comment in the comments collection
| comment | The KindlingComment to be created |
|---|
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Create a new group in the groups collection
| group | The KindlingGroup to be created |
|---|
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Create a new idea in the ideas collection
| idea | The KindlingIdea to be created |
|---|
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Creates a new post
| post | The KindlingCategory to be created |
|---|
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Creates a new user in the users collection
| user | The KindlingUser to be created |
|---|
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Deletes a single comment
| commentId | The id of the comment to delete |
|---|
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Deletes a single user
| userId | The id of the user to delete |
|---|
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Disconnect
Are we connected
Gets the categories collection
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
|---|---|
| sort | Default: title. How the collection output will be sorted, like 'date ASC', 'date', or 'name DESC' etc. |
| page | Default: 1. The page requested |
| limit | Default: 20. The limit on number of collection items to show per page |
| state | Default: ACTIVATED. Get only items in the collection that are in the given state, either by a state ID or it's natural language name |
| query | A general category search |
| associatedWithUserId | If provided, will only return categories that the given user ID has access to |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets a single category
| categoryId | The id of the category to retrieve |
|---|---|
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets a single comment
| commentId | The id of the comment to retrieve |
|---|---|
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets the comments collection
| parentType | Retrieve only comments whose parent is of this type |
|---|---|
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
| sort | Default: title. How the collection output will be sorted, like 'date ASC', 'date', or 'name DESC' etc. |
| page | Default: 1. The page requested |
| limit | Default: 20 The limit on number of collection items to show per page |
| state | Default: ACTIVATED. Get only items in the collection that are in the given state, either by a state ID or it's natural language name |
| parentId | Retrieve only comments of a specific parent ID |
| type | The type of comments to retrieve |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets a single group
| groupId | The id of the group to retrieve |
|---|---|
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. group.json |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets the groups collection
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
|---|---|
| sort | Default: title. How the collection output will be sorted, like 'date ASC', 'date', or 'name DESC' etc. |
| page | Default: 1. The page requested |
| limit | Default: 20 The limit on number of collection items to show per page |
| state | Default: ACTIVATED. Get only items in the collection that are in the given state, either by a state ID or it's natural language name |
| startsWith | Find group titles beginning with this string |
| query | A general group search |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets a single idea
| ideaId | The id of the Idea to retrieve |
|---|---|
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets the ideas collection
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
|---|---|
| sort | Default: title. How the collection output will be sorted, like 'date ASC', 'date', or 'name DESC' etc. |
| page | Default: 1. The page requested |
| limit | Default: 20 The limit on number of collection items to show per page |
| state | Get only items in the collection that are in the given state, either by a state ID or it's natural language name
|
| allowsVoting | Only show ideas that can or cannot be voted upon |
| query | A general idea search string |
| authorId | Show only ideas from a particular author |
| categoryId | Show only ideas in a particular category |
| filter | Conceptual filters |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets a single post
| postId | The id of the post to retrieve |
|---|---|
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets the posts collection
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
|---|---|
| sort | Default: title. How the collection output will be sorted, like 'date ASC', 'date', or 'name DESC' etc. |
| page | Default: 1. The page requested |
| limit | Default: 20. The limit on number of collection items to show per page |
| state | Default: ACTIVATED. Get only items in the collection that are in the given state, either by a state ID or it's natural language name |
| startsWith | Find posts beginning with this string |
| query | A general post search |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets a single user
| userId | The id of the user to retrieve |
|---|---|
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Gets the users collection
| depth | Default: 0. Any object in the result can be displayed at depth, 0 = no depth, 1 = expand first relational object level, etc. |
|---|---|
| sort | Default: title. How the collection output will be sorted, like 'date ASC', 'date', or 'name DESC' etc. |
| page | Default: 1. The page requested |
| limit | Default: 20. The limit on number of collection items to show per page |
| state | Default: ACTIVATED. Get only items in the collection that are in the given state, either by a state ID or it's natural language name |
| associatedWithCategoryId | Only show users associated with a particular category |
| digest | Show only users with a particular type of digest set |
| query | General user search string |
| reputationTimeframe | If present, will turn this request into one specifically for reputation leaders for a given timeframe, which may be combined with the associatedWithCategoryId parameter as well to return a leaderbooard for a category |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Updates a single category
| categoryId | The id of the category to update |
|---|---|
| category | The KindlingCategory with the data to be updated |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Updates a single group
| groupId | The id of the group to retrieve |
|---|---|
| group | The KindlingGroup with the data to be updated |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Updates a single idea
| ideaId | The id of the Idea to update |
|---|---|
| idea | The KindlingIdea with the data to be updated |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Updates a single post
| postId | The id of the post to update |
|---|---|
| post | The KindlingPost with the data to be updated |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |
Updates a single user
| userId | The id of the user to update |
|---|---|
| user | The KindlingUser with the data to be updated |
| KindlingConnectorException | If something goes wrong with the service API this exception is throw |
|---|---|
| KindlingConnectorUnauthorizedException | If the credentials provided for the user are wrong or are expired this exception is throw |