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:
parent
671c6214c4
commit
6695832257
8 changed files with 461 additions and 279 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue