Package org.wso2.carbon.event.ui
Class UIUtils
java.lang.Object
org.wso2.carbon.event.ui.UIUtils
Deprecated.
This class is used by the UI to connect to services and provides utilities. Used by JSP pages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.wso2.carbon.event.client.broker.BrokerClientgetBrokerClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletRequest request) Deprecated.Gets the broker client for EventBrokerService Suppressing warning of unused declaration as it used by the UI (JSP pages)static ArrayList<org.wso2.carbon.event.stub.internal.xsd.TopicRolePermission> getFilteredRoleList(ArrayList<org.wso2.carbon.event.stub.internal.xsd.TopicRolePermission> fullList, int startingIndex, int maxRolesCount) Deprecated.Filter the full user-roles list to suit the range.static StringgetSubscriptionMode(String serverMode) Deprecated.Gets subscription mode description.
-
Constructor Details
-
UIUtils
public UIUtils()Deprecated.
-
-
Method Details
-
getBrokerClient
public static org.wso2.carbon.event.client.broker.BrokerClient getBrokerClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletRequest request) Deprecated.Gets the broker client for EventBrokerService Suppressing warning of unused declaration as it used by the UI (JSP pages)- Parameters:
config- the servlet configurationsession- the http sessionrequest- the http servlet request- Returns:
- the broker client
-
getSubscriptionMode
Deprecated.Gets subscription mode description. Suppressing warning of unused declaration as it used by the UI (JSP pages)- Parameters:
serverMode- subscription mode- Returns:
- subscription mode description
-
getFilteredRoleList
public static ArrayList<org.wso2.carbon.event.stub.internal.xsd.TopicRolePermission> getFilteredRoleList(ArrayList<org.wso2.carbon.event.stub.internal.xsd.TopicRolePermission> fullList, int startingIndex, int maxRolesCount) Deprecated.Filter the full user-roles list to suit the range. Suppressing warning of unused declaration as it used by the UI (JSP pages)- Parameters:
fullList- full list of rolesstartingIndex- starting index to filtermaxRolesCount- maximum number of roles that the filtered list can contain- Returns:
- ArrayList
-