org.wso2.carbon.event.admin.internal
Class TopicManagerAdminService

java.lang.Object
  extended by org.wso2.carbon.event.admin.internal.TopicManagerAdminService

public class TopicManagerAdminService
extends Object


Constructor Summary
TopicManagerAdminService()
           
 
Method Summary
 void addTopic(String topic)
           
 org.wso2.carbon.event.core.topic.TopicNode getAllTopics()
           
 int getAllWSSubscriptionCountForTopic(String topic)
           
 Subscription[] getAllWSSubscriptionsForTopic(String topic, int startingIndex, int maxSubscriptionCount)
           
 Subscription[] getJMSSubscriptionsForTopic(String topic)
           
 org.wso2.carbon.event.core.topic.TopicRolePermission[] getTopicRolePermissions(String topic)
           
 String[] getUserRoles()
           
 Subscription[] getWsSubscriptionsForTopic(String topic)
           
 boolean removeTopic(String topic)
           
 void updatePermission(String topic, org.wso2.carbon.event.core.topic.TopicRolePermission[] topicRolePermissions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicManagerAdminService

public TopicManagerAdminService()
Method Detail

getAllTopics

public org.wso2.carbon.event.core.topic.TopicNode getAllTopics()
                                                        throws EventAdminException
Throws:
EventAdminException

getTopicRolePermissions

public org.wso2.carbon.event.core.topic.TopicRolePermission[] getTopicRolePermissions(String topic)
                                                                               throws EventAdminException
Throws:
EventAdminException

addTopic

public void addTopic(String topic)
              throws EventAdminException
Throws:
EventAdminException

updatePermission

public void updatePermission(String topic,
                             org.wso2.carbon.event.core.topic.TopicRolePermission[] topicRolePermissions)
                      throws EventAdminException
Throws:
EventAdminException

getAllWSSubscriptionsForTopic

public Subscription[] getAllWSSubscriptionsForTopic(String topic,
                                                    int startingIndex,
                                                    int maxSubscriptionCount)
                                             throws EventAdminException
Throws:
EventAdminException

getWsSubscriptionsForTopic

public Subscription[] getWsSubscriptionsForTopic(String topic)
                                          throws EventAdminException
Throws:
EventAdminException

getAllWSSubscriptionCountForTopic

public int getAllWSSubscriptionCountForTopic(String topic)
                                      throws EventAdminException
Throws:
EventAdminException

getJMSSubscriptionsForTopic

public Subscription[] getJMSSubscriptionsForTopic(String topic)
                                           throws EventAdminException
Throws:
EventAdminException

getUserRoles

public String[] getUserRoles()
                      throws EventAdminException
Throws:
EventAdminException

removeTopic

public boolean removeTopic(String topic)
                    throws EventAdminException
Throws:
EventAdminException


Copyright © 2015 WSO2. All rights reserved.