mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merging DEV_TEMPORARY to HEAD (RenditionService)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -98,7 +98,7 @@ public abstract class ActionExecuterAbstractBase extends ParameterizedItemAbstra
|
||||
{
|
||||
if (this.actionDefinition == null)
|
||||
{
|
||||
this.actionDefinition = new ActionDefinitionImpl(this.name);
|
||||
this.actionDefinition = createActionDefinition(this.name);
|
||||
((ActionDefinitionImpl)this.actionDefinition).setTitleKey(getTitleKey());
|
||||
((ActionDefinitionImpl)this.actionDefinition).setDescriptionKey(getDescriptionKey());
|
||||
((ActionDefinitionImpl)this.actionDefinition).setAdhocPropertiesAllowed(getAdhocPropertiesAllowed());
|
||||
@@ -109,6 +109,18 @@ public abstract class ActionExecuterAbstractBase extends ParameterizedItemAbstra
|
||||
return this.actionDefinition;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method returns an instance of an ActionDefinition implementation class. By default
|
||||
* this will be an {@link ActionDefinitionImpl}, but this could be overridden.
|
||||
*
|
||||
* @param name
|
||||
* @return
|
||||
*/
|
||||
protected ActionDefinition createActionDefinition(String name)
|
||||
{
|
||||
return new ActionDefinitionImpl(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.action.executer.ActionExecuter#execute(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.cmr.repository.NodeRef)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user