NIHVIVO-3404 Restructure the SelfEditorRelationshipPolicy to use the model in the RequestedAction, instead of a model assigned at system startup time. Also, break out the logic into separate RelationshipChecker objects, for easier maintenance.

This commit is contained in:
j2blake 2012-04-03 16:13:38 +00:00
parent 671c6214c4
commit 6695832257
8 changed files with 461 additions and 279 deletions

View file

@ -122,7 +122,7 @@ public class SelfEditorRelationshipPolicyTest extends AbstractTestClass {
.getInstance(new String[] { NS_RESTRICTED });
PropertyRestrictionPolicyHelper.setBean(ctx, prph);
policy = new SelfEditorRelationshipPolicy(ctx, ontModel);
policy = new SelfEditorRelationshipPolicy(ctx);
}
private IdentifierBundle idNobody;