Package org.wso2.carbon.event.ui
Class UIUtils
- java.lang.Object
-
- org.wso2.carbon.event.ui.UIUtils
-
@Deprecated public class UIUtils extends Object
Deprecated.This class is used by the UI to connect to services and provides utilities. Used by JSP pages.
-
-
Constructor Summary
Constructors Constructor Description UIUtils()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
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
public static String getSubscriptionMode(String serverMode)
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
-
-