|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.util.nodes.GenericNode
org.olat.course.nodes.GenericCourseNode
org.olat.course.nodes.AbstractFeedCourseNode
public abstract class AbstractFeedCourseNode
The podcast course node.
Initial Date: Mar 30, 2009
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_KEY_REPOSITORY_SOFTKEY
|
| Fields inherited from interface org.olat.course.nodes.CourseNode |
|---|
DISPLAY_OPTS_CONTENT, DISPLAY_OPTS_TITLE_CONTENT, DISPLAY_OPTS_TITLE_DESCRIPTION_CONTENT |
| Constructor Summary | |
|---|---|
AbstractFeedCourseNode(java.lang.String type)
|
|
| Method Summary | |
|---|---|
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)
Create a node edit controller for this node to configure node specific features |
abstract NodeRunConstructionResult |
createNodeRunConstructionResult(UserRequest ureq,
WindowControl control,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne,
java.lang.String nodecmd)
Create a course run controller for this node |
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,
int importType)
|
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 |
| Methods inherited from class org.olat.core.util.nodes.GenericNode |
|---|
addChild, findRoot, getChildAt, getChildCount, getIdent, getParent, getPosition, insert, remove, removeAllChildren, removeFromParent, setIdent, setParent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.olat.course.nodes.CourseNode |
|---|
setIdent |
| Methods inherited from interface org.olat.core.util.nodes.INode |
|---|
addChild, getChildAt, getChildCount, getIdent, getParent, getPosition, insert, remove, removeAllChildren, removeFromParent, setParent |
| Field Detail |
|---|
public static final java.lang.String CONFIG_KEY_REPOSITORY_SOFTKEY
| Constructor Detail |
|---|
public AbstractFeedCourseNode(java.lang.String type)
type - | Method Detail |
|---|
public void updateModuleConfigDefaults(boolean isNewNode)
GenericCourseNode
updateModuleConfigDefaults in interface CourseNodeupdateModuleConfigDefaults in class GenericCourseNodeisNewNode - 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.GenericCourseNode.updateModuleConfigDefaults(boolean)
public abstract TabbableController createEditController(UserRequest ureq,
WindowControl wControl,
ICourse course,
UserCourseEnvironment euce)
CourseNode
createEditController in interface CourseNodecreateEditController in class GenericCourseNodeureq - The user requestwControl - The current window controllercourse - The courseeuce - the editor user course environment provides syntax/semantic
check methods for conditions
AbstractAccessableCourseNode.createEditController(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.WindowControl, org.olat.course.ICourse,
org.olat.course.run.userview.UserCourseEnvironment)
public abstract NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq,
WindowControl control,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne,
java.lang.String nodecmd)
CourseNode
createNodeRunConstructionResult in interface CourseNodecreateNodeRunConstructionResult in class GenericCourseNodeureq - The user requestcontrol - The current window controlleruserCourseEnv - The course environmentne - The node evaluation
AbstractAccessableCourseNode.createNodeRunConstructionResult(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.WindowControl,
org.olat.course.run.userview.UserCourseEnvironment,
org.olat.course.run.userview.NodeEvaluation, java.lang.String)public abstract StatusDescription[] isConfigValid(CourseEditorEnv cev)
GenericCourseNode
isConfigValid in interface CourseNodeisConfigValid in class GenericCourseNodeGenericCourseNode.isConfigValid(org.olat.course.editor.CourseEditorEnv)public RepositoryEntry getReferencedRepositoryEntry()
CourseNode
CourseNode.getReferencedRepositoryEntry()public abstract StatusDescription isConfigValid()
CourseNode.isConfigValid()public boolean needsReferenceToARepositoryEntry()
CourseNode.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 in interface CourseNodeexportNode in class GenericCourseNodeexportDirectory - The directory where the exported files should be
put. This directory must exist prior to calling this method.GenericCourseNode.exportNode(java.io.File,
org.olat.course.ICourse)
public Controller importNode(java.io.File importDirectory,
ICourse course,
boolean unattendedImport,
UserRequest ureq,
WindowControl wControl,
int importType)
org.olat.course.nodes.GenericCourseNode#importNode(java.io.File,
org.olat.course.ICourse, org.olat.core.gui.UserRequest,
org.olat.core.gui.control.WindowControl)
public void archiveNodeData(java.util.Locale locale,
ICourse course,
java.io.File exportDirectory,
java.lang.String charset,
java.lang.String type)
GenericCourseNode.archiveNodeData(java.util.Locale,
org.olat.course.ICourse, java.io.File, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||