| org.sakaiproject.tool.assessment.shared.api.grading.GradingServiceAPI
All known Subclasses: org.sakaiproject.tool.assessment.shared.impl.grading.GradingServiceImpl,
GradingServiceAPI | public interface GradingServiceAPI (Code) | | The GradingServiceAPI declares a shared interface to get grading information.
author: Ed Smiley |
Method Summary | |
public List | getAllSubmissions(String publishedId) Get all submissions for a published assessment from the back end. | public ItemGradingIfc | getItemGrading(String assessmentGradingId, String publishedItemId) | public Map | getItemScores(Long publishedId, Long itemId, String which) Get the score information for each item from the assessment score. | public AssessmentGradingIfc | getLastAssessmentGradingByAgentId(String publishedAssessmentId, String agentIdString) Get the grading data for the last submission of this agent. | public Map | getLastItemGrading(String publishedId, String agentId) | public ItemGradingIfc | getLastItemGradingByAgent(String publishedItemId, String agentId) | public MediaIfc | getMedia(String mediaId) | public List | getMediaArray(String itemGradingId) | public List | getMediaArray(ItemGradingIfc i) | public Map | getStudentGradingData(String assessmentGradingId) | public Map | getSubmissionSizeOfAllPublishedAssessments() | public int | getSubmissionSizeOfPublishedAssessment(String publishedAssessmentId) Get the count of published assessments. | public Map | getSubmitData(String publishedId, String agentId, Integer scoringoption) | public String | getTextForId(Long typeId) Get the text for the type. | public List | getTotalScores(String publishedId, String which) Get all scores for a published assessment from the back end. | public AssessmentGradingIfc | load(String assessmentGradingId) Load assessment grading information. | public void | saveItemGrading(ItemGradingIfc item) Save item grading information. | public Long | saveMedia(byte[] media, String mimeType) | public Long | saveMedia(MediaIfc mediaData) | public void | saveOrUpdateAssessmentGrading(AssessmentGradingIfc assessment) | public void | saveTotalScores(List data, PublishedAssessmentIfc pub) Save the total scores. |
getAllSubmissions | public List getAllSubmissions(String publishedId)(Code) | | Get all submissions for a published assessment from the back end.
List of AssessmentGradingIfs |
getItemGrading | public ItemGradingIfc getItemGrading(String assessmentGradingId, String publishedItemId)(Code) | | Parameters: assessmentGradingId - Parameters: publishedItemId - |
getItemScores | public Map getItemScores(Long publishedId, Long itemId, String which)(Code) | | Get the score information for each item from the assessment score.
|
getLastAssessmentGradingByAgentId | public AssessmentGradingIfc getLastAssessmentGradingByAgentId(String publishedAssessmentId, String agentIdString)(Code) | | Get the grading data for the last submission of this agent.
Parameters: publishedAssessmentId - Parameters: agentIdString - |
getLastItemGrading | public Map getLastItemGrading(String publishedId, String agentId)(Code) | | Get the last set of ItemGradingIfc for a student per assessment
|
getLastItemGradingByAgent | public ItemGradingIfc getLastItemGradingByAgent(String publishedItemId, String agentId)(Code) | | Parameters: publishedItemId - Parameters: agentId - |
getMediaArray | public List getMediaArray(String itemGradingId)(Code) | | Parameters: itemGradingId - |
getStudentGradingData | public Map getStudentGradingData(String assessmentGradingId)(Code) | | Get the grading data for a given submission
|
getSubmissionSizeOfAllPublishedAssessments | public Map getSubmissionSizeOfAllPublishedAssessments()(Code) | | |
getSubmissionSizeOfPublishedAssessment | public int getSubmissionSizeOfPublishedAssessment(String publishedAssessmentId)(Code) | | Get the count of published assessments.
Parameters: publishedAssessmentId - |
getSubmitData | public Map getSubmitData(String publishedId, String agentId, Integer scoringoption)(Code) | | Get the last submission for a student per assessment
|
getTextForId | public String getTextForId(Long typeId)(Code) | | Get the text for the type.
Parameters: typeId - |
getTotalScores | public List getTotalScores(String publishedId, String which)(Code) | | Get all scores for a published assessment from the back end.
List of AssessmentGradingIfs |
saveItemGrading | public void saveItemGrading(ItemGradingIfc item)(Code) | | Save item grading information.
Parameters: item - |
saveMedia | public Long saveMedia(byte[] media, String mimeType)(Code) | | Parameters: media - Parameters: mimeType - |
saveOrUpdateAssessmentGrading | public void saveOrUpdateAssessmentGrading(AssessmentGradingIfc assessment)(Code) | | Parameters: assessment - |
saveTotalScores | public void saveTotalScores(List data, PublishedAssessmentIfc pub)(Code) | | Save the total scores.
Parameters: data - List of AssessmentGradingDataIfcs |
|
|