public class CreateCoursePartByCopyFunction extends AbstractCreateODFContentByCopyFunction
| Modifier and Type | Field and Description | 
|---|---|
static String | 
COURSE_HOLDER_KEY
Constant for storing the course holder 
 | 
_odfHelper_copyContentMetadataHelper, _cTypesHelper, _i18nUtils, BASE_CONTENT_ID, BASE_CONTENT_KEY, COPY_MAP_KEY, COPY_METADATASET_NAME, COPY_METADATASET_TYPE, COPY_REPORT_KEY_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 | 
|---|
CreateCoursePartByCopyFunction()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Map<String,Object> | 
_buildCopyMap(Map transientVars,
             Content baseContent,
             String metadataSetName,
             String metadataSetType)
Get the builded copy map 
 | 
protected String | 
_getContentNamePrefix()
Get the prefix for content name 
 | 
protected String | 
_getNodeType()
Get the content node type 
 | 
protected void | 
_populateAdditionalData(Map transientVars,
                       ModifiableContent content)
Populate the content. 
 | 
_createContent, _getContentRoot, serviceexecute, getBaseContentForCopy_eventParamsForContentAdded, _getNonNullVar, _getObjectType, _getSubContentRoot, _isMultilingual, _notifyContentAdded, _populateContent, _setTitle, getSystemUsergetContentaddWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUserpublic static final String COURSE_HOLDER_KEY
public CreateCoursePartByCopyFunction()
protected void _populateAdditionalData(Map transientVars, ModifiableContent content) throws com.opensymphony.workflow.WorkflowException
CreateContentFunction_populateAdditionalData in class CreateContentByCopyFunctiontransientVars - the transient variables.content - the content.com.opensymphony.workflow.WorkflowException - if an error occurs.protected Map<String,Object> _buildCopyMap(Map transientVars, Content baseContent, String metadataSetName, String metadataSetType)
CreateContentByCopyFunction_buildCopyMap in class CreateContentByCopyFunctiontransientVars - the varsbaseContent - the base content to be copiedmetadataSetName - the metadata set namemetadataSetType - the metadata set typeprotected String _getContentNamePrefix()
AbstractCreateODFContentByCopyFunction_getContentNamePrefix in class AbstractCreateODFContentByCopyFunctionprotected String _getNodeType()
AbstractCreateODFContentByCopyFunction_getNodeType in class AbstractCreateODFContentByCopyFunction