public class

IPAPrivileges

extends Object
implements EnumDSSXMLPrivilegeTypes
java.lang.Object
   ↳ com.microstrategy.web.ipa.IPAPrivileges

Class Overview

singleton class. and the class is stateless

Summary

Constants
String AC_EDIT
String AC_VIEW
[Expand]
Inherited Constants
From interface com.microstrategy.webapi.EnumDSSXMLPrivilegeTypes
Fields
public static final Map<String, IPAPrivileges.Privileges> CNTR_PLGS
public static final Map<String, IPAPrivileges.Privileges> MGR_PLGS
public static final Map<String, IPAPrivileges.Privileges> MNT_PLGS
Public Methods
Block getAccessForEnv(IPASessionManager lSessionManager, String envid, Block iBlock)
get access for one environment json format: {'FD98D82113BBE09D97E9021102400115':{pam:{view:1,edit:0},jm:{view:1,edit:0}}@return
Block getAllAccesses(IPASessionManager lSessionManager)
get accesses for all environments json format {'FD98D82113BBE09D97E9021102400115':{pam:{view:1,edit:0},jm:{view:1,edit:0}}, 'FD98D82113BBE09D97E9021102400115':{pam:{view:1,edit:0},jm:{view:1,edit:0}}} @return
static IPAPrivileges getInstance()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String AC_EDIT

Constant Value: "edit"

public static final String AC_VIEW

Constant Value: "view"

Fields

public static final Map<String, IPAPrivileges.Privileges> CNTR_PLGS

public static final Map<String, IPAPrivileges.Privileges> MGR_PLGS

public static final Map<String, IPAPrivileges.Privileges> MNT_PLGS

Public Methods

public Block getAccessForEnv (IPASessionManager lSessionManager, String envid, Block iBlock)

get access for one environment json format: {'FD98D82113BBE09D97E9021102400115':{pam:{view:1,edit:0},jm:{view:1,edit:0}}@return

Throws
Exception

public Block getAllAccesses (IPASessionManager lSessionManager)

get accesses for all environments json format {'FD98D82113BBE09D97E9021102400115':{pam:{view:1,edit:0},jm:{view:1,edit:0}}, 'FD98D82113BBE09D97E9021102400115':{pam:{view:1,edit:0},jm:{view:1,edit:0}}} @return

Throws
IOException

public static IPAPrivileges getInstance ()