RM-694 A records manager has the following list of available rule conditions

More check-in for bug fixes from developer test.

* Fixed issues for "Has Disposition Action", "Is Kind" and "Is Record Type".
* Added transaction or security context around the contents in RecordsManagementActionConditionEvaluatorAbstractBase.init() so that action conditions can use RecordsManagementActionService (the capitalised one) in Spring config.
* Removed "File Plan" from Is Kind action condition dropdown list selection.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Craig Tan
2013-07-02 00:35:23 +00:00
parent 1e4c4b1c90
commit 4500028a1c
5 changed files with 84 additions and 44 deletions

View File

@@ -16,7 +16,6 @@
<bean id="rm-ac-is-kind-kinds" class="org.alfresco.module.org_alfresco_module_rm.action.constraint.CustomParameterConstraint" parent="action-constraint">
<property name="parameterValues">
<list>
<value>FILE_PLAN</value>
<value>RECORD_CATEGORY</value>
<value>RECORD_FOLDER</value>
<value>RECORD</value>
@@ -61,27 +60,31 @@
parent="action-condition-evaluator"
abstract="true"
class="org.alfresco.module.org_alfresco_module_rm.action.evaluator.CapabilityConditionEvaluator">
<property name="recordsManagementActionService" ref="recordsManagementActionService" />
<property name="recordsManagementActionService" ref="RecordsManagementActionService" />
<property name="retryingTransactionHelper" ref="retryingTransactionHelper" />
</bean>
<bean id="isKind"
parent="action-condition-evaluator"
class="org.alfresco.module.org_alfresco_module_rm.action.evaluator.IsKindEvaluator">
<property name="recordsManagementActionService" ref="recordsManagementActionService" />
<property name="recordsManagementActionService" ref="RecordsManagementActionService" />
<property name="retryingTransactionHelper" ref="retryingTransactionHelper" />
<property name="recordsManagementService" ref="RecordsManagementService" />
</bean>
<bean id="hasDispositionAction"
parent="action-condition-evaluator"
class="org.alfresco.module.org_alfresco_module_rm.action.evaluator.HasDispositionActionEvaluator">
<property name="recordsManagementActionService" ref="recordsManagementActionService" />
<property name="recordsManagementActionService" ref="RecordsManagementActionService" />
<property name="retryingTransactionHelper" ref="retryingTransactionHelper" />
<property name="dispositionService" ref="DispositionService" />
</bean>
<bean id="isRecordType"
parent="action-condition-evaluator"
class="org.alfresco.module.org_alfresco_module_rm.action.evaluator.IsRecordTypeEvaluator">
<property name="recordsManagementActionService" ref="recordsManagementActionService" />
<property name="recordsManagementActionService" ref="RecordsManagementActionService" />
<property name="retryingTransactionHelper" ref="retryingTransactionHelper" />
<property name="nodeService" ref="NodeService" />
</bean>