|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.CubeAccess
public class CubeAccess
This class implements object of type GrantCube to apply permissions on user's MDX query
Constructor Summary | |
---|---|
CubeAccess(Cube mdxCube)
Creates a CubeAccess object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.
Method Detail |
---|
public boolean hasRestrictions()
public Hierarchy[] getNoAccessHierarchies()
public Member[] getLimitedMembers()
public List<Hierarchy> getNoAccessHierarchyList()
public List<Member> getLimitedMemberList()
public boolean isHierarchyAllowed(Hierarchy mdxHierarchy)
public Member getLimitedMemberForHierarchy(Hierarchy mdxHierarchy)
public void addGrantCubeSlicer(String sHierarchy, String sMember, boolean bMember)
public void normalizeCubeAccess()
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |