|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.tree.GenericTreeModel
org.olat.course.tree.CourseEditorTreeModel
public class CourseEditorTreeModel
Description:
| Constructor Summary | |
|---|---|
CourseEditorTreeModel()
|
|
| Method Summary | |
|---|---|
void |
addCourseNode(CourseNode newNode,
CourseNode parentNode)
append new course |
Structure |
createStructureForPreview()
|
CourseEditorTreeNode |
getCourseEditorNodeById(java.lang.String nodeId)
|
CourseEditorTreeNode |
getCourseEditorNodeContaining(CourseNode cn)
|
CourseNode |
getCourseNode(java.lang.String nodeId)
|
long |
getHighestNodeId()
FIXME: use this method for node generation |
long |
getLatestPublishTimestamp()
|
int |
getVersion()
|
void |
incHighestNodeId()
increments the highestnodeid: for the next new node in the editor. |
void |
insertCourseNodeAt(CourseNode newNode,
CourseNode parentNode,
int pos)
|
boolean |
isVersionUpToDate()
|
void |
markDeleted(CourseNode courseNode)
marks an couse node and all it's children as deleted |
void |
markUnDeleted(CourseEditorTreeNode cetNode)
|
void |
markUnDeleted(CourseNode courseNode)
marks an couse node and all it's children as undeleted |
void |
nodeConfigChanged(INode node)
|
void |
removeCourseNode(CourseNode courseNode)
Deprecated. REVIEW:pb: no longer used? it is not referenced from java, and also not found in velocity *.html |
void |
setLatestPublishTimestamp(long latestPublishTimestamp)
|
void |
setVersion(int version)
|
| Methods inherited from class org.olat.core.gui.components.tree.GenericTreeModel |
|---|
findNodeByUserObject, getNodeById, getRootNode, setRootNode |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CourseEditorTreeModel()
| Method Detail |
|---|
public CourseNode getCourseNode(java.lang.String nodeId)
nodeId -
public void insertCourseNodeAt(CourseNode newNode,
CourseNode parentNode,
int pos)
newNode - parentNode - pos -
public void addCourseNode(CourseNode newNode,
CourseNode parentNode)
newNode - parentNode - public void markDeleted(CourseNode courseNode)
courseNode - public void markUnDeleted(CourseNode courseNode)
courseNode - public void markUnDeleted(CourseEditorTreeNode cetNode)
public void removeCourseNode(CourseNode courseNode)
courseNode - public CourseEditorTreeNode getCourseEditorNodeById(java.lang.String nodeId)
nodeId -
CourseEditorTreeNode with
the given nodeIdpublic CourseEditorTreeNode getCourseEditorNodeContaining(CourseNode cn)
public void nodeConfigChanged(INode node)
courseNode - public long getLatestPublishTimestamp()
public void setLatestPublishTimestamp(long latestPublishTimestamp)
latestPublishTimestamp - The latestPublishTimestamp to set.public long getHighestNodeId()
public void incHighestNodeId()
public Structure createStructureForPreview()
public int getVersion()
public void setVersion(int version)
version - The version to set.public boolean isVersionUpToDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||