RM: Policy refactor

* moved policy implementations out of RMEntryVoter and into separate classes
 * rather than being a hard coded list, policies are now registered via spring allowing others to be easily added
 * re-arrange some of the support implementation
 * RMEntryVoter is now significantly smaller and most of the logic that was once encapsulated in here is spread over supporting classes and services
 * TODO .. need to review policies and determine which are appropraite .. much easier to do now!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48815 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2013-04-04 00:09:06 +00:00
parent 13d4f3f576
commit 05a40e014d
23 changed files with 1146 additions and 757 deletions

View File

@@ -178,7 +178,7 @@ public class CapabilityServiceImplTest extends BaseRMTestCase
assertNotNull(vitalRecordCapabilities);
vitalRecordCapabilitiesSize = vitalRecordCapabilities.size();
assertEquals(1, vitalRecordCapabilitiesSize);
assertTrue(vitalRecordCapabilitiesSize > 0);
return null;
}