mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +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
|
@Override
|
||||||
public void init()
|
public void init()
|
||||||
{
|
{
|
||||||
super.init();
|
if (this instanceof RecordsManagementAction == false)
|
||||||
|
{
|
||||||
|
super.init();
|
||||||
|
}
|
||||||
|
|
||||||
if (auditable == true)
|
if (auditable == true)
|
||||||
{
|
{
|
||||||
|
@@ -76,6 +76,7 @@ public interface RecordsManagementAction
|
|||||||
public NodeRef getImplicitTargetNodeRef();
|
public NodeRef getImplicitTargetNodeRef();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Get the records management action definition.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
@@ -83,6 +84,7 @@ public interface RecordsManagementAction
|
|||||||
public RecordsManagementActionDefinition getRecordsManagementActionDefinition();
|
public RecordsManagementActionDefinition getRecordsManagementActionDefinition();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Indicates whether the action is public or not
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
|
@@ -82,10 +82,8 @@ public class RMActionProxyFactoryBean extends ProxyFactoryBean
|
|||||||
{
|
{
|
||||||
public Void doWork() throws Exception
|
public Void doWork() throws Exception
|
||||||
{
|
{
|
||||||
RecordsManagementAction action = (RecordsManagementAction)getObject();
|
RecordsManagementAction action = (RecordsManagementAction)getObject();
|
||||||
|
|
||||||
recordsManagementActionService.register(action);
|
recordsManagementActionService.register(action);
|
||||||
// recordsManagementAuditService.registerActionAuditEvent(action);
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user