mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-775: rmscript action appears in collaboration site rule UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54800 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -64,7 +64,10 @@ public abstract class AuditableActionExecuterAbstractBase extends ActionExecuter
|
||||
@Override
|
||||
public void init()
|
||||
{
|
||||
super.init();
|
||||
if (this instanceof RecordsManagementAction == false)
|
||||
{
|
||||
super.init();
|
||||
}
|
||||
|
||||
if (auditable == true)
|
||||
{
|
||||
|
@@ -76,6 +76,7 @@ public interface RecordsManagementAction
|
||||
public NodeRef getImplicitTargetNodeRef();
|
||||
|
||||
/**
|
||||
* Get the records management action definition.
|
||||
*
|
||||
* @return
|
||||
* @since 2.1
|
||||
@@ -83,6 +84,7 @@ public interface RecordsManagementAction
|
||||
public RecordsManagementActionDefinition getRecordsManagementActionDefinition();
|
||||
|
||||
/**
|
||||
* Indicates whether the action is public or not
|
||||
*
|
||||
* @return
|
||||
* @since 2.1
|
||||
|
@@ -82,10 +82,8 @@ public class RMActionProxyFactoryBean extends ProxyFactoryBean
|
||||
{
|
||||
public Void doWork() throws Exception
|
||||
{
|
||||
RecordsManagementAction action = (RecordsManagementAction)getObject();
|
||||
|
||||
RecordsManagementAction action = (RecordsManagementAction)getObject();
|
||||
recordsManagementActionService.register(action);
|
||||
// recordsManagementAuditService.registerActionAuditEvent(action);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user