|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CourseEditorEnv
Description:
The course environment used when working in the course editor. Provides some
methods to help all the validation and consistency checking code
Initial Date: Jul 6, 2005
| 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)
|
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. |
| Method Detail |
|---|
boolean isAssessable(java.lang.String nodeId)
nodeId -
boolean existsNode(java.lang.String nodeId)
nodeId -
boolean existsGroup(java.lang.String groupname)
groupname -
boolean existsRightGroup(java.lang.String groupname)
boolean existsArea(java.lang.String areaname)
areaname -
java.lang.String getCurrentCourseNodeId()
void setCurrentCourseNodeId(java.lang.String courseNodeId)
courseNodeId - void setConditionInterpreter(ConditionInterpreter ci)
ci - java.util.Locale getEditorEnvLocale()
ConditionErrorMessage[] validateConditionExpression(ConditionExpression condExpr)
condExpr -
void pushError(java.lang.Exception e)
e -
void addSoftReference(java.lang.String category,
java.lang.String softReference)
category - softReference - void validateCourse()
StatusDescription[] getCourseStatus()
java.util.List getReferencingNodeIdsFor(java.lang.String ident)
ident -
boolean isEnrollmentNode(java.lang.String nodeId)
nodeId -
java.util.Set<java.lang.String> listCycles()
CourseGroupManager getCourseGroupManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||