public class

WebPrivilegeHelper

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.WebPrivilegeHelper

Class Overview

This class is used to easily retrieve the localized name and description of a privilege from its enumeration in EnumDSSXMLPrivilegeTypes

Summary

Public Constructors
WebPrivilegeHelper()
Public Methods
static String getDescription(Locale locale, int privilegeType)
Returns the localized description of a privilege by its enumeration
static String getName(Locale locale, int privilegeType)
Returns the localized name of a privilege by its enumeration
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WebPrivilegeHelper ()

Public Methods

public static String getDescription (Locale locale, int privilegeType)

Returns the localized description of a privilege by its enumeration

Parameters
locale Locale used to localize privilege name
privilegeType int from EnumDSSXMLPrivilegeTypes
Returns
  • String containing localized privilege description

public static String getName (Locale locale, int privilegeType)

Returns the localized name of a privilege by its enumeration

Parameters
locale Locale used to localize privilege name
privilegeType int from EnumDSSXMLPrivilegeTypes
Returns
  • String containing localized privilege name