public class ExamOfferingServiceFacadeImpl extends Object implements ExamOfferingServiceFacade
RECREATE_OPTION_KEY| Constructor and Description |
|---|
ExamOfferingServiceFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelFinalExamOfferings(String courseOfferingId,
ContextInfo context) |
void |
changeFinalExamOfferingsState(String courseOfferingId,
String stateKey,
ContextInfo context)
This method change all the states of the exam offerings associated with the given courseOfferingId to
the given stateKey.
|
StatusInfo |
generateFinalExamOffering(CourseOfferingInfo courseOfferingInfo,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context)
This method generates new Exam Offerings for the Course Offering for the given Course Offering Id based on
the exam drivers.
|
StatusInfo |
generateFinalExamOffering(String courseOfferingId,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context)
This method generates new Exam Offerings for the Course Offering for the given Course Offering Id based on
the exam drivers.
|
StatusInfo |
generateFinalExamOfferingForAO(ActivityOfferingInfo activityOfferingInfo,
String termId,
String examPeriodID,
List<String> optionKeys,
ContextInfo context)
This method is used to create exam offerings for new activity offerings that are added to the course offering after
the rollover process was completed.
|
StatusInfo |
generateFinalExamOfferingForAO(CourseOfferingInfo courseOfferingInfo,
ActivityOfferingInfo activityOfferingInfo,
String termId,
String examPeriodID,
String finalExamLevelTypeKey,
List<String> optionKeys,
ContextInfo context)
This method is used to create exam offerings for new activity offerings that are added to the course offering after
the rollover process was completed.
|
StatusInfo |
generateFinalExamOfferingOptimized(CourseOfferingInfo courseOfferingInfo,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context,
Map<String,List<ActivityOfferingInfo>> foIdToListOfAOs)
This method generates new Exam Offerings for the Course Offering for the given Course Offering Id based on
the exam drivers.
|
void |
generateFinalExamOfferingsPerAO(String courseOfferingId,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context)
Generates an Exam Offering for each Activity Offering.
|
void |
generateFinalExamOfferingsPerAOOptimized(String courseOfferingId,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context,
Map<String,List<ActivityOfferingInfo>> foIdToListOfAOs)
An "optimized" version of generateFinalExamOfferingsPerAO where a map of foId to a list of AOids
is passed in (for this CO) to avoid additional calls to the DB.
|
void |
generateFinalExamOfferingsPerCO(String courseOfferingId,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context) |
void |
generateFinalExamOfferingsPerCOOptimized(String courseOfferingId,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context,
Map<String,List<ActivityOfferingInfo>> foIdToListOfAO)
An "optimized" version of generateFinalExamOfferingsPerCO where a map of foId to a list of AOids
is passed in (for this CO) to avoid additional calls to the DB.
|
void |
generateFinalExamOfferingsPerFO(String courseOfferingId,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context)
Generates a single Exam Offering per Format Offering.
|
void |
generateFinalExamOfferingsPerFOOptimized(String courseOfferingId,
String termId,
String examPeriodId,
List<String> optionKeys,
ContextInfo context,
Map<String,List<ActivityOfferingInfo>> foIdToListOfAOs)
An "optimized" version of generateFinalExamOfferingsPerFO where a map of foId to a list of AOids
is passed in (for this CO) to avoid additional calls to the DB.
|
AtpService |
getAtpService() |
CourseOfferingService |
getCourseOfferingService() |
List<ExamOfferingRelationInfo> |
getExamOfferingRelationsByCourseOffering(String courseOfferingId,
ContextInfo contextInfo)
Retrieves a list of ExamOfferingRelations to the given FormatOffering.
|
ExamOfferingService |
getExamOfferingService() |
String |
getExamPeriodId(String termID,
ContextInfo context)
This method retrieves the exam period id for the term that the given course offering is attached to.
|
ExamService |
getExamService() |
CourseOfferingSetService |
getSocService() |
TypeService |
getTypeService() |
boolean |
isSetLocation()
This method retrieves the boolea value to indicate if the execution process should or not set the location on the RDL.
|
void |
removeFinalExamOfferingsFromCO(String courseOfferingId,
ContextInfo context)
This method removes all Exam Offering from the Course Offering for the given Coure Offering Id.
|
void |
setAtpService(AtpService atpService) |
void |
setCourseOfferingService(CourseOfferingService courseOfferingService) |
void |
setExamOfferingService(ExamOfferingService examOfferingService) |
void |
setExamService(ExamService examService) |
void |
setSetLocation(boolean setLocation) |
void |
setSocService(CourseOfferingSetService socService) |
void |
setTypeService(TypeService typeService) |
public ExamOfferingServiceFacadeImpl()
public StatusInfo generateFinalExamOffering(String courseOfferingId, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
ExamOfferingServiceFacadepublic StatusInfo generateFinalExamOffering(CourseOfferingInfo courseOfferingInfo, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
ExamOfferingServiceFacadepublic StatusInfo generateFinalExamOfferingOptimized(CourseOfferingInfo courseOfferingInfo, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context, Map<String,List<ActivityOfferingInfo>> foIdToListOfAOs) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
ExamOfferingServiceFacadepublic StatusInfo generateFinalExamOfferingForAO(ActivityOfferingInfo activityOfferingInfo, String termId, String examPeriodID, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
ExamOfferingServiceFacadepublic StatusInfo generateFinalExamOfferingForAO(CourseOfferingInfo courseOfferingInfo, ActivityOfferingInfo activityOfferingInfo, String termId, String examPeriodID, String finalExamLevelTypeKey, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
ExamOfferingServiceFacadepublic String getExamPeriodId(String termID, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
ExamOfferingServiceFacadegetExamPeriodId in interface ExamOfferingServiceFacadeDoesNotExistExceptionInvalidParameterExceptionMissingParameterExceptionOperationFailedExceptionPermissionDeniedExceptionpublic void generateFinalExamOfferingsPerCO(String courseOfferingId, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException, ReadOnlyException, DataValidationErrorException
public void generateFinalExamOfferingsPerCOOptimized(String courseOfferingId, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context, Map<String,List<ActivityOfferingInfo>> foIdToListOfAO) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException, ReadOnlyException, DataValidationErrorException
ExamOfferingServiceFacadegenerateFinalExamOfferingsPerCOOptimized in interface ExamOfferingServiceFacadefoIdToListOfAO - For the courseOfferingId, this is a map from FO Ids (of the CO) to the AO
Infos belonging to the FO. Saves a service call by passing this info in.PermissionDeniedExceptionMissingParameterExceptionInvalidParameterExceptionOperationFailedExceptionDoesNotExistExceptionReadOnlyExceptionDataValidationErrorExceptionpublic List<ExamOfferingRelationInfo> getExamOfferingRelationsByCourseOffering(String courseOfferingId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, DoesNotExistException, PermissionDeniedException
ExamOfferingServiceFacadegetExamOfferingRelationsByCourseOffering in interface ExamOfferingServiceFacadecourseOfferingId - the identifier for the CourseOfferingcontextInfo - Context information containing the principalId and locale information about the caller of service operationInvalidParameterException - contextInfo is invalidMissingParameterException - formatOfferingId or contextInfo is missing or nullOperationFailedException - unable to complete requestDoesNotExistExceptionPermissionDeniedException - an authorization failure occurredpublic void generateFinalExamOfferingsPerFO(String courseOfferingId, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException, ReadOnlyException, DataValidationErrorException
ExamOfferingServiceFacadepublic void generateFinalExamOfferingsPerFOOptimized(String courseOfferingId, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context, Map<String,List<ActivityOfferingInfo>> foIdToListOfAOs) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException, ReadOnlyException, DataValidationErrorException
ExamOfferingServiceFacadegenerateFinalExamOfferingsPerFOOptimized in interface ExamOfferingServiceFacadefoIdToListOfAOs - For the courseOfferingId, this is a map from FO Ids (of the CO) to the AO
Infos belonging to the FO. Saves a service call by passing this info in.PermissionDeniedExceptionMissingParameterExceptionInvalidParameterExceptionOperationFailedExceptionDoesNotExistExceptionReadOnlyExceptionDataValidationErrorExceptionpublic void generateFinalExamOfferingsPerAO(String courseOfferingId, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException, ReadOnlyException, DataValidationErrorException
ExamOfferingServiceFacadepublic void generateFinalExamOfferingsPerAOOptimized(String courseOfferingId, String termId, String examPeriodId, List<String> optionKeys, ContextInfo context, Map<String,List<ActivityOfferingInfo>> foIdToListOfAOs) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException, ReadOnlyException, DataValidationErrorException
ExamOfferingServiceFacadegenerateFinalExamOfferingsPerAOOptimized in interface ExamOfferingServiceFacadefoIdToListOfAOs - For the courseOfferingId, this is a map from FO Ids (of the CO) to the AO
Infos belonging to the FO. Saves a service call by passing this info in.PermissionDeniedExceptionMissingParameterExceptionInvalidParameterExceptionOperationFailedExceptionDoesNotExistExceptionReadOnlyExceptionDataValidationErrorExceptionpublic void removeFinalExamOfferingsFromCO(String courseOfferingId, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException
ExamOfferingServiceFacadepublic void cancelFinalExamOfferings(String courseOfferingId, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException
public void changeFinalExamOfferingsState(String courseOfferingId, String stateKey, ContextInfo context) throws PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException, DoesNotExistException
ExamOfferingServiceFacadepublic AtpService getAtpService()
public void setAtpService(AtpService atpService)
public ExamService getExamService()
public void setExamService(ExamService examService)
public CourseOfferingService getCourseOfferingService()
public void setCourseOfferingService(CourseOfferingService courseOfferingService)
public ExamOfferingService getExamOfferingService()
public void setExamOfferingService(ExamOfferingService examOfferingService)
public CourseOfferingSetService getSocService()
public void setSocService(CourseOfferingSetService socService)
public TypeService getTypeService()
public void setTypeService(TypeService typeService)
public boolean isSetLocation()
ExamOfferingServiceFacadeisSetLocation in interface ExamOfferingServiceFacadepublic void setSetLocation(boolean setLocation)
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.