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:
Roy Wetherall
2013-09-02 23:23:11 +00:00
parent 76880e4aa0
commit ea6e47bf1a
3 changed files with 7 additions and 4 deletions

View File

@@ -63,8 +63,11 @@ public abstract class AuditableActionExecuterAbstractBase extends ActionExecuter
@Override @Override
public void init() public void init()
{
if (this instanceof RecordsManagementAction == false)
{ {
super.init(); super.init();
}
if (auditable == true) if (auditable == true)
{ {

View File

@@ -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

View File

@@ -83,9 +83,7 @@ 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;
} }