|
||||||||||
| 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.AbstractAccessableCourseNode
de.bps.course.nodes.LLCourseNode
public class LLCourseNode
Description:
Link list course node.
Initial Date: 05.11.2008
| Field Summary | |
|---|---|
static java.lang.String |
CONF_COURSE_ID
|
static java.lang.String |
CONF_COURSE_NODE_ID
|
static java.lang.String |
CONF_LINKLIST
|
| Fields inherited from interface org.olat.course.nodes.CourseNode |
|---|
DISPLAY_OPTS_CONTENT, DISPLAY_OPTS_TITLE_CONTENT, DISPLAY_OPTS_TITLE_DESCRIPTION_CONTENT |
| Constructor Summary | |
|---|---|
LLCourseNode()
Create default link list course node. |
|
| Method Summary | |
|---|---|
TabbableController |
createEditController(UserRequest ureq,
WindowControl wControl,
ICourse course,
UserCourseEnvironment userCourseEnv)
Create a node edit controller for this node to configure node specific features |
NodeRunConstructionResult |
createNodeRunConstructionResult(UserRequest ureq,
WindowControl wControl,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne,
java.lang.String nodecmd)
Create a course run controller for this node |
Controller |
createPeekViewRunController(UserRequest ureq,
WindowControl wControl,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne)
Default implementation of the peekview controller that returns NULL: no node specific peekview information should be shown Override this method with a specific implementation if you have something interesting to show in the peekview |
Controller |
createPreviewController(UserRequest ureq,
WindowControl wControl,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne)
default implementation of the previewController |
RepositoryEntry |
getReferencedRepositoryEntry()
used by the publish process to ensure the reference counters for a repository entry are correct. |
StatusDescription |
isConfigValid()
|
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 |
updateModuleConfigDefaults(boolean isNewNode)
Update the module configuration to have all mandatory configuration flags set to usefull default values |
| Methods inherited from class org.olat.course.nodes.AbstractAccessableCourseNode |
|---|
createInstanceForCopy, getConditionExpressions, getPreConditionAccess, setPreConditionAccess |
| 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 CONF_COURSE_ID
public static final java.lang.String CONF_COURSE_NODE_ID
public static final java.lang.String CONF_LINKLIST
| Constructor Detail |
|---|
public LLCourseNode()
| 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.
public TabbableController createEditController(UserRequest ureq,
WindowControl wControl,
ICourse course,
UserCourseEnvironment userCourseEnv)
createEditController in interface CourseNodecreateEditController in class AbstractAccessableCourseNodeureq - The user requestwControl - The current window controllercourse - The courseuserCourseEnv - the editor user course environment provides syntax/semantic
check methods for conditions
org.olat.course.nodes.CourseNode#createEditController(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.WindowControl, org.olat.course.ICourse)
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq,
WindowControl wControl,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne,
java.lang.String nodecmd)
createNodeRunConstructionResult in interface CourseNodecreateNodeRunConstructionResult in class AbstractAccessableCourseNodeureq - The user requestwControl - The current window controlleruserCourseEnv - The course environmentne - The node evaluation
org.olat.course.nodes.CourseNode#createNodeRunConstructionResult(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.WindowControl,
org.olat.course.run.userview.UserCourseEnvironment,
org.olat.course.run.userview.NodeEvaluation)
public Controller createPeekViewRunController(UserRequest ureq,
WindowControl wControl,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne)
GenericCourseNode
createPeekViewRunController in interface CourseNodecreatePeekViewRunController in class GenericCourseNodeGenericCourseNode.createPeekViewRunController(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.WindowControl,
org.olat.course.run.userview.UserCourseEnvironment,
org.olat.course.run.userview.NodeEvaluation)
public Controller createPreviewController(UserRequest ureq,
WindowControl wControl,
UserCourseEnvironment userCourseEnv,
NodeEvaluation ne)
GenericCourseNode
createPreviewController in interface CourseNodecreatePreviewController in class GenericCourseNodeGenericCourseNode.createPreviewController(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.WindowControl,
org.olat.course.run.userview.UserCourseEnvironment,
org.olat.course.run.userview.NodeEvaluation)public StatusDescription[] isConfigValid(CourseEditorEnv cev)
isConfigValid in interface CourseNodeisConfigValid in class GenericCourseNodeorg.olat.course.nodes.CourseNode#isConfigValid(org.olat.course.run.userview.UserCourseEnvironment)public RepositoryEntry getReferencedRepositoryEntry()
public StatusDescription isConfigValid()
for a config
validation method taking the course environment into account.public boolean needsReferenceToARepositoryEntry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||