RM-6645: Added DelegateAction beans for archive and restore glacier actions

- added actions in the rules page
- added actions definitions and title
This commit is contained in:
ehardon
2020-04-07 17:53:29 +03:00
parent 7f93695848
commit 9ef1db7005
2 changed files with 46 additions and 0 deletions

View File

@@ -46,6 +46,15 @@ isRecordType.description=Records have a specified record type
#
# i18n for Records Management Actions
#
# Archive
archiveAction.title=Archive to AWS Glacier
archiveAction.description=This marks the specified content to be transitioned to AWS Glacier.
# Restore
restoreAction.title=Restore from AWS Glacier
restoreAction.description=This marks the specified content to be temporary restored from AWS Glacier.
restoreAction.tier.display-label=Restoration tier
restoreAction.expiration-days.display-label=Expiration in days
# Declare As Record
create-record.title=Declare as Record
create-record.description=Declares file as a record and optionally files it

View File

@@ -1154,4 +1154,41 @@
<property name="auditable" value="false"/>
</bean>
<!-- Glacier Archive action -->
<bean id="archiveAction_proxy" class="org.alfresco.module.org_alfresco_module_rm.capability.RMActionProxyFactoryBean"
parent="rmProxyAction" lazy-init="true">
<property name="target">
<ref bean="archiveAction" />
</property>
<property name="interceptorNames">
<list>
<idref bean="allow_security" />
</list>
</property>
</bean>
<bean id="archiveAction" class="org.alfresco.module.org_alfresco_module_rm.action.impl.DelegateAction"
parent="rmAction" lazy-init="true">
<property name="publicAction" value="true" />
<property name="delegateAction" ref="archive" />
</bean>
<!-- Glacier Restore action -->
<bean id="restoreAction_proxy" class="org.alfresco.module.org_alfresco_module_rm.capability.RMActionProxyFactoryBean"
parent="rmProxyAction" lazy-init="true">
<property name="target">
<ref bean="restoreAction" />
</property>
<property name="interceptorNames">
<list>
<idref bean="allow_security" />
</list>
</property>
</bean>
<bean id="restoreAction" class="org.alfresco.module.org_alfresco_module_rm.action.impl.DelegateAction"
parent="rmAction" lazy-init="true">
<property name="publicAction" value="true" />
<property name="delegateAction" ref="restore" />
</bean>
</beans>