Package com.microstrategy.web.objects
Class WebSecurityRolePrivilegeCategoriesImpl
- java.lang.Object
-
- com.microstrategy.web.objects.WebSecurityRolePrivilegeCategoriesImpl
-
- All Implemented Interfaces:
WebPrivilegeCategories
public class WebSecurityRolePrivilegeCategoriesImpl extends java.lang.Object- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayListcategoryListprotected java.util.ResourceBundlecategoryResBundleprotected WebObjectsFactoryfactoryprotected WebPrivilegesfullPrivsprotected int[][]privilegesPerTypeprotected java.lang.String[]privilegeTypeNameKeysprotected WebEditablePrivilegesprivsprotected int[]typeValues
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebPrivilegeCategoryget(int index)Returns the item at the given index in the collection.WebPrivilegeCategorygetItemByType(int type)Returns the item in the collection with the given category type.int[]getTypesAvailable()Returns the list of types available in the collection.protected voidinit()intsize()Returns the number of items in the collection.
-
-
-
Field Detail
-
factory
protected WebObjectsFactory factory
-
typeValues
protected int[] typeValues
-
privilegesPerType
protected int[][] privilegesPerType
-
categoryResBundle
protected java.util.ResourceBundle categoryResBundle
-
categoryList
protected java.util.ArrayList categoryList
-
privs
protected WebEditablePrivileges privs
-
fullPrivs
protected WebPrivileges fullPrivs
-
privilegeTypeNameKeys
protected java.lang.String[] privilegeTypeNameKeys
-
-
Method Detail
-
init
protected void init() throws WebObjectsException- Throws:
WebObjectsException
-
size
public int size()
Description copied from interface:WebPrivilegeCategoriesReturns the number of items in the collection.- Specified by:
sizein interfaceWebPrivilegeCategories- Returns:
- The size of the collection.
-
get
public WebPrivilegeCategory get(int index)
Description copied from interface:WebPrivilegeCategoriesReturns the item at the given index in the collection.- Specified by:
getin interfaceWebPrivilegeCategories- Parameters:
index- The index of the item in the collection.- Returns:
- A
WebPrivilegeCategoryobject with the given index.
-
getItemByType
public WebPrivilegeCategory getItemByType(int type)
Description copied from interface:WebPrivilegeCategoriesReturns the item in the collection with the given category type.- Specified by:
getItemByTypein interfaceWebPrivilegeCategories- Parameters:
type- The category type to retrieve.- Returns:
- The
WebPrivilegeCategoryrepresenting the given category type.
-
getTypesAvailable
public int[] getTypesAvailable()
Description copied from interface:WebPrivilegeCategoriesReturns the list of types available in the collection.- Specified by:
getTypesAvailablein interfaceWebPrivilegeCategories- Returns:
- An int array containing the list of types in the collection.
-
-