Class BlogAction
- java.lang.Object
-
- org.alfresco.repo.action.CommonResourceAbstractBase
-
- org.alfresco.repo.action.ParameterizedItemAbstractBase
-
- org.alfresco.repo.action.executer.ActionExecuterAbstractBase
-
- org.alfresco.repo.action.executer.BlogAction
-
- All Implemented Interfaces:
BlogIntegrationModel,ActionExecuter,LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class BlogAction extends ActionExecuterAbstractBase implements BlogIntegrationModel
Post blog repository action- Author:
- mikeh
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEstatic StringPARAM_BLOG_ACTION-
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
-
Fields inherited from interface org.alfresco.model.BlogIntegrationModel
ASPECT_BLOG_DETAILS, ASPECT_BLOG_POST, ASSOC_BLOG_DETAILS, MODEL_PREFIX, MODEL_URL, PROP_BLOG_IMPLEMENTATION, PROP_DESCRIPTION, PROP_ID, PROP_LAST_UPDATE, PROP_LINK, PROP_NAME, PROP_PASSWORD, PROP_POST_ID, PROP_POSTED, PROP_PUBLISHED, PROP_URL, PROP_USER_NAME
-
-
Constructor Summary
Constructors Constructor Description BlogAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddParameterDefinitions(List<ParameterDefinition> paramList)Adds the parameter definitions to the listprotected voidexecuteImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)Execute the action implementationvoidsetBlogIntegrationService(BlogIntegrationService blogIntegrationService)Set the blog integration servicevoidsetDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)Set the dictionary servicevoidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)Set the node service-
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
-
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
-
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PARAM_BLOG_ACTION
public static final String PARAM_BLOG_ACTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service- Parameters:
nodeService- the node service
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Set the dictionary service- Overrides:
setDictionaryServicein classActionExecuterAbstractBase- Parameters:
dictionaryService- the dictionary service
-
setBlogIntegrationService
public void setBlogIntegrationService(BlogIntegrationService blogIntegrationService)
Set the blog integration service- Parameters:
blogIntegrationService- the blog integration service
-
executeImpl
protected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Description copied from class:ActionExecuterAbstractBaseExecute the action implementation- Specified by:
executeImplin classActionExecuterAbstractBase- Parameters:
action- the actionactionedUponNodeRef- the actioned upon node- See Also:
ActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
-
addParameterDefinitions
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
Description copied from class:ParameterizedItemAbstractBaseAdds the parameter definitions to the list- Specified by:
addParameterDefinitionsin classParameterizedItemAbstractBase- Parameters:
paramList- the parameter definitions list- See Also:
ParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
-
-