org.kuali.student.enrollment.class2.courseoffering.service.impl
Class CourseOfferingManagementViewHelperServiceImpl
java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingManagementViewHelperServiceImpl
- All Implemented Interfaces:
- Serializable, ViewHelperService, CourseOfferingManagementViewHelperService
public class CourseOfferingManagementViewHelperServiceImpl
- extends ViewHelperServiceImpl
- implements CourseOfferingManagementViewHelperService
- See Also:
- Serialized Form
Method Summary |
void |
changeActivityOfferingsState(List<ActivityOfferingWrapper> aoList,
CourseOfferingInfo courseOfferingInfo,
String selectedAction)
Performs |
ActivityOfferingWrapper |
convertAOInfoToWrapper(ActivityOfferingInfo aoInfo)
|
void |
createActivityOfferings(String formatId,
String activityId,
int noOfActivityOfferings,
CourseOfferingManagementForm form)
|
List<CourseOfferingInfo> |
findCourseOfferingsByTermAndCourseOfferingCode(String termCode,
String courseOfferingCode,
CourseOfferingManagementForm form)
|
List<TermInfo> |
findTermByTermCode(String termCode)
|
ContextInfo |
getContextInfo()
|
CourseOfferingService |
getCourseOfferingService()
|
CourseService |
getCourseService()
|
protected LRCService |
getLrcService()
|
RoomService |
getRoomService()
|
SchedulingService |
getSchedulingService()
|
StateService |
getStateService()
|
TypeService |
getTypeService()
|
void |
loadActivityOfferingsByCourseOffering(CourseOfferingInfo theCourseOfferingInfo,
CourseOfferingManagementForm form)
|
void |
loadCourseOfferingsByTermAndSubjectCode(String termId,
String subjectCode,
CourseOfferingManagementForm form)
|
void |
loadPreviousAndNextCourseOffering(CourseOfferingManagementForm form,
CourseOfferingInfo courseOfferingInfo)
|
void |
markCourseOfferingsForScheduling(List<CourseOfferingEditWrapper> coWrappers)
Same as markCourseOfferingsForScheduling() but defaults isChecked() == true. |
void |
markCourseOfferingsForScheduling(List<CourseOfferingEditWrapper> coWrappers,
boolean checkedOnly)
Examines a List of CourseOffering wrappers and changes the state of each "checked" AO (meaning the
CO was selected on the UI) from "Draft" to "Approved". |
void |
validateRegistrationGroupsForFormatOffering(List<RegistrationGroupInfo> rgInfos,
String formatOfferingId,
CourseOfferingManagementForm form)
|
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl |
addClientSideStateForComponent, addCustomContainerComponents, addLine, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildGrowlScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getCommonContext, getConfigurationService, getDataDictionaryService, getExpressionEvaluatorService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, retrieveEditModesAndActionFlags, runComponentModifiers, setConfigurationService, setDataDictionaryService, setExpressionEvaluatorService, setViewContext, setViewDictionaryService, syncClientSideStateForComponent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CourseOfferingManagementViewHelperServiceImpl
public CourseOfferingManagementViewHelperServiceImpl()
findTermByTermCode
public List<TermInfo> findTermByTermCode(String termCode)
throws Exception
- Specified by:
findTermByTermCode
in interface CourseOfferingManagementViewHelperService
- Parameters:
termCode
- Each institution uses a code to represent a term. At UW, the code appears to be three letters
followed by a 4-digit year, e.g., FAL2011, WIN2011, etc.
- Returns:
- List of terms which match the term code (should be a list of one TermInfo)
- Throws:
Exception
loadCourseOfferingsByTermAndSubjectCode
public void loadCourseOfferingsByTermAndSubjectCode(String termId,
String subjectCode,
CourseOfferingManagementForm form)
throws Exception
- Specified by:
loadCourseOfferingsByTermAndSubjectCode
in interface CourseOfferingManagementViewHelperService
- Throws:
Exception
findCourseOfferingsByTermAndCourseOfferingCode
public List<CourseOfferingInfo> findCourseOfferingsByTermAndCourseOfferingCode(String termCode,
String courseOfferingCode,
CourseOfferingManagementForm form)
throws Exception
- Specified by:
findCourseOfferingsByTermAndCourseOfferingCode
in interface CourseOfferingManagementViewHelperService
- Throws:
Exception
loadPreviousAndNextCourseOffering
public void loadPreviousAndNextCourseOffering(CourseOfferingManagementForm form,
CourseOfferingInfo courseOfferingInfo)
- Specified by:
loadPreviousAndNextCourseOffering
in interface CourseOfferingManagementViewHelperService
createActivityOfferings
public void createActivityOfferings(String formatId,
String activityId,
int noOfActivityOfferings,
CourseOfferingManagementForm form)
- Specified by:
createActivityOfferings
in interface CourseOfferingManagementViewHelperService
loadActivityOfferingsByCourseOffering
public void loadActivityOfferingsByCourseOffering(CourseOfferingInfo theCourseOfferingInfo,
CourseOfferingManagementForm form)
throws Exception
- Specified by:
loadActivityOfferingsByCourseOffering
in interface CourseOfferingManagementViewHelperService
- Throws:
Exception
changeActivityOfferingsState
public void changeActivityOfferingsState(List<ActivityOfferingWrapper> aoList,
CourseOfferingInfo courseOfferingInfo,
String selectedAction)
throws Exception
- Performs
- Specified by:
changeActivityOfferingsState
in interface CourseOfferingManagementViewHelperService
- Parameters:
aoList
- The list of AOs to evaluate.selectedAction
- The state change action to perform.
- Throws:
Exception
markCourseOfferingsForScheduling
public void markCourseOfferingsForScheduling(List<CourseOfferingEditWrapper> coWrappers)
throws Exception
- Same as markCourseOfferingsForScheduling() but defaults isChecked() == true.
- Specified by:
markCourseOfferingsForScheduling
in interface CourseOfferingManagementViewHelperService
- Parameters:
coWrappers
- The list of CourseOffering wrappers.
- Throws:
Exception
markCourseOfferingsForScheduling
public void markCourseOfferingsForScheduling(List<CourseOfferingEditWrapper> coWrappers,
boolean checkedOnly)
throws Exception
- Examines a List of CourseOffering wrappers and changes the state of each "checked" AO (meaning the
CO was selected on the UI) from "Draft" to "Approved". If the AO has a state other than "Draft" the AO is ignored.
Also, changes the state of the CourseOffering if appropriate.
- Parameters:
coWrappers
- The list of CourseOfferings.checkedOnly
- True if the CO wrapper isChecked() flag should be respected.
- Throws:
Exception
validateRegistrationGroupsForFormatOffering
public void validateRegistrationGroupsForFormatOffering(List<RegistrationGroupInfo> rgInfos,
String formatOfferingId,
CourseOfferingManagementForm form)
throws Exception
- Specified by:
validateRegistrationGroupsForFormatOffering
in interface CourseOfferingManagementViewHelperService
- Throws:
Exception
convertAOInfoToWrapper
public ActivityOfferingWrapper convertAOInfoToWrapper(ActivityOfferingInfo aoInfo)
throws Exception
- Specified by:
convertAOInfoToWrapper
in interface CourseOfferingManagementViewHelperService
- Throws:
Exception
getContextInfo
public ContextInfo getContextInfo()
getCourseOfferingService
public CourseOfferingService getCourseOfferingService()
getCourseService
public CourseService getCourseService()
getTypeService
public TypeService getTypeService()
getStateService
public StateService getStateService()
getLrcService
protected LRCService getLrcService()
getSchedulingService
public SchedulingService getSchedulingService()
getRoomService
public RoomService getRoomService()
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.