public class CreateReferenceTableContentFunction extends CreateContentFunction
Modifier and Type | Field and Description |
---|---|
private static String |
__PARENT_TRANSIENT_VAR |
protected HierarchicalReferenceTablesHelper |
_hierarchicalRefTableContentsHelper
The helper component for hierarchical simple contents
|
_contentTypeEP, _contentTypeHelper, _observationManager, _resolver, CONTENT_LANGUAGE_KEY, CONTENT_MIXINS_KEY, CONTENT_NAME_KEY, CONTENT_TITLE_KEY, CONTENT_TITLE_VARIANTS_KEY, CONTENT_TYPES_KEY, PARENT_CONTENT_ID_KEY, PARENT_CONTENT_METADATA_PATH_KEY
_contentHelper, CONTENT_KEY
_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY
Constructor and Description |
---|
CreateReferenceTableContentFunction() |
Modifier and Type | Method and Description |
---|---|
protected List<Future> |
_notifyContentAdded(Content content,
Map transientVars)
Notify observers that the content has been created
|
protected void |
_populateAdditionalData(Map transientVars,
ModifiableContent content)
Populate the content.
|
void |
service(ServiceManager manager) |
_createContent, _getContentRoot, _getNonNullVar, _getObjectType, _getSubContentRoot, _isMultilingual, _populateContent, _setTitle, execute, getSystemUser
getContent
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser
private static final String __PARENT_TRANSIENT_VAR
protected HierarchicalReferenceTablesHelper _hierarchicalRefTableContentsHelper
public CreateReferenceTableContentFunction()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class CreateContentFunction
ServiceException
protected List<Future> _notifyContentAdded(Content content, Map transientVars) throws com.opensymphony.workflow.WorkflowException
CreateContentFunction
_notifyContentAdded
in class CreateContentFunction
content
- The content addedtransientVars
- The workflow varsFuture
objects of the asynchronous observerscom.opensymphony.workflow.WorkflowException
- If an error occurredprotected void _populateAdditionalData(Map transientVars, ModifiableContent content) throws com.opensymphony.workflow.WorkflowException
CreateContentFunction
_populateAdditionalData
in class CreateContentFunction
transientVars
- the transient variables.content
- the content.com.opensymphony.workflow.WorkflowException
- if an error occurs.