public interface AssessableCourseNode extends CourseNode
DISPLAY_OPTS_CONTENT, DISPLAY_OPTS_TITLE_CONTENT, DISPLAY_OPTS_TITLE_DESCRIPTION_CONTENT, SHORT_TITLE_MAX_LENGTH| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Float |
getCutValueConfiguration() |
Controller |
getDetailsEditController(UserRequest ureq,
WindowControl wControl,
UserCourseEnvironment userCourseEnvironment)
Returns a controller to edit the node specific details
|
java.lang.String |
getDetailsListView(UserCourseEnvironment userCourseEnvironment) |
java.lang.String |
getDetailsListViewHeaderKey() |
java.lang.Float |
getMaxScoreConfiguration() |
java.lang.Float |
getMinScoreConfiguration() |
java.lang.Integer |
getUserAttempts(UserCourseEnvironment userCourseEnvironment) |
java.lang.String |
getUserCoachComment(UserCourseEnvironment userCourseEnvironment) |
java.lang.String |
getUserLog(UserCourseEnvironment userCourseEnvironment) |
ScoreEvaluation |
getUserScoreEvaluation(UserCourseEnvironment userCourseEnv)
this method implementation must not cache any results!
|
java.lang.String |
getUserUserComment(UserCourseEnvironment userCourseEnvironment) |
boolean |
hasAttemptsConfigured() |
boolean |
hasCommentConfigured() |
boolean |
hasDetails() |
boolean |
hasPassedConfigured() |
boolean |
hasScoreConfigured() |
boolean |
hasStatusConfigured() |
void |
incrementUserAttempts(UserCourseEnvironment userCourseEnvironment)
Increments the users attempts for this node and this user + 1.
|
boolean |
isEditableConfigured() |
void |
updateUserAttempts(java.lang.Integer userAttempts,
UserCourseEnvironment userCourseEnvironment,
Identity coachingIdentity)
Updates the users attempts for this node and this user.
|
void |
updateUserCoachComment(java.lang.String coachComment,
UserCourseEnvironment userCourseEnvironment)
Updates the coach comment for this node and this user.
|
void |
updateUserScoreEvaluation(ScoreEvaluation scoreEvaluation,
UserCourseEnvironment userCourseEnvironment,
Identity coachingIdentity,
boolean incrementAttempts) |
void |
updateUserUserComment(java.lang.String userComment,
UserCourseEnvironment userCourseEnvironment,
Identity coachingIdentity)
Updates the user comment for this node and this user.
|
archiveNodeData, cleanupOnDelete, createEditController, createInstanceForCopy, createInstanceForCopy, createNodeRunConstructionResult, createPeekViewRunController, createPreviewController, eval, explainThisDuringPublish, exportNode, getConditionExpressions, getDisplayOption, getLearningObjectives, getLongTitle, getModuleConfiguration, getNoAccessExplanation, getPreConditionAccess, getPreConditionVisibility, getReferencedRepositoryEntry, getReferencedRepositoryEntry, getShortTitle, getType, importNode, informOnDelete, isConfigValid, isConfigValid, isModuleConfigValid, needsReferenceToARepositoryEntry, removeRepositoryReference, setDisplayOption, setIdent, setLearningObjectives, setLongTitle, setNoAccessExplanation, setPreConditionVisibility, setRepositoryReference, setShortTitle, updateModuleConfigDefaultsaddChild, getChildAt, getChildCount, getIdent, getParent, getPosition, insert, remove, removeAllChildren, removeFromParent, setParentgetShortNamejava.lang.Float getMaxScoreConfiguration()
java.lang.Float getMinScoreConfiguration()
java.lang.Float getCutValueConfiguration()
boolean hasScoreConfigured()
boolean hasPassedConfigured()
boolean hasCommentConfigured()
boolean hasAttemptsConfigured()
boolean hasDetails()
boolean isEditableConfigured()
ScoreEvaluation getUserScoreEvaluation(UserCourseEnvironment userCourseEnv)
userCourseEnv - java.lang.String getUserUserComment(UserCourseEnvironment userCourseEnvironment)
userCourseEnvironment - java.lang.String getUserCoachComment(UserCourseEnvironment userCourseEnvironment)
userCourseEnvironment - java.lang.String getUserLog(UserCourseEnvironment userCourseEnvironment)
userCourseEnvironment - java.lang.Integer getUserAttempts(UserCourseEnvironment userCourseEnvironment)
userCourseEnvironment - java.lang.String getDetailsListView(UserCourseEnvironment userCourseEnvironment)
userCourseEnvironment - java.lang.String getDetailsListViewHeaderKey()
Controller getDetailsEditController(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnvironment)
ureq - wControl - userCourseEnvironment - void updateUserScoreEvaluation(ScoreEvaluation scoreEvaluation, UserCourseEnvironment userCourseEnvironment, Identity coachingIdentity, boolean incrementAttempts)
scoreEvaluation - if scoreEvaluation.getScore() != null, then the score will be updated, and/or if scoreEvaluation.getPassed() != null, then 'passed' will be updateduserCourseEnvironment - coachingIdentity - void updateUserUserComment(java.lang.String userComment,
UserCourseEnvironment userCourseEnvironment,
Identity coachingIdentity)
userComment - userCourseEnvironment - coachingIdentity - void incrementUserAttempts(UserCourseEnvironment userCourseEnvironment)
userCourseEnvironment - void updateUserAttempts(java.lang.Integer userAttempts,
UserCourseEnvironment userCourseEnvironment,
Identity coachingIdentity)
userAttempts - userCourseEnvironment - coachingIdentity - void updateUserCoachComment(java.lang.String coachComment,
UserCourseEnvironment userCourseEnvironment)
coachComment - userCourseEnvironment - boolean hasStatusConfigured()