public abstract class BaseGraphPolicyAdjuster
extends ome.services.graphs.GraphPolicy
コンストラクタと説明 |
---|
BaseGraphPolicyAdjuster(ome.services.graphs.GraphPolicy graphPolicy)
Construct a new graph policy adjuster.
|
修飾子とタイプ | メソッドと説明 |
---|---|
ome.services.graphs.GraphPolicy |
getCleanInstance() |
protected boolean |
isAdjustedAfterReview(ome.services.graphs.GraphPolicy.Details object)
An opportunity to adjust each model object after the graph policy reviews it.
|
protected boolean |
isAdjustedBeforeReview(ome.services.graphs.GraphPolicy.Details object)
An opportunity to adjust each model object before the graph policy reviews it.
|
boolean |
isCondition(java.lang.String name) |
void |
noteDetails(org.hibernate.Session session,
ome.model.IObject object,
java.lang.String realClass,
long id) |
void |
registerPredicate(ome.services.graphs.GraphPolicyRulePredicate predicate) |
java.util.Set<ome.services.graphs.GraphPolicy.Details> |
review(java.util.Map<java.lang.String,java.util.Set<ome.services.graphs.GraphPolicy.Details>> linkedFrom,
ome.services.graphs.GraphPolicy.Details rootObject,
java.util.Map<java.lang.String,java.util.Set<ome.services.graphs.GraphPolicy.Details>> linkedTo,
java.util.Set<java.lang.String> notNullable,
boolean isErrorRules) |
void |
setCondition(java.lang.String name) |
public BaseGraphPolicyAdjuster(ome.services.graphs.GraphPolicy graphPolicy)
graphPolicy
- the graph policy that is to be adjustedprotected boolean isAdjustedBeforeReview(ome.services.graphs.GraphPolicy.Details object)
object
- the model object before reviewprotected boolean isAdjustedAfterReview(ome.services.graphs.GraphPolicy.Details object)
object
- the model object after reviewpublic void registerPredicate(ome.services.graphs.GraphPolicyRulePredicate predicate)
registerPredicate
クラス内 ome.services.graphs.GraphPolicy
public ome.services.graphs.GraphPolicy getCleanInstance()
getCleanInstance
クラス内 ome.services.graphs.GraphPolicy
public void setCondition(java.lang.String name)
setCondition
クラス内 ome.services.graphs.GraphPolicy
public boolean isCondition(java.lang.String name)
isCondition
クラス内 ome.services.graphs.GraphPolicy
public void noteDetails(org.hibernate.Session session, ome.model.IObject object, java.lang.String realClass, long id)
noteDetails
クラス内 ome.services.graphs.GraphPolicy
public final java.util.Set<ome.services.graphs.GraphPolicy.Details> review(java.util.Map<java.lang.String,java.util.Set<ome.services.graphs.GraphPolicy.Details>> linkedFrom, ome.services.graphs.GraphPolicy.Details rootObject, java.util.Map<java.lang.String,java.util.Set<ome.services.graphs.GraphPolicy.Details>> linkedTo, java.util.Set<java.lang.String> notNullable, boolean isErrorRules) throws ome.services.graphs.GraphException
review
クラス内 ome.services.graphs.GraphPolicy
ome.services.graphs.GraphException