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
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    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 String
    Deprecated.
    Gets subscription mode description.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 configuration
      session - the http session
      request - 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 roles
      startingIndex - starting index to filter
      maxRolesCount - maximum number of roles that the filtered list can contain
      Returns:
      ArrayList