public class CubeAccess extends Object
Constructor and Description |
---|
CubeAccess(Cube mdxCube)
Creates a CubeAccess object.
|
Modifier and Type | Method and Description |
---|---|
void |
addGrantCubeSlicer(String sHierarchy,
String sMember,
boolean bMember)
Adds restricted hierarchy or limited member based on bMember
|
boolean |
equals(Object object) |
Member |
getLimitedMemberForHierarchy(Hierarchy mdxHierarchy) |
List<Member> |
getLimitedMemberList() |
Member[] |
getLimitedMembers() |
Hierarchy[] |
getNoAccessHierarchies() |
List<Hierarchy> |
getNoAccessHierarchyList() |
int |
hashCode() |
boolean |
hasRestrictions() |
boolean |
isHierarchyAllowed(Hierarchy mdxHierarchy) |
void |
normalizeCubeAccess()
Initializes internal arrays of restricted hierarchies and limited
members.
|
public CubeAccess(Cube mdxCube)
User's code should be responsible for
filling cubeAccess with restricted hierarchies and restricted
members by calling addSlicer(). Do NOT forget to call
normalizeCubeAccess()
after you done filling cubeAccess.
public boolean hasRestrictions()
public Hierarchy[] getNoAccessHierarchies()
public Member[] getLimitedMembers()
public boolean isHierarchyAllowed(Hierarchy mdxHierarchy)
public void addGrantCubeSlicer(String sHierarchy, String sMember, boolean bMember)
public void normalizeCubeAccess()
Copyright © 2020 Hitachi Vantara. All rights reserved.