|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.course.editor.CourseEditorEnvImpl
public class CourseEditorEnvImpl
Description:
TODO: guido Class Description for CourseEditorEnvImpl
| Constructor Summary | |
|---|---|
CourseEditorEnvImpl(CourseEditorTreeModel cetm,
CourseGroupManager cgm,
java.util.Locale editorLocale)
|
|
| Method Summary | |
|---|---|
void |
addSoftReference(java.lang.String category,
java.lang.String softReference)
|
boolean |
existsArea(java.lang.String areaname)
|
boolean |
existsGroup(java.lang.String groupname)
|
boolean |
existsNode(java.lang.String nodeId)
|
boolean |
existsRightGroup(java.lang.String groupname)
|
CourseGroupManager |
getCourseGroupManager()
Return CourseGroupManager for this course environment. |
StatusDescription[] |
getCourseStatus()
lists problems and errors of the course at the very moment. |
java.lang.String |
getCurrentCourseNodeId()
|
java.util.Locale |
getEditorEnvLocale()
the locale of the editor environment to have the facility of providing localized messages within the course editor environment. |
java.util.List |
getReferencingNodeIdsFor(java.lang.String ident)
|
boolean |
isAssessable(java.lang.String nodeId)
checks for an existing node id if the underlying course node is assessable, e.g. |
boolean |
isEnrollmentNode(java.lang.String nodeId)
check if the given node is of type enrollment |
java.util.Set<java.lang.String> |
listCycles()
The specified visibility, accessability and score rules defined for a course node reference other couse nodes ids. |
void |
pushError(java.lang.Exception e)
|
void |
setConditionInterpreter(ConditionInterpreter ci)
|
void |
setCurrentCourseNodeId(java.lang.String courseNodeId)
|
java.lang.String |
toString()
|
ConditionErrorMessage[] |
validateConditionExpression(ConditionExpression condExpr)
validates the condition expression within the condition interpreter. |
void |
validateCourse()
after calling validate course, the course is checked for condition and configuration errors. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CourseEditorEnvImpl(CourseEditorTreeModel cetm,
CourseGroupManager cgm,
java.util.Locale editorLocale)
| Method Detail |
|---|
public void setConditionInterpreter(ConditionInterpreter ci)
setConditionInterpreter in interface CourseEditorEnvci - public boolean isEnrollmentNode(java.lang.String nodeId)
CourseEditorEnv
isEnrollmentNode in interface CourseEditorEnvCourseEditorEnv.isEnrollmentNode(java.lang.String)public boolean isAssessable(java.lang.String nodeId)
CourseEditorEnv
isAssessable in interface CourseEditorEnvCourseEditorEnv.isAssessable(java.lang.String)public boolean existsNode(java.lang.String nodeId)
existsNode in interface CourseEditorEnvCourseEditorEnv.existsNode(java.lang.String)public boolean existsGroup(java.lang.String groupname)
existsGroup in interface CourseEditorEnvCourseEditorEnv.existsGroup(java.lang.String)public boolean existsRightGroup(java.lang.String groupname)
existsRightGroup in interface CourseEditorEnvpublic boolean existsArea(java.lang.String areaname)
existsArea in interface CourseEditorEnvCourseEditorEnv.existsArea(java.lang.String)public java.lang.String getCurrentCourseNodeId()
getCurrentCourseNodeId in interface CourseEditorEnvCourseEditorEnv.getCurrentCourseNodeId()public void setCurrentCourseNodeId(java.lang.String courseNodeId)
setCurrentCourseNodeId in interface CourseEditorEnvCourseEditorEnv.setCurrentCourseNodeId(java.lang.String)public java.util.Locale getEditorEnvLocale()
CourseEditorEnv
getEditorEnvLocale in interface CourseEditorEnvCourseEditorEnv.getEditorEnvLocale()public ConditionErrorMessage[] validateConditionExpression(ConditionExpression condExpr)
CourseEditorEnv
validateConditionExpression in interface CourseEditorEnvCourseEditorEnv.validateConditionExpression(org.olat.course.condition.interpreter.ConditionExpression)
public void addSoftReference(java.lang.String category,
java.lang.String softReference)
addSoftReference in interface CourseEditorEnvCourseEditorEnv.addSoftReference(java.lang.String,
java.lang.String)public void pushError(java.lang.Exception e)
pushError in interface CourseEditorEnvCourseEditorEnv.pushError(java.lang.Exception)public void validateCourse()
CourseEditorEnv
validateCourse in interface CourseEditorEnvCourseEditorEnv.validateCourse()public StatusDescription[] getCourseStatus()
CourseEditorEnv
getCourseStatus in interface CourseEditorEnvCourseEditorEnv.getCourseStatus()public java.util.List getReferencingNodeIdsFor(java.lang.String ident)
getReferencingNodeIdsFor in interface CourseEditorEnvpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Set<java.lang.String> listCycles()
CourseEditorEnv
listCycles in interface CourseEditorEnvCourseEditorEnv.listCycles()public CourseGroupManager getCourseGroupManager()
CourseEditorEnv
getCourseGroupManager in interface CourseEditorEnv
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||