Class AuditableActionExecuterAbstractBase
- java.lang.Object
-
- org.alfresco.repo.action.CommonResourceAbstractBase
-
- org.alfresco.repo.action.ParameterizedItemAbstractBase
-
- org.alfresco.repo.action.executer.ActionExecuterAbstractBase
-
- org.alfresco.module.org_alfresco_module_rm.action.AuditableActionExecuterAbstractBase
-
- All Implemented Interfaces:
ActionExecuter
,LoggingAwareExecuter
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
CreateRecordAction
,DeclareAsVersionRecordAction
,HideRecordAction
,MoveDmRecordAction
,PropertySubActionExecuterAbstractBase
public abstract class AuditableActionExecuterAbstractBase extends ActionExecuterAbstractBase implements org.springframework.context.ApplicationContextAware
Auditable action executer abstract base- Since:
- 2.1
- Author:
- Roy Wetherall
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionDefinition, applicableTypes, publicAction
-
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
-
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
name
-
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT
-
-
Constructor Summary
Constructors Constructor Description AuditableActionExecuterAbstractBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Action action, NodeRef actionedUponNodeRef)
protected org.springframework.context.ApplicationContext
getApplicationContext()
void
init()
protected boolean
isAuditable()
protected boolean
isAuditedImmediately()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setAuditable(boolean auditable)
void
setAuditedImmediately(boolean auditedImmediately)
-
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, executeImpl, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
-
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
addParameterDefinitions, checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
-
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.alfresco.repo.action.executer.ActionExecuter
isExecuteAsynchronously
-
-
-
-
Method Detail
-
isAuditable
protected boolean isAuditable()
- Returns:
- True if auditable, false otherwise
-
isAuditedImmediately
protected boolean isAuditedImmediately()
- Returns:
- True if audited immediately, false otherwise
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext()
- Returns:
- Application context
-
setAuditable
public void setAuditable(boolean auditable)
- Parameters:
auditable
- true if auditable, false otherwise
-
setAuditedImmediately
public void setAuditedImmediately(boolean auditedImmediately)
- Parameters:
auditedImmediately
- true if to be audited immediately, false to be audited after transaction commits
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- See Also:
ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)
-
init
public void init()
- Overrides:
init
in classActionExecuterAbstractBase
- See Also:
ActionExecuterAbstractBase.init()
-
execute
public void execute(Action action, NodeRef actionedUponNodeRef)
- Specified by:
execute
in interfaceActionExecuter
- Overrides:
execute
in classActionExecuterAbstractBase
- See Also:
ActionExecuterAbstractBase.execute(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
-
-