|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.UnionRoleImpl
class UnionRoleImpl
Implementation of Role
which combines the privileges of several
roles and has the superset of their privileges.
RoleImpl.union(java.util.List)
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface mondrian.olap.Role |
---|
Role.HierarchyAccess, Role.RollupPolicy |
Constructor Summary | |
---|---|
UnionRoleImpl(List<Role> roleList)
Creates a UnionRoleImpl. |
Method Summary | |
---|---|
boolean |
canAccess(OlapElement olapElement)
Returns whether this role is allowed to see a given element. |
Access |
getAccess(Cube cube)
Returns the access this role has to a given cube. |
Access |
getAccess(Dimension dimension)
Returns the access this role has to a given dimension. |
Access |
getAccess(Hierarchy hierarchy)
Returns the access this role has to a given hierarchy. |
Access |
getAccess(Level level)
Returns the access this role has to a given level. |
Access |
getAccess(Member member)
Returns the access this role has to a given member. |
Access |
getAccess(NamedSet set)
Returns the access this role has to a given named set. |
Access |
getAccess(Schema schema)
Returns the access this role has to a given schema. |
Role.HierarchyAccess |
getAccessDetails(Hierarchy hierarchy)
Returns the details of this hierarchy's access, or null if the hierarchy has not been given explicit access. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
UnionRoleImpl(List<Role> roleList)
roleList
- List of constituent rolesMethod Detail |
---|
public Access getAccess(Schema schema)
Role
getAccess
in interface Role
public Access getAccess(Cube cube)
Role
getAccess
in interface Role
public Access getAccess(Dimension dimension)
Role
getAccess
in interface Role
public Access getAccess(Hierarchy hierarchy)
Role
getAccess
in interface Role
public Role.HierarchyAccess getAccessDetails(Hierarchy hierarchy)
Role
getAccessDetails
in interface Role
public Access getAccess(Level level)
Role
getAccess
in interface Role
public Access getAccess(Member member)
Role
getAccess
in interface Role
public Access getAccess(NamedSet set)
Role
getAccess
in interface Role
public boolean canAccess(OlapElement olapElement)
Role
canAccess
in interface Role
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |