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
actionAccessRestrictions, 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected org.springframework.context.ApplicationContext
void
init()
protected boolean
protected boolean
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, getActionAccessRestrictions, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, isApplicableType, onLogException, setActionAccessRestrictions, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus, verifyActionAccessRestrictions
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
-
Constructor Details
-
AuditableActionExecuterAbstractBase
public AuditableActionExecuterAbstractBase()
-
-
Method Details
-
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:
-
execute
- Specified by:
execute
in interfaceActionExecuter
- Overrides:
execute
in classActionExecuterAbstractBase
- See Also:
-