|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.DelegatingRole.DelegatingHierarchyAccess
public static class DelegatingRole.DelegatingHierarchyAccess
Field Summary | |
---|---|
protected Role.HierarchyAccess |
hierarchyAccess
|
Constructor Summary | |
---|---|
DelegatingRole.DelegatingHierarchyAccess(Role.HierarchyAccess hierarchyAccess)
|
Method Summary | |
---|---|
Access |
getAccess(Member member)
Returns the access the current role has to a given member. |
int |
getBottomLevelDepth()
Returns the depth of the lowest level to which the current Role has access. |
Role.RollupPolicy |
getRollupPolicy()
Returns the policy by which cell values are calculated if not all of a member's children are visible. |
int |
getTopLevelDepth()
Returns the depth of the highest level to which the current Role has access. |
boolean |
hasInaccessibleDescendants(Member member)
Returns true if at least one of the descendants of the
given Member is inaccessible to this Role. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Role.HierarchyAccess hierarchyAccess
Constructor Detail |
---|
public DelegatingRole.DelegatingHierarchyAccess(Role.HierarchyAccess hierarchyAccess)
Method Detail |
---|
public Access getAccess(Member member)
Role.HierarchyAccess
Visibility is:
Access.NONE
if member is not visible,
Access.ALL
if member and all children are visible,
Access.CUSTOM
if some of the children are not visible.
For these purposes, children which are below the bottom level are regarded as visible.
getAccess
in interface Role.HierarchyAccess
member
- Member
public int getTopLevelDepth()
Role.HierarchyAccess
getTopLevelDepth
in interface Role.HierarchyAccess
public int getBottomLevelDepth()
Role.HierarchyAccess
getBottomLevelDepth
in interface Role.HierarchyAccess
public Role.RollupPolicy getRollupPolicy()
Role.HierarchyAccess
getRollupPolicy
in interface Role.HierarchyAccess
public boolean hasInaccessibleDescendants(Member member)
Role.HierarchyAccess
true
if at least one of the descendants of the
given Member is inaccessible to this Role.
Descendants which are inaccessible because they are below the bottom level are ignored.
hasInaccessibleDescendants
in interface Role.HierarchyAccess
member
- Member
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |