01: /**********************************************************************************
02: * $URL$
03: * $Id$
04: ***********************************************************************************
05: *
06: * Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the"License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.tool.assessment.shared.api.grading;
21:
22: import org.sakaiproject.tool.assessment.data.ifc.assessment.PublishedAssessmentIfc;
23: import org.sakaiproject.tool.assessment.data.ifc.grading.AssessmentGradingIfc;
24:
25: /**
26: * The GradebookServiceAPI describes an interface for gradebook information
27: * for published assessments.
28: *
29: * @author Ed Smiley <esmiley@stanford.edu>
30: */
31: public interface GradebookServiceAPI {
32: /**
33: *
34: * @param publishedAssessment
35: * @return
36: */
37: public boolean addToGradebook(
38: PublishedAssessmentIfc publishedAssessment);
39:
40: /**
41: *
42: * @param publishedAssessment
43: * @return
44: */
45: public boolean isAssignmentDefined(String assessmentTitle);
46:
47: /**
48: *
49: * @param siteId
50: * @param publishedAssessmentId
51: */
52: public void removeExternalAssessment(String siteId,
53: String publishedAssessmentId);
54:
55: /**
56: *
57: * @param ag
58: * @param agentIdString
59: */
60: public void updateExternalAssessment(AssessmentGradingIfc ag,
61: String agentIdString);
62:
63: /**
64: *
65: * @param siteId
66: * @return
67: */
68: public boolean gradebookExists(String siteId);
69:
70: /**
71: *
72: * @param ag
73: */
74: public void updateExternalAssessmentScore(AssessmentGradingIfc ag);
75:
76: }
|