public class GroupPredicate extends java.lang.Object implements GraphPolicyRulePredicate
group=system and similar to be used in graph policy rule matches.| Constructor and Description |
|---|
GroupPredicate(ome.system.Roles securityRoles)
Construct a new group predicate.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
boolean |
isMatch(GraphPolicy.Details object,
java.lang.String parameter)
If this predicate is satisfied by the given object.
|
void |
noteDetails(org.hibernate.Session session,
ome.model.IObject object,
java.lang.String realClass,
long id)
Once this instance is submitted to
GraphPolicy.registerPredicate(GraphPolicyRulePredicate) then this method is called by
GraphPolicy.noteDetails(org.hibernate.Session, IObject, String, long). |
public GroupPredicate(ome.system.Roles securityRoles)
securityRoles - the security rolespublic java.lang.String getName()
getName in interface GraphPolicyRulePredicatepublic void noteDetails(org.hibernate.Session session,
ome.model.IObject object,
java.lang.String realClass,
long id)
GraphPolicyRulePredicateGraphPolicy.registerPredicate(GraphPolicyRulePredicate) then this method is called by
GraphPolicy.noteDetails(org.hibernate.Session, IObject, String, long).noteDetails in interface GraphPolicyRulePredicatesession - the Hibernate session, for obtaining more information about the objectobject - an unloaded model object that may satisfy this predicaterealClass - the real class name of the objectid - the ID of the objectpublic boolean isMatch(GraphPolicy.Details object, java.lang.String parameter) throws GraphException
GraphPolicyRulePredicateisMatch in interface GraphPolicyRulePredicateobject - a model objectparameter - the parameter that the object must matchGraphException - if the predicate could not be tested