|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DiscussionBoardGradeManager
Utility manager to handle discussionboard forum and thread grading
| Method Summary | |
|---|---|
void |
createOutcome(blackboard.data.gradebook.impl.OutcomeDefinition ocd,
CourseMembership cm,
java.lang.String points)
Create outcome. |
void |
deleteOutcome(blackboard.data.gradebook.impl.OutcomeDefinition ocd,
CourseMembership cm,
Id messageId,
Id userId)
Delete outcome. |
float |
getForumPointsPossible(Id forum_id)
Given a forum Id, get the maximum score possible for a graded forum |
float |
getThreadPointsPossible(Id thread_id)
Given a message Id for a top-level thread, get the maximum score possible for a graded thread |
java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> |
loadGradeHashByForumId(Id forum_id)
Given a forum Id, get the user grades for a forum. |
java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> |
loadGradeHashByForumId(Id forum_id,
Id course_id)
Given a forum Id, get the user grades for a forum. |
java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> |
loadGradeHashByThreadId(Id thread_id)
Given a message Id for a top-level thread, get the user grades for a thread. |
blackboard.data.gradebook.impl.OutcomeDefinition |
loadOutcomeDefinitionByForumIdAndCourseId(Id forum_id,
Id course_id)
Loads the OutcomeDefinition by the forum id and course id. |
| Method Detail |
|---|
float getForumPointsPossible(Id forum_id)
throws PersistenceException
Float$NaN if forum is not found or not a gradable forum
PersistenceException - If there is a database error loading entities needed to retrieve the forum points possible value
float getThreadPointsPossible(Id thread_id)
throws PersistenceException
PersistenceException
java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> loadGradeHashByForumId(Id forum_id)
throws PersistenceException
PersistenceException
java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> loadGradeHashByForumId(Id forum_id,
Id course_id)
throws PersistenceException
PersistenceException
java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> loadGradeHashByThreadId(Id thread_id)
throws PersistenceException
PersistenceException
void createOutcome(blackboard.data.gradebook.impl.OutcomeDefinition ocd,
CourseMembership cm,
java.lang.String points)
throws PersistenceException,
ValidationException
ocd - OutcomeDefinitioncm - CourseMembershippoints - String
ValidationException - Will never be thrown
PersistenceException
void deleteOutcome(blackboard.data.gradebook.impl.OutcomeDefinition ocd,
CourseMembership cm,
Id messageId,
Id userId)
throws PersistenceException
ocd - OutcomeDefinitioncm - CourseMembership
PersistenceException - If a database error occurred while trying to delete the outcome
blackboard.data.gradebook.impl.OutcomeDefinition loadOutcomeDefinitionByForumIdAndCourseId(Id forum_id,
Id course_id)
throws PersistenceException
OutcomeDefinition by the forum id and course id.
PersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||