|
||||||||||
| 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.BCCourseNode
public class BCCourseNode
Description:
| Field Summary |
|---|
| Fields inherited from interface org.olat.course.nodes.CourseNode |
|---|
DISPLAY_OPTS_CONTENT, DISPLAY_OPTS_TITLE_CONTENT, DISPLAY_OPTS_TITLE_DESCRIPTION_CONTENT |
| Constructor Summary | |
|---|---|
BCCourseNode()
Constructor for a course building block of type briefcase (folder) |
|
| Method Summary | |
|---|---|
void |
cleanupOnDelete(ICourse course)
Delete the folder if node is deleted. |
TabbableController |
createEditController(UserRequest ureq,
WindowControl wControl,
ICourse course,
UserCourseEnvironment euce)
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 |
void |
exportNode(java.io.File exportDirectory,
ICourse course)
Export all node user data to the given directory. |
java.util.List |
getConditionExpressions()
|
static java.lang.String |
getFoldernodePathRelToFolderBase(CourseEnvironment courseEnv,
CourseNode node)
|
static java.lang.String |
getFoldernodesPathRelToFolderBase(CourseEnvironment courseEnv)
|
static OlatNamedContainerImpl |
getNodeFolderContainer(BCCourseNode node,
CourseEnvironment courseEnv)
Get a named container of a node with the node title as its name. |
Condition |
getPreConditionDownloaders()
|
Condition |
getPreConditionUploaders()
|
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)
Import a course node's data. |
java.lang.String |
informOnDelete(java.util.Locale locale,
ICourse course)
Generic interface implementation. |
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 |
setPreConditionDownloaders(Condition preConditionDownloaders)
|
void |
setPreConditionUploaders(Condition preConditionUploaders)
|
| 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 |
| Constructor Detail |
|---|
public BCCourseNode()
| Method Detail |
|---|
public 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
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)
CourseNode
createNodeRunConstructionResult in interface CourseNodecreateNodeRunConstructionResult in class GenericCourseNodeureq - 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 static java.lang.String getFoldernodePathRelToFolderBase(CourseEnvironment courseEnv,
CourseNode node)
courseEnv - node -
public static java.lang.String getFoldernodesPathRelToFolderBase(CourseEnvironment courseEnv)
courseEnv -
public static OlatNamedContainerImpl getNodeFolderContainer(BCCourseNode node,
CourseEnvironment courseEnv)
node - courseEnv -
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)
CourseNode
importNode in interface CourseNodeimportNode in class GenericCourseNodeorg.olat.course.nodes.GenericCourseNode#importNode(java.io.File,
org.olat.course.ICourse, org.olat.core.gui.UserRequest,
org.olat.core.gui.control.WindowControl)public Condition getPreConditionDownloaders()
public void setPreConditionDownloaders(Condition preConditionDownloaders)
preConditionDownloaders - The preConditionDownloaders to set.public Condition getPreConditionUploaders()
public void setPreConditionUploaders(Condition preConditionUploaders)
preConditionUploaders - The preConditionUploaders to set.public StatusDescription isConfigValid()
CourseNode.isConfigValid()public StatusDescription[] isConfigValid(CourseEditorEnv cev)
GenericCourseNode
isConfigValid in interface CourseNodeisConfigValid in class GenericCourseNodeorg.olat.course.nodes.CourseNode#isConfigValid(org.olat.course.run.userview.UserCourseEnvironment)public RepositoryEntry getReferencedRepositoryEntry()
CourseNode
CourseNode.getReferencedRepositoryEntry()public boolean needsReferenceToARepositoryEntry()
CourseNode.needsReferenceToARepositoryEntry()
public java.lang.String informOnDelete(java.util.Locale locale,
ICourse course)
GenericCourseNode
informOnDelete in interface CourseNodeinformOnDelete in class GenericCourseNodecourse - The course
org.olat.course.nodes.CourseNode#informOnDelete(org.olat.core.gui.UserRequest,
org.olat.course.ICourse)public void cleanupOnDelete(ICourse course)
cleanupOnDelete in interface CourseNodecleanupOnDelete in class GenericCourseNodecourse - The courseCourseNode.cleanupOnDelete(org.olat.course.ICourse)public java.util.List getConditionExpressions()
getConditionExpressions in interface CourseNodegetConditionExpressions in class GenericCourseNodeGenericCourseNode.getConditionExpressions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||