RM-1198 & RM-1199 - Added functionality for Copy-to and Move-to rule actions

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Hibbins
2014-03-27 10:53:58 +00:00
parent 5873b1a036
commit e8628059f8
8 changed files with 427 additions and 282 deletions

View File

@@ -79,6 +79,16 @@ fileTo.title=File to
fileTo.description=Files a record to the specified record folder.
fileTo.path.display-label=Path to Record Folder
fileTo.createRecordPath.display-label=Create Record Path
# Copy to
copyTo.title=Copy to
copyTo.description=Copies a record to the specified record folder.
copyTo.path.display-label=Path to Record Folder
copyTo.createRecordPath.display-label=Create Record Path
# Move to
moveTo.title=Move to
moveTo.description=Moves a record to the specified record folder.
moveTo.path.display-label=Path to Record Folder
moveTo.createRecordPath.display-label=Create Record Path
# Reject
reject.title=Reject
reject.description=Rejects a record and moves the document to its original location

View File

@@ -855,6 +855,62 @@
<property name="allowParameterSubstitutions" value="true"/>
</bean>
<!-- Copy To -->
<bean id="copyTo_proxy" parent="rmProxyAction">
<property name="target" ref="copyTo"/>
<property name="interceptorNames">
<list>
<idref bean="copyTo_security"/>
</list>
</property>
</bean>
<bean id="copyTo_security" class="org.alfresco.repo.security.permissions.impl.acegi.MethodSecurityInterceptor" parent="actionSecurity">
<property name="objectDefinitionSource">
<value>
org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction.execute=RM_CAP.0.rma:filePlanComponent.CreateModifyDestroyEvents
org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction.*=RM_ALLOW
org.alfresco.repo.action.executer.ActionExecuter.*=RM_ALLOW
</value>
</property>
</bean>
<bean id="copyTo" class="org.alfresco.module.org_alfresco_module_rm.action.impl.CopyToAction" parent="rmAction">
<property name="fileFolderService" ref="FileFolderService"/>
<property name="filePlanService" ref="FilePlanService" />
<property name="publicAction" value="true"/>
<property name="allowParameterSubstitutions" value="true"/>
</bean>
<!-- Move To -->
<bean id="moveTo_proxy" parent="rmProxyAction">
<property name="target" ref="moveTo"/>
<property name="interceptorNames">
<list>
<idref bean="moveTo_security"/>
</list>
</property>
</bean>
<bean id="moveTo_security" class="org.alfresco.repo.security.permissions.impl.acegi.MethodSecurityInterceptor" parent="actionSecurity">
<property name="objectDefinitionSource">
<value>
org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction.execute=RM_CAP.0.rma:filePlanComponent.CreateModifyDestroyEvents
org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction.*=RM_ALLOW
org.alfresco.repo.action.executer.ActionExecuter.*=RM_ALLOW
</value>
</property>
</bean>
<bean id="moveTo" class="org.alfresco.module.org_alfresco_module_rm.action.impl.MoveToAction" parent="rmAction">
<property name="fileFolderService" ref="FileFolderService"/>
<property name="filePlanService" ref="FilePlanService" />
<property name="publicAction" value="true"/>
<property name="allowParameterSubstitutions" value="true"/>
</bean>
<!-- RequestInfo action -->
<bean id="requestInfo_proxy" parent="rmProxyAction">