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, publicActionFields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionServiceFields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
nameFields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected org.springframework.context.ApplicationContextvoidinit()protected booleanprotected booleanvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetAuditable(boolean auditable) voidsetAuditedImmediately(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, verifyActionAccessRestrictionsMethods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
addParameterDefinitions, checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toStringMethods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- See Also:
-
ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)
-
init
public void init()- Overrides:
initin classActionExecuterAbstractBase- See Also:
-
execute
- Specified by:
executein interfaceActionExecuter- Overrides:
executein classActionExecuterAbstractBase- See Also:
-