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.ArrayList
categoryList
protected java.util.ResourceBundle
categoryResBundle
protected WebObjectsFactory
factory
protected WebPrivileges
fullPrivs
protected int[][]
privilegesPerType
protected java.lang.String[]
privilegeTypeNameKeys
protected WebEditablePrivileges
privs
protected int[]
typeValues
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebPrivilegeCategory
get(int index)
Returns the item at the given index in the collection.WebPrivilegeCategory
getItemByType(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 void
init()
int
size()
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:WebPrivilegeCategories
Returns the number of items in the collection.- Specified by:
size
in interfaceWebPrivilegeCategories
- Returns:
- The size of the collection.
-
get
public WebPrivilegeCategory get(int index)
Description copied from interface:WebPrivilegeCategories
Returns the item at the given index in the collection.- Specified by:
get
in interfaceWebPrivilegeCategories
- Parameters:
index
- The index of the item in the collection.- Returns:
- A
WebPrivilegeCategory
object with the given index.
-
getItemByType
public WebPrivilegeCategory getItemByType(int type)
Description copied from interface:WebPrivilegeCategories
Returns the item in the collection with the given category type.- Specified by:
getItemByType
in interfaceWebPrivilegeCategories
- Parameters:
type
- The category type to retrieve.- Returns:
- The
WebPrivilegeCategory
representing the given category type.
-
getTypesAvailable
public int[] getTypesAvailable()
Description copied from interface:WebPrivilegeCategories
Returns the list of types available in the collection.- Specified by:
getTypesAvailable
in interfaceWebPrivilegeCategories
- Returns:
- An int array containing the list of types in the collection.
-
-