Java Doc for GradebookExternalAssessmentService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » service » gradebook » shared » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.service.gradebook.shared 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.service.gradebook.shared.GradebookExternalAssessmentService

All known Subclasses:   org.sakaiproject.component.gradebook.GradebookExternalAssessmentServiceImpl,
GradebookExternalAssessmentService
public interface GradebookExternalAssessmentService (Code)
This service is designed for use by external assessment engines. These use the Gradebook as a passive mirror of their own assignments and scores, letting Gradebook users see those assignments alongside Gradebook-managed assignments, and combine them when calculating a course grade. The Gradebook application itself will not modify externally-managed assignments and scores. WARNING: Because the Gradebook project team is not responsible for defining the external clients' requirements, the Gradebook service does not attempt to guess at their authorization needs. Our administrative and external-assessment methods simply follow orders and assume that the caller has taken the responsibility of "doing the right thing." DO NOT wrap these methods in an open web service!




Method Summary
public  voidaddExternalAssessment(String gradebookUid, String externalId, String externalUrl, String title, double points, Date dueDate, String externalServiceDescription)
     Add an externally-managed assessment to a gradebook to be treated as a read-only assignment.
public  booleanisAssignmentDefined(String gradebookUid, String assignmentTitle)
     Check to see if an assignment with the given name already exists in the given gradebook.
public  booleanisExternalAssignmentDefined(String gradebookUid, String externalId)
     Check to see if an assignment with the given external id already exists in the given gradebook.
public  booleanisGradebookDefined(String gradebookUid)
     Checks to see whether a gradebook with the given uid exists.
public  voidremoveExternalAssessment(String gradebookUid, String externalId)
     Remove the assessment reference from the gradebook.
public  voidsetExternalAssessmentToGradebookAssignment(String gradebookUid, String externalId)
     Break the connection between an external assessment engine and an assessment which it created, giving it up to the Gradebook application to control from now on.
public  voidupdateExternalAssessment(String gradebookUid, String externalId, String externalUrl, String title, double points, Date dueDate)
    
public  voidupdateExternalAssessmentScore(String gradebookUid, String externalId, String studentUid, Double points)
     Updates an external score for an external assignment in the gradebook.
public  voidupdateExternalAssessmentScores(String gradebookUid, String externalId, Map studentUidsToScores)
     Updates a set of external scores for an external assignment in the gradebook.



Method Detail
addExternalAssessment
public void addExternalAssessment(String gradebookUid, String externalId, String externalUrl, String title, double points, Date dueDate, String externalServiceDescription) throws GradebookNotFoundException, ConflictingAssignmentNameException, ConflictingExternalIdException, AssignmentHasIllegalPointsException(Code)
Add an externally-managed assessment to a gradebook to be treated as a read-only assignment. The gradebook application will not modify the assessment properties or create any scores for the assessment. Since each assignment in a given gradebook must have a unique name, conflicts are possible.
Parameters:
  externalId - some unique identifier which Samigo uses for the assessment.The externalId is globally namespaced within the gradebook, soif other apps decide to put assessments into the gradebook,they should prefix their externalIds with a well known (andunique within sakai) string.
Parameters:
  externalUrl - a link to go to if the instructor or student wants to look at the assessmentin Samigo; if null, no direct link will be provided in thegradebook, and the user will have to navigate to the assessmentwithin the other application
Parameters:
  points - this is the total amount of points available and must be greater than zero
Parameters:
  externalServiceDescription - what to display as the source of the assignment (e.g., "from Samigo")



isAssignmentDefined
public boolean isAssignmentDefined(String gradebookUid, String assignmentTitle) throws GradebookNotFoundException(Code)
Check to see if an assignment with the given name already exists in the given gradebook. This will give external assessment systems a chance to avoid the ConflictingAssignmentNameException.



isExternalAssignmentDefined
public boolean isExternalAssignmentDefined(String gradebookUid, String externalId) throws GradebookNotFoundException(Code)
Check to see if an assignment with the given external id already exists in the given gradebook. This will give external assessment systems a chance to avoid the ConflictingExternalIdException.
Parameters:
  gradebookUid - The gradebook's unique identifier
Parameters:
  externalId - The external assessment's external identifier



isGradebookDefined
public boolean isGradebookDefined(String gradebookUid)(Code)
Checks to see whether a gradebook with the given uid exists.
Parameters:
  gradebookUid - The gradebook UID to check Whether the gradebook exists



removeExternalAssessment
public void removeExternalAssessment(String gradebookUid, String externalId) throws GradebookNotFoundException, AssessmentNotFoundException(Code)
Remove the assessment reference from the gradebook. Although Samigo doesn't currently delete assessments, an instructor can retract an assessment to keep it from students. Since such an assessment would presumably no longer be used to calculate final grades, Samigo should also remove that assessment from the gradebook.
Parameters:
  externalId - the UID of the assessment



setExternalAssessmentToGradebookAssignment
public void setExternalAssessmentToGradebookAssignment(String gradebookUid, String externalId)(Code)
Break the connection between an external assessment engine and an assessment which it created, giving it up to the Gradebook application to control from now on.
Parameters:
  gradebookUid -
Parameters:
  externalId -



updateExternalAssessment
public void updateExternalAssessment(String gradebookUid, String externalId, String externalUrl, String title, double points, Date dueDate) throws GradebookNotFoundException, AssessmentNotFoundException, ConflictingAssignmentNameException, AssignmentHasIllegalPointsException(Code)



updateExternalAssessmentScore
public void updateExternalAssessmentScore(String gradebookUid, String externalId, String studentUid, Double points) throws GradebookNotFoundException, AssessmentNotFoundException(Code)
Updates an external score for an external assignment in the gradebook.
Parameters:
  gradebookUid - The Uid of the gradebook
Parameters:
  externalId - The external ID of the assignment/assessment
Parameters:
  studentUid - The unique id of the student
Parameters:
  points - The number of points earned on this assessment, or null if a scoreshould be removed



updateExternalAssessmentScores
public void updateExternalAssessmentScores(String gradebookUid, String externalId, Map studentUidsToScores) throws GradebookNotFoundException, AssessmentNotFoundException(Code)
Updates a set of external scores for an external assignment in the gradebook.
Parameters:
  gradebookUid - The Uid of the gradebook
Parameters:
  externalId - The external ID of the assignment/assessment
Parameters:
  studentUidsToScores - A map whose String keys are the unique ID strings of the students and whoseDouble values are points earned on this assessment or null if the scoreshould be removed.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.