@Deprecated public interface TopicManager
Modifier and Type | Method and Description |
---|---|
void |
addTopic(String topicName)
Deprecated.
Adds a new topic
|
String[] |
getBackendRoles()
Deprecated.
Get array of backend roles excluding admin and wso2.anonymous.role roles
|
Subscription[] |
getJMSSubscriptions(String topicName)
Deprecated.
Gets the JMS subscriptions for a given topic
|
Subscription[] |
getSubscriptions(String topicName,
boolean withChildren)
Deprecated.
Gets subscriptions for a topic
|
TopicRolePermission[] |
getTopicRolePermission(String topicName)
Deprecated.
Gets the permissions for topic
|
TopicNode |
getTopicTree()
Deprecated.
Gets the topic tree.
|
boolean |
isTopicExists(String topicName)
Deprecated.
Checks whether topic exists
|
boolean |
removeTopic(String topicName)
Deprecated.
Removes a topic
|
void |
updatePermissions(String topicName,
TopicRolePermission[] topicRolePermissions)
Deprecated.
Update permissions for a topic
|
TopicNode getTopicTree() throws EventBrokerException
EventBrokerException
void addTopic(String topicName) throws EventBrokerException
topicName
- topic nameEventBrokerException
TopicRolePermission[] getTopicRolePermission(String topicName) throws EventBrokerException
topicName
- topic nameEventBrokerException
void updatePermissions(String topicName, TopicRolePermission[] topicRolePermissions) throws EventBrokerException
topicName
- topic nametopicRolePermissions
- array of permissions for topicsEventBrokerException
Subscription[] getSubscriptions(String topicName, boolean withChildren) throws EventBrokerException
topicName
- topic namewithChildren
- include topics with children. i.e subtopicsEventBrokerException
Subscription[] getJMSSubscriptions(String topicName) throws EventBrokerException
topicName
- topic nameEventBrokerException
String[] getBackendRoles() throws EventBrokerException
EventBrokerException
boolean removeTopic(String topicName) throws EventBrokerException
topicName
- topic nameEventBrokerException
boolean isTopicExists(String topicName) throws EventBrokerException
topicName
- topic nameEventBrokerException
Copyright © 2018 WSO2. All rights reserved.