|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Role
A Role
is a collection of access rights to cubes, permissions,
and so forth.
At present, the only way to create a role is programmatically. You then add appropriate permissions, and associate the role with a connection. Queries executed for the duration of the connection will b.
Mondrian does not have any notion of a 'user'. It is the client application's responsibility to create a role appropriate for the user who is establishing the connection.
Nested Class Summary | |
---|---|
static interface |
Role.HierarchyAccess
Represents the access that a role has to a particular hierarchy. |
static class |
Role.RollupPolicy
Enumeration of the policies by which a cell is calculated if children of a member are not accessible. |
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. |
Method Detail |
---|
Access getAccess(Schema schema)
Access getAccess(Cube cube)
Access getAccess(Dimension dimension)
Access getAccess(Hierarchy hierarchy)
Role.HierarchyAccess getAccessDetails(Hierarchy hierarchy)
Access getAccess(Level level)
Access getAccess(Member member)
Access getAccess(NamedSet set)
boolean canAccess(OlapElement olapElement)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |