org.sakaiproject.component.gradebook
Class GradebookFrameworkServiceImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.sakaiproject.component.gradebook.BaseHibernateManager
              extended by org.sakaiproject.component.gradebook.GradebookFrameworkServiceImpl
All Implemented Interfaces:
GradebookFrameworkService, org.springframework.beans.factory.InitializingBean

public class GradebookFrameworkServiceImpl
extends BaseHibernateManager
implements GradebookFrameworkService


Field Summary
static String UID_OF_DEFAULT_GRADING_SCALE_PROPERTY
           
 
Fields inherited from class org.sakaiproject.component.gradebook.BaseHibernateManager
authn, eventTrackingService, externalAssessmentService, MAX_NUMBER_OF_SQL_PARAMETERS_IN_LIST, propertiesMap, sectionAwareness, serverConfigurationService
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
GradebookFrameworkServiceImpl()
           
 
Method Summary
 void addGradebook(String uid, String name)
           
 void deleteGradebook(String uid)
           
 void setAvailableGradingScales(Collection gradingScaleDefinitions)
           
 void setDefaultGradingScale(String uid)
           
 
Methods inherited from class org.sakaiproject.component.gradebook.BaseHibernateManager
addPermission, calculateEquivalentPercent, calculateEquivalentPointValueForPercent, convertPointsToLetterGrade, convertPointsToPercentage, createAssignment, createAssignmentForCategory, createCategory, createDefaultLetterGradePercentMapping, createOrUpdateDefaultLetterGradePercentMapping, createUngradedAssignment, createUngradedAssignmentForCategory, deletePermission, filterGradeRecordsByStudents, finalizeNullGradeRecords, getAllStudentUids, getAssignment, getAssignmentGradeRecord, getAssignments, getAssignmentsForCategory, getAssignmentWithoutStats, getAssignmentWithoutStats, getAuthn, getCategories, getCategoriesWithAssignments, getCategory, getComments, getCountedStudentGradeRecords, getCourseGrade, getCourseGradeRecord, getDefaultLetterGradePercentMapping, getEventTrackingService, getGradebook, getGradebookExternalAssessmentService, getGradebookUid, getLetterGradePercentMapping, getPermissionsForGB, getPermissionsForGBForCategoryIds, getPermissionsForUser, getPermissionsForUserAnyCategory, getPermissionsForUserAnyGroup, getPermissionsForUserAnyGroupAnyCategory, getPermissionsForUserAnyGroupForCategory, getPermissionsForUserForCategory, getPermissionsForUserForGoupsAnyCategory, getPermissionsForUserForGroup, getPropertiesMap, getPropertyValue, getSectionAwareness, getServerConfigurationService, getUserUid, getVisibleExternalAssignments, isAssignmentDefined, isExplicitlyEnteredCourseGradeRecords, isGradebookDefined, postEvent, removeCategory, saveOrUpdateLetterGradePercentMapping, setAuthn, setEventTrackingService, setGradebookExternalAssessmentService, setPropertyValue, setSectionAwareness, setServerConfigurationService, studentCanView, updateAssignment, updateCategory, updateCategory, updateGradebook, updatePermission, updatePermission, validateLetterGradeMapping
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.service.gradebook.shared.GradebookFrameworkService
isGradebookDefined
 

Field Detail

UID_OF_DEFAULT_GRADING_SCALE_PROPERTY

public static final String UID_OF_DEFAULT_GRADING_SCALE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

GradebookFrameworkServiceImpl

public GradebookFrameworkServiceImpl()
Method Detail

addGradebook

public void addGradebook(String uid,
                         String name)
Specified by:
addGradebook in interface GradebookFrameworkService

setAvailableGradingScales

public void setAvailableGradingScales(Collection gradingScaleDefinitions)
Specified by:
setAvailableGradingScales in interface GradebookFrameworkService

setDefaultGradingScale

public void setDefaultGradingScale(String uid)
Specified by:
setDefaultGradingScale in interface GradebookFrameworkService

deleteGradebook

public void deleteGradebook(String uid)
                     throws GradebookNotFoundException
Specified by:
deleteGradebook in interface GradebookFrameworkService
Throws:
GradebookNotFoundException


Copyright © 2003-2013 Sakai Project. All Rights Reserved.