public class UIUtils extends Object
Constructor and Description |
---|
UIUtils() |
Modifier and Type | Method and Description |
---|---|
static ArrayList<org.wso2.carbon.andes.event.stub.core.TopicRolePermission> |
getFilteredRoleList(ArrayList<org.wso2.carbon.andes.event.stub.core.TopicRolePermission> fullList,
int startingIndex,
int maxRolesCount)
Filter the full user-roles list to suit the range.
|
static String |
getSubscriptionMode(String serverMode)
Gets subscription mode description.
|
static String |
getTopicID(String topicName)
Get unique id for a topic
|
public static String getSubscriptionMode(String serverMode)
serverMode
- subscription modepublic static ArrayList<org.wso2.carbon.andes.event.stub.core.TopicRolePermission> getFilteredRoleList(ArrayList<org.wso2.carbon.andes.event.stub.core.TopicRolePermission> fullList, int startingIndex, int maxRolesCount)
fullList
- full list of rolesstartingIndex
- starting index to filtermaxRolesCount
- maximum number of roles that the filtered list can containCopyright © 2022 WSO2. All rights reserved.