public class CreateTermFunction extends CreateContentFunction
Modifier and Type | Field and Description |
---|---|
static String |
DISABLE_INDEXATION
Constant controlling if indexation should be avoided when creating the term (for use in imports or batch creations).
|
static String |
PARENT_MT_ID_KEY
Constant for storing the parent microthesaurus ID into the transient variables map.
|
_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 |
---|
CreateTermFunction() |
Modifier and Type | Method and Description |
---|---|
protected ModifiableTraversableAmetysObject |
_getContentRoot(Map transientVars)
Retrieve the content root.
|
protected List<Future> |
_notifyContentAdded(Content content,
Map transientVars)
Notify observers that the content has been created
|
_createContent, _getNonNullVar, _getObjectType, _getSubContentRoot, _isMultilingual, _populateAdditionalData, _populateContent, _setTitle, execute, getSystemUser, service
getContent
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser
public static final String PARENT_MT_ID_KEY
public static final String DISABLE_INDEXATION
public CreateTermFunction()
protected ModifiableTraversableAmetysObject _getContentRoot(Map transientVars) throws com.opensymphony.workflow.WorkflowException
CreateContentFunction
_getContentRoot
in class CreateContentFunction
transientVars
- the workflow parameters.com.opensymphony.workflow.WorkflowException
- if an error occursprotected 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 occurred