class UnionRoleImpl extends Object implements Role
Role
which combines the privileges of several
roles and has the superset of their privileges.RoleImpl.union(java.util.List)
Role.HierarchyAccess, Role.RollupPolicy
Constructor and Description |
---|
UnionRoleImpl(List<Role> roleList)
Creates a UnionRoleImpl.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public Access getAccess(Schema schema)
Role
public Access getAccess(Cube cube)
Role
public Access getAccess(Dimension dimension)
Role
public Access getAccess(Hierarchy hierarchy)
Role
public Role.HierarchyAccess getAccessDetails(Hierarchy hierarchy)
Role
getAccessDetails
in interface Role
public Access getAccess(Level level)
Role
public Access getAccess(Member member)
Role
public Access getAccess(NamedSet set)
Role
public boolean canAccess(OlapElement olapElement)
Role