public class CreateCourseFunction extends AbstractCreateODFProgramItemFunction
Course content| Modifier and Type | Field and Description | 
|---|---|
protected ShareableCourseHelper | 
_shareableCourseHelper
The shareable course helper 
 | 
static String | 
CONTENT_NAME_PREFIX
Content name prefix for programs 
 | 
static String | 
COURSE_LIST_ID_KEY
Constant for storing the parent course list id to use into the transient variables map. 
 | 
_odfHelper, CONTENT_CATALOG_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 | 
|---|
CreateCourseFunction()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
void | 
service(ServiceManager manager)  | 
_createContent, _getContentRoot, execute_eventParamsForContentAdded, _getNonNullVar, _getObjectType, _getSubContentRoot, _isMultilingual, _notifyContentAdded, _populateContent, _setTitle, getSystemUsergetContentaddWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUserpublic static final String COURSE_LIST_ID_KEY
public static final String CONTENT_NAME_PREFIX
protected ShareableCourseHelper _shareableCourseHelper
public CreateCourseFunction()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractCreateODFContentFunctionServiceExceptionprotected String _getContentNamePrefix()
AbstractCreateODFContentFunction_getContentNamePrefix in class AbstractCreateODFContentFunctionprotected String _getNodeType()
AbstractCreateODFContentFunction_getNodeType in class AbstractCreateODFContentFunctionprotected void _populateAdditionalData(Map transientVars, ModifiableContent content) throws com.opensymphony.workflow.WorkflowException
CreateContentFunction_populateAdditionalData in class AbstractCreateODFProgramItemFunctiontransientVars - the transient variables.content - the content.com.opensymphony.workflow.WorkflowException - if an error occurs.