Java Doc for BaseHibernateManager.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » component » gradebook » 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.component.gradebook 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.component.gradebook.BaseHibernateManager

All known Subclasses:   org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl,  org.sakaiproject.component.gradebook.GradebookFrameworkServiceImpl,  org.sakaiproject.tool.gradebook.business.impl.GradebookManagerHibernateImpl,  org.sakaiproject.component.gradebook.GradebookExternalAssessmentServiceImpl,
BaseHibernateManager
abstract public class BaseHibernateManager extends HibernateDaoSupport (Code)
Provides methods which are shared between service business logic and application business logic, but not exposed to external callers.


Field Summary
public static  intMAX_NUMBER_OF_SQL_PARAMETERS_IN_LIST
    
protected  Authnauthn
    
protected  EventTrackingServiceeventTrackingService
    
protected  MappropertiesMap
    
protected  SectionAwarenesssectionAwareness
    


Method Summary
public  LongcreateAssignment(Long gradebookId, String name, Double points, Date dueDate, Boolean isNotCounted, Boolean isReleased)
    
protected  ListfilterGradeRecordsByStudents(Collection gradeRecords, Collection studentUids)
     Oracle has a low limit on the maximum length of a parameter list in SQL queries of the form "WHERE tbl.col IN (:paramList)". Since enrollment lists can sometimes be very long, we've replaced such queries with full selects followed by filtering.
protected  SetgetAllStudentUids(String gradebookUid)
    
protected  AssignmentGradeRecordgetAssignmentGradeRecord(Assignment assignment, String studentUid, Session session)
    
protected  AssignmentgetAssignmentWithoutStats(String gradebookUid, String assignmentName, Session session)
    
protected  ListgetAssignments(Long gradebookId, Session session)
    
public  AuthngetAuthn()
    
protected  ListgetCountedStudentGradeRecords(Long gradebookId, String studentId, Session session)
    
public  CourseGradegetCourseGrade(Long gradebookId)
    
protected  CourseGradeRecordgetCourseGradeRecord(Gradebook gradebook, String studentId, Session session)
     Gets the course grade record for a student, or null if it does not yet exist.
protected  EventTrackingServicegetEventTrackingService()
    
public  GradebookgetGradebook(String uid)
    
public  StringgetGradebookUid(Long id)
    
protected  MapgetPropertiesMap()
    
public  StringgetPropertyValue(String name)
    
protected  SectionAwarenessgetSectionAwareness()
    
protected  StringgetUserUid()
    
public  booleanisExplicitlyEnteredCourseGradeRecords(Long gradebookId)
    
public  booleanisGradebookDefined(String gradebookUid)
    
public  voidpostEvent(String message, String objectReference)
    
public  voidsetAuthn(Authn authn)
    
public  voidsetEventTrackingService(EventTrackingService eventTrackingService)
    
public  voidsetPropertyValue(String name, String value)
    
public  voidsetSectionAwareness(SectionAwareness sectionAwareness)
    
protected  voidupdateAssignment(Assignment assignment, Session session)
    
public  voidupdateGradebook(Gradebook gradebook)
    

Field Detail
MAX_NUMBER_OF_SQL_PARAMETERS_IN_LIST
public static int MAX_NUMBER_OF_SQL_PARAMETERS_IN_LIST(Code)



authn
protected Authn authn(Code)



eventTrackingService
protected EventTrackingService eventTrackingService(Code)



propertiesMap
protected Map propertiesMap(Code)



sectionAwareness
protected SectionAwareness sectionAwareness(Code)





Method Detail
createAssignment
public Long createAssignment(Long gradebookId, String name, Double points, Date dueDate, Boolean isNotCounted, Boolean isReleased) throws ConflictingAssignmentNameException, StaleObjectModificationException(Code)



filterGradeRecordsByStudents
protected List filterGradeRecordsByStudents(Collection gradeRecords, Collection studentUids)(Code)
Oracle has a low limit on the maximum length of a parameter list in SQL queries of the form "WHERE tbl.col IN (:paramList)". Since enrollment lists can sometimes be very long, we've replaced such queries with full selects followed by filtering. This helper method filters out unwanted grade records. (Typically they're not wanted because they're either no longer officially enrolled in the course or they're not members of the selected section.)



getAllStudentUids
protected Set getAllStudentUids(String gradebookUid)(Code)



getAssignmentGradeRecord
protected AssignmentGradeRecord getAssignmentGradeRecord(Assignment assignment, String studentUid, Session session) throws HibernateException(Code)



getAssignmentWithoutStats
protected Assignment getAssignmentWithoutStats(String gradebookUid, String assignmentName, Session session) throws HibernateException(Code)



getAssignments
protected List getAssignments(Long gradebookId, Session session) throws HibernateException(Code)



getAuthn
public Authn getAuthn()(Code)



getCountedStudentGradeRecords
protected List getCountedStudentGradeRecords(Long gradebookId, String studentId, Session session) throws HibernateException(Code)



getCourseGrade
public CourseGrade getCourseGrade(Long gradebookId)(Code)



getCourseGradeRecord
protected CourseGradeRecord getCourseGradeRecord(Gradebook gradebook, String studentId, Session session) throws HibernateException(Code)
Gets the course grade record for a student, or null if it does not yet exist.
Parameters:
  studentId - The student ID
Parameters:
  session - The hibernate session A List of grade records
throws:
  HibernateException -



getEventTrackingService
protected EventTrackingService getEventTrackingService()(Code)



getGradebook
public Gradebook getGradebook(String uid) throws GradebookNotFoundException(Code)



getGradebookUid
public String getGradebookUid(Long id)(Code)



getPropertiesMap
protected Map getPropertiesMap()(Code)



getPropertyValue
public String getPropertyValue(String name)(Code)



getSectionAwareness
protected SectionAwareness getSectionAwareness()(Code)



getUserUid
protected String getUserUid()(Code)



isExplicitlyEnteredCourseGradeRecords
public boolean isExplicitlyEnteredCourseGradeRecords(Long gradebookId)(Code)



isGradebookDefined
public boolean isGradebookDefined(String gradebookUid)(Code)



postEvent
public void postEvent(String message, String objectReference)(Code)



setAuthn
public void setAuthn(Authn authn)(Code)



setEventTrackingService
public void setEventTrackingService(EventTrackingService eventTrackingService)(Code)



setPropertyValue
public void setPropertyValue(String name, String value)(Code)



setSectionAwareness
public void setSectionAwareness(SectionAwareness sectionAwareness)(Code)



updateAssignment
protected void updateAssignment(Assignment assignment, Session session) throws ConflictingAssignmentNameException, HibernateException(Code)



updateGradebook
public void updateGradebook(Gradebook gradebook) throws StaleObjectModificationException(Code)



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