Class InitContentFunction
- java.lang.Object
 - 
- org.ametys.plugins.workflow.AbstractWorkflowComponent
 - 
- org.ametys.cms.workflow.AbstractContentWorkflowComponent
 - 
- org.ametys.plugins.workspaces.workflow.InitContentFunction
 
 
 
 
- 
- All Implemented Interfaces:
 com.opensymphony.workflow.FunctionProvider,LogEnabled,Serviceable
public class InitContentFunction extends AbstractContentWorkflowComponent implements com.opensymphony.workflow.FunctionProvider
This workflow function initialize the rich-text's content with a configured default value 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected I18nUtils_i18nUtilsI18n Utils- 
Fields inherited from class org.ametys.cms.workflow.AbstractContentWorkflowComponent
_contentHelper, CONTENT_KEY, HAS_CHANGED_KEY 
- 
Fields inherited from class org.ametys.plugins.workflow.AbstractWorkflowComponent
_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY 
 - 
 
- 
Constructor Summary
Constructors Constructor Description InitContentFunction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps)voidservice(ServiceManager manager)- 
Methods inherited from class org.ametys.cms.workflow.AbstractContentWorkflowComponent
getContent 
- 
Methods inherited from class org.ametys.plugins.workflow.AbstractWorkflowComponent
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_i18nUtils
protected I18nUtils _i18nUtils
I18n Utils 
 - 
 
- 
Constructor Detail
- 
InitContentFunction
public InitContentFunction()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classAbstractContentWorkflowComponent- Throws:
 ServiceException
 
 - 
 
 -