|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.action.scheduled.AbstractTemplateActionDefinition
org.alfresco.repo.action.scheduled.SimpleTemplateActionDefinition
public class SimpleTemplateActionDefinition
This class defines the template used to build a single action. Because SPEL will eat ${foo} or #{foo} in the template when specified in the XML, this will also accept \$\{foo\} or \#\{foo\} as well.
Field Summary |
---|
Fields inherited from class org.alfresco.repo.action.scheduled.AbstractTemplateActionDefinition |
---|
actionService, compensatingTemplateActionDefinition, templateService |
Constructor Summary | |
---|---|
SimpleTemplateActionDefinition()
Simple constructor. |
Method Summary | |
---|---|
Action |
getAction(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Generate the action from the template using the context node. |
java.lang.String |
getActionName()
Get the name of the action. |
org.alfresco.service.cmr.dictionary.DictionaryService |
getDictionaryService()
Get the dictionary service. |
java.util.Map |
getParameterTemplates()
Get the templates that define the parameters for the action. |
TemplateActionModelFactory |
getTemplateActionModelFactory()
Get the template model factory. |
void |
setActionName(java.lang.String actionName)
Set the name of the action. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
ApplciationContextAware - get the application context. |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Set the dictionary service - IOC. |
void |
setParameterTemplates(java.util.Map parameterTemplates)
Set the map of parameters used by the template. |
void |
setTemplateActionModelFactory(TemplateActionModelFactory templateActionModelFactory)
Set the template model factory IOC. |
Methods inherited from class org.alfresco.repo.action.scheduled.AbstractTemplateActionDefinition |
---|
getActionService, getCompensatingTemplateCompositeActionDefinition, getTemplateService, setActionService, setCompensatingTemplateCompositeActionDefinition, setTemplateService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTemplateActionDefinition()
Method Detail |
---|
public TemplateActionModelFactory getTemplateActionModelFactory()
public void setTemplateActionModelFactory(TemplateActionModelFactory templateActionModelFactory)
templateActionModelFactory
- public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- public void setActionName(java.lang.String actionName)
actionName
- public java.lang.String getActionName()
public void setParameterTemplates(java.util.Map parameterTemplates)
parameterTemplates
- public java.util.Map getParameterTemplates()
public Action getAction(org.alfresco.service.cmr.repository.NodeRef nodeRef)
getAction
in interface TemplateActionDefinition
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |