org.kuali.student.enrollment.class2.courseoffering.service.impl
Class CourseOfferingServiceBusinessLogicImpl
java.lang.Object
org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingServiceBusinessLogicImpl
- All Implemented Interfaces:
- CourseOfferingServiceBusinessLogic
public class CourseOfferingServiceBusinessLogicImpl
- extends Object
- implements CourseOfferingServiceBusinessLogic
- Author:
- nwright
Method Summary |
protected List<ValidationResultInfo> |
compareCreditsToSchedule(CourseInfo course,
CourseOfferingInfo co)
|
StatusInfo |
generateRegistrationGroupsForCluster(String activityOfferingClusterId,
ContextInfo contextInfo)
Generates all possible registration groups for the Activity Offering
Cluster |
StatusInfo |
generateRegistrationGroupsForFormatOffering(String formatOfferingId,
ContextInfo contextInfo)
This is a bulk create method for generateRegistrationGroupsForAOC(). |
AcademicCalendarService |
getAcalService()
|
CourseOfferingService |
getCoService()
|
CourseService |
getCourseService()
|
RegistrationGroupCodeGeneratorFactory |
getRegistrationCodeGeneratorFactory()
|
SocRolloverResultItemInfo |
rolloverCourseOffering(String sourceCoId,
String targetTermId,
List<String> optionKeys,
ContextInfo context)
|
void |
setAcalService(AcademicCalendarService acalService)
|
void |
setCoService(CourseOfferingService coService)
|
void |
setCourseService(CourseService courseService)
|
void |
setRegistrationCodeGeneratorFactory(RegistrationGroupCodeGeneratorFactory registrationCodeGeneratorFactory)
|
CourseOfferingInfo |
updateCourseOfferingFromCanonical(String courseOfferingId,
List<String> optionKeys,
ContextInfo context)
|
List<ValidationResultInfo> |
validateCourseOfferingFromCanonical(CourseOfferingInfo courseOfferingInfo,
List<String> optionKeys,
ContextInfo context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CourseOfferingServiceBusinessLogicImpl
public CourseOfferingServiceBusinessLogicImpl()
getCoService
public CourseOfferingService getCoService()
setCoService
public void setCoService(CourseOfferingService coService)
getAcalService
public AcademicCalendarService getAcalService()
setAcalService
public void setAcalService(AcademicCalendarService acalService)
getCourseService
public CourseService getCourseService()
getRegistrationCodeGeneratorFactory
public RegistrationGroupCodeGeneratorFactory getRegistrationCodeGeneratorFactory()
setRegistrationCodeGeneratorFactory
public void setRegistrationCodeGeneratorFactory(RegistrationGroupCodeGeneratorFactory registrationCodeGeneratorFactory)
setCourseService
public void setCourseService(CourseService courseService)
rolloverCourseOffering
public SocRolloverResultItemInfo rolloverCourseOffering(String sourceCoId,
String targetTermId,
List<String> optionKeys,
ContextInfo context)
throws AlreadyExistsException,
DataValidationErrorException,
DoesNotExistException,
DataValidationErrorException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException,
ReadOnlyException
- Specified by:
rolloverCourseOffering
in interface CourseOfferingServiceBusinessLogic
- Throws:
AlreadyExistsException
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
ReadOnlyException
updateCourseOfferingFromCanonical
public CourseOfferingInfo updateCourseOfferingFromCanonical(String courseOfferingId,
List<String> optionKeys,
ContextInfo context)
throws DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException,
VersionMismatchException
- Specified by:
updateCourseOfferingFromCanonical
in interface CourseOfferingServiceBusinessLogic
- Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
VersionMismatchException
validateCourseOfferingFromCanonical
public List<ValidationResultInfo> validateCourseOfferingFromCanonical(CourseOfferingInfo courseOfferingInfo,
List<String> optionKeys,
ContextInfo context)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
validateCourseOfferingFromCanonical
in interface CourseOfferingServiceBusinessLogic
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
compareCreditsToSchedule
protected List<ValidationResultInfo> compareCreditsToSchedule(CourseInfo course,
CourseOfferingInfo co)
generateRegistrationGroupsForFormatOffering
public StatusInfo generateRegistrationGroupsForFormatOffering(String formatOfferingId,
ContextInfo contextInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException,
DataValidationErrorException
- Description copied from interface:
CourseOfferingServiceBusinessLogic
- This is a bulk create method for generateRegistrationGroupsForAOC(). Instead of working on a single Activity Offering Cluster it will
work on all of the AOC's of the format offering specified.
- Specified by:
generateRegistrationGroupsForFormatOffering
in interface CourseOfferingServiceBusinessLogic
- Parameters:
formatOfferingId
- The identifier of the format offering to generate registration groups for.
- Returns:
- status of the operation (success, failed)
- Throws:
DoesNotExistException
- The formatOfferingId does not refer to an existing FormatOffering.
InvalidParameterException
- The formatOfferingId or context is invalid.
MissingParameterException
- the formatOfferingId or context is missing.
OperationFailedException
- unable to complete request, can also occur when verification of any AOC in the format offering fails.
PermissionDeniedException
- authorization failure
DataValidationErrorException
- verification of any of the underlying Activity Offering Cluster's failed.
generateRegistrationGroupsForCluster
public StatusInfo generateRegistrationGroupsForCluster(String activityOfferingClusterId,
ContextInfo contextInfo)
throws DoesNotExistException,
DataValidationErrorException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Description copied from interface:
CourseOfferingServiceBusinessLogic
- Generates all possible registration groups for the Activity Offering
Cluster
- Specified by:
generateRegistrationGroupsForCluster
in interface CourseOfferingServiceBusinessLogic
- Parameters:
activityOfferingClusterId
- identifier of the Activity Offering
ClustercontextInfo
- Context information containing the
principalId and locale information about
the caller of service operation
- Returns:
- status of the operation (success, failed)
- Throws:
DoesNotExistException
- activityOfferingClusterId does not
exist
DataValidationErrorException
- verification of the Activity Offering Cluster failed.
InvalidParameterException
- invalid contextInfo
MissingParameterException
- activityOfferingClusterId or
contextInfo is missing or null
OperationFailedException
- unable to complete request
PermissionDeniedException
- an authorization failure has occurred
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.