|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.semarchy.mdm.runtime.model.logical.LogicalModelAuthorizations
public final class LogicalModelAuthorizations
Represents the authorizations related to a IModel
for a set of roles.
Field Summary | |
---|---|
protected org.slf4j.Logger |
logger
|
Method Summary | |
---|---|
static LogicalModelAuthorizations |
createLogicalModelAuthorizations(IModel model,
Set<String> platformRoles)
Creates a new LogicalModelAuthorizations |
AttributeAuthorization |
getAttributeAuthorization(IAttribute attribute)
Get the authorizations for a given attribute |
EntityAuthorization |
getEntityAuthorization(IEntity entity)
Get the authorizations for a given entity. |
Set<String> |
getRoleNames()
Return the list of role names for which this LogicalModelAuthorizations has been built. |
boolean |
isDataAdmin()
Return true if any of the set of roles is DataAdmin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.slf4j.Logger logger
Method Detail |
---|
public static LogicalModelAuthorizations createLogicalModelAuthorizations(IModel model, Set<String> platformRoles)
LogicalModelAuthorizations
model
- platformRoles
-
public Set<String> getRoleNames()
LogicalModelAuthorizations
has been built.
Caller should generally rely on more specific methods to check
authorizations.
public boolean isDataAdmin()
public EntityAuthorization getEntityAuthorization(IEntity entity)
entity
-
public AttributeAuthorization getAttributeAuthorization(IAttribute attribute)
attribute
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |