public abstract class AbstractFeedCourseNode extends GenericCourseNode
Initial Date: Mar 30, 2009
DISPLAY_OPTS_CONTENT, DISPLAY_OPTS_TITLE_CONTENT, DISPLAY_OPTS_TITLE_DESCRIPTION_CONTENT, SHORT_TITLE_MAX_LENGTH
构造器和说明 |
---|
AbstractFeedCourseNode(java.lang.String type) |
限定符和类型 | 方法和说明 |
---|---|
void |
archiveNodeData(java.util.Locale locale,
ICourse course,
java.io.File exportDirectory,
java.lang.String charset,
java.lang.String type) |
abstract TabbableController |
createEditController(UserRequest ureq,
WindowControl wControl,
ICourse course,
UserCourseEnvironment euce)
org.olat.lms.course.ICourse, org.olat.lms.course.run.userview.UserCourseEnvironment)
|
abstract NodeRunConstructionResult |
createNodeRunConstructionResult(UserRequest ureq,
WindowControl control,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne,
java.lang.String nodecmd)
org.olat.lms.course.run.userview.UserCourseEnvironment, org.olat.lms.course.run.userview.NodeEvaluation, java.lang.String)
|
void |
exportNode(java.io.File exportDirectory,
ICourse course)
Export all node user data to the given directory.
|
Condition |
getPreConditionModerator() |
Condition |
getPreConditionPoster() |
Condition |
getPreConditionReader() |
RepositoryEntry |
getReferencedRepositoryEntry()
used by the publish process to ensure the reference counters for a repository entry are correct.
|
Controller |
importNode(java.io.File importDirectory,
ICourse course,
boolean unattendedImport,
UserRequest ureq,
WindowControl wControl,
java.lang.String resourceType)
org.olat.presentation.framework.control.WindowControl)
|
abstract StatusDescription |
isConfigValid() |
abstract StatusDescription[] |
isConfigValid(CourseEditorEnv cev)
must be implemented in the concrete subclasses as a translator is needed for the errormessages which comes with evaluating condition expressions
|
boolean |
needsReferenceToARepositoryEntry() |
void |
setPreConditionModerator(Condition preConditionModerator) |
void |
setPreConditionPoster(Condition preConditionPoster) |
void |
setPreConditionReader(Condition preConditionReader) |
void |
updateModuleConfigDefaults(boolean isNewNode)
Update the module configuration to have all mandatory configuration flags set to usefull default values
|
archiveNodeData, cleanupOnDelete, createInstanceForCopy, createInstanceForCopy, createPeekViewRunController, createPreviewController, eval, explainThisDuringPublish, getConditionExpressions, getDisplayOption, getDisplayOption, getLearningObjectives, getLongTitle, getModuleConfiguration, getNoAccessExplanation, getPreConditionAccess, getPreConditionVisibility, getReferencedRepositoryEntry, getShortName, getShortTitle, getType, importNode, informOnDelete, isModuleConfigValid, removeRepositoryReference, setDisplayOption, setLearningObjectives, setLongTitle, setModuleConfiguration, setNoAccessExplanation, setPreConditionVisibility, setRepositoryReference, setShortTitle, setType, toString
addChild, findRoot, getChildAt, getChildCount, getIdent, getParent, getPosition, insert, remove, removeAllChildren, removeFromParent, setIdent, setParent
setIdent
addChild, getChildAt, getChildCount, getIdent, getParent, getPosition, insert, remove, removeAllChildren, removeFromParent, setParent
public void updateModuleConfigDefaults(boolean isNewNode)
GenericCourseNode
updateModuleConfigDefaults
在接口中 CourseNode
updateModuleConfigDefaults
在类中 GenericCourseNode
isNewNode
- true: an initial configuration is set; false: upgrading from previous node configuration version, set default to maintain previous behaviour This is the
workflow: On every click on a entry of the navigation tree, this method will be called to ensure a valid configration of the depending module. This is
only done in RAM. If the user clicks on that node in course editor and publishes the course after that, then the updated config will be persisted to
disk. Otherwise everything what is done here has to be done once at every course start.public abstract TabbableController createEditController(UserRequest ureq, WindowControl wControl, ICourse course, UserCourseEnvironment euce)
createEditController
在接口中 CourseNode
createEditController
在类中 GenericCourseNode
ureq
- The user requestwControl
- The current window controllercourse
- The courseeuce
- the editor user course environment provides syntax/semantic check methods for conditionspublic abstract NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl control, UserCourseEnvironment userCourseEnv, NodeEvaluation ne, java.lang.String nodecmd)
createNodeRunConstructionResult
在接口中 CourseNode
createNodeRunConstructionResult
在类中 GenericCourseNode
ureq
- The user requestcontrol
- The current window controlleruserCourseEnv
- The course environmentne
- The node evaluationpublic abstract StatusDescription[] isConfigValid(CourseEditorEnv cev)
GenericCourseNode
isConfigValid
在接口中 CourseNode
isConfigValid
在类中 GenericCourseNode
public RepositoryEntry getReferencedRepositoryEntry()
CourseNode
getReferencedRepositoryEntry
在接口中 CourseNode
getReferencedRepositoryEntry
在类中 GenericCourseNode
public abstract StatusDescription isConfigValid()
public boolean needsReferenceToARepositoryEntry()
public Condition getPreConditionModerator()
public void setPreConditionModerator(Condition preConditionModerator)
preConditionModerator
- The preConditionModerator to set.public Condition getPreConditionPoster()
public void setPreConditionPoster(Condition preConditionPoster)
preConditionPoster
- The preConditionPoster to set.public Condition getPreConditionReader()
public void setPreConditionReader(Condition preConditionReader)
preConditionReader
- The preConditionReader to set.public void exportNode(java.io.File exportDirectory, ICourse course)
CourseNode
exportNode
在接口中 CourseNode
exportNode
在类中 GenericCourseNode
exportDirectory
- The directory where the exported files should be put. This directory must exist prior to calling this method.public Controller importNode(java.io.File importDirectory, ICourse course, boolean unattendedImport, UserRequest ureq, WindowControl wControl, java.lang.String resourceType)
public void archiveNodeData(java.util.Locale locale, ICourse course, java.io.File exportDirectory, java.lang.String charset, java.lang.String type)