public class ARGCourseOfferingManagementViewHelperServiceImpl extends CO_AO_RG_ViewHelperServiceImpl implements ARGCourseOfferingManagementViewHelperService
roomService, schedulingService, stateService, typeService| Constructor and Description |
|---|
ARGCourseOfferingManagementViewHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_performAOCompletePerClusterValidation(List<String> aoTypeKeys,
List<ActivityOfferingInfo> aoList,
ActivityOfferingClusterWrapper aoClusterWrapper,
int clusterIndex,
ContextInfo contextInfo)
This method will indicate to the user if the cluster canot be generated because the AO Set does not contain
enough activities that meet the requirements of the FormatOffering
|
void |
approveActivityOfferings(ARGCourseOfferingManagementForm form) |
void |
approveCourseOfferings(ARGCourseOfferingManagementForm form) |
void |
build_AOs_RGs_AOCs_Lists_For_TheCourseOffering(ARGCourseOfferingManagementForm form,
CourseOfferingWrapper theCourseOffering)
This method fetches, prepares and sets
activityWrapperList for View All Activities tab,
clusterResultList for View byClusters
rgResultList for View Registration Groupsall the course offerings for a term and course/subject code.
|
void |
createActivityOfferings(String formatOfferingId,
String activityId,
int noOfActivityOfferings,
ARGCourseOfferingManagementForm form) |
void |
deleteCourseOfferings(ARGCourseOfferingManagementForm form) |
void |
draftActivityOfferings(ARGCourseOfferingManagementForm form) |
List<ActivityOfferingWrapper> |
getActivityOfferingsByCourseOfferingId(String courseOfferingId,
ARGCourseOfferingManagementForm form) |
AtpService |
getAtpService() |
CourseOfferingService |
getCourseOfferingService() |
CourseService |
getCourseService() |
static org.kuali.rice.kim.api.identity.IdentityService |
getIdentityService() |
protected org.kuali.rice.kim.api.identity.entity.EntityDefaultQueryResults |
getInstructorsInfoFromKim(List<String> principalIds) |
static LprService |
getLprService() |
protected LRCService |
getLrcService() |
SearchService |
getSearchService() |
CourseOfferingSetService |
getSocService() |
void |
loadActivityOfferingsByCourseOffering(CourseOfferingInfo theCourseOfferingInfo,
ARGCourseOfferingManagementForm form) |
protected void |
loadCourseOfferings(SearchRequestInfo searchRequest,
ARGCourseOfferingManagementForm form)
This method fetches all the course offerings for a term and course/subject code.
|
void |
loadCourseOfferingsByTermAndCourseCode(String termId,
String courseCode,
ARGCourseOfferingManagementForm form)
This method loads all the course offerings for a term and course code.
|
void |
loadCourseOfferingsByTermAndSubjectCode(String termId,
String subjectCode,
ARGCourseOfferingManagementForm form)
This method loads all the course offerings for a term and subject area/code.
|
void |
loadPreviousAndNextCourseOffering(ARGCourseOfferingManagementForm form)
This method loads the previous and next course offerings for navigation purpose.
|
void |
markCourseOfferingsForScheduling(List<CourseOfferingListSectionWrapper> coWrappers,
String viewId,
String socStateKey,
boolean checkedOnly)
Notes by Bonnie: The following implementation tries to support "Approve for Scheduling" in two cases historically:
1)when some COs are checked and approve for scheduling link or button is clicked
vs.
|
void |
populateTerm(ARGCourseOfferingManagementForm form)
This method fetches the
TermInfo and validate for exact match |
protected void |
processAosData(String coId,
Map<String,ActivityOfferingClusterWrapper> clusterMap)
After the performance improvements, the clusterMap does not contain set information.
|
protected void |
processScheduleRequestsForAos(Collection<String> aoIdsWithoutSch,
Map<String,List<ScheduleRequestCalcContainer>> ao2sch,
ContextInfo contextInfo)
Add scheduling information to the map if there are no "actual" schedules already in place for a particular AO.
|
TimeSlotInfo |
toTimeSlotInfo(ScheduleCalcContainer sched) |
convertAOInfoToWrapper, getRoomService, getSchedulingServiceconvertServiceExceptionsToUI, createContextInfo, getHelper, getStateInfo, getStateService, getTypeInfo, getTypeService, setHelperClassesaddCustomContainerComponents, addLine, adjustIdIfNecessary, 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, syncClientSideStateForComponentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAOInfoToWrapperconvertServiceExceptionsToUI, createContextInfo, getStateInfo, getTypeInfoapplyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, getCommonContext, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResultspublic ARGCourseOfferingManagementViewHelperServiceImpl()
public void populateTerm(ARGCourseOfferingManagementForm form) throws Exception
TermInfo and validate for exact matchpopulateTerm in interface ARGCourseOfferingManagementViewHelperServiceform - input ARGCourseOfferingManagementFormExceptionpublic void loadCourseOfferingsByTermAndCourseCode(String termId, String courseCode, ARGCourseOfferingManagementForm form) throws Exception
loadCourseOfferingsByTermAndCourseCode in interface ARGCourseOfferingManagementViewHelperServicetermId - Term IdcourseCode - Course Codeform - Input FormExceptionpublic void loadCourseOfferingsByTermAndSubjectCode(String termId, String subjectCode, ARGCourseOfferingManagementForm form) throws Exception
loadCourseOfferingsByTermAndSubjectCode in interface ARGCourseOfferingManagementViewHelperServicetermId - term idsubjectCode - subject areaform - course offering management formExceptionpublic void build_AOs_RGs_AOCs_Lists_For_TheCourseOffering(ARGCourseOfferingManagementForm form, CourseOfferingWrapper theCourseOffering) throws Exception
build_AOs_RGs_AOCs_Lists_For_TheCourseOffering in interface ARGCourseOfferingManagementViewHelperServiceform - input formtheCourseOffering - course offeringExceptionprotected void processScheduleRequestsForAos(Collection<String> aoIdsWithoutSch, Map<String,List<ScheduleRequestCalcContainer>> ao2sch, ContextInfo contextInfo) throws Exception
aoIdsWithoutSch - list of aoIds without schedule informationao2sch - map of aos to schedulescontextInfo - @throws ExceptionExceptionprotected void processAosData(String coId, Map<String,ActivityOfferingClusterWrapper> clusterMap) throws InvalidParameterException, MissingParameterException, DoesNotExistException, PermissionDeniedException, OperationFailedException
coId - Course Offering IdclusterMap - map of AoIds to AO cluster wrappersInvalidParameterExceptionMissingParameterExceptionDoesNotExistExceptionPermissionDeniedExceptionOperationFailedExceptionprotected org.kuali.rice.kim.api.identity.entity.EntityDefaultQueryResults getInstructorsInfoFromKim(List<String> principalIds)
protected void _performAOCompletePerClusterValidation(List<String> aoTypeKeys, List<ActivityOfferingInfo> aoList, ActivityOfferingClusterWrapper aoClusterWrapper, int clusterIndex, ContextInfo contextInfo) throws Exception
aoTypeKeys - list of AO Type KeysaoList - List Of Activity OfferingsaoClusterWrapper - AO ClusterclusterIndex - Used to tack the warning message onto a particular part of the screencontextInfo - context of the callExceptionpublic TimeSlotInfo toTimeSlotInfo(ScheduleCalcContainer sched)
protected void loadCourseOfferings(SearchRequestInfo searchRequest, ARGCourseOfferingManagementForm form) throws Exception
searchRequest - search requestform - input formExceptionActual CO search happens herepublic void loadPreviousAndNextCourseOffering(ARGCourseOfferingManagementForm form)
loadPreviousAndNextCourseOffering in interface ARGCourseOfferingManagementViewHelperServiceform - input formpublic void createActivityOfferings(String formatOfferingId, String activityId, int noOfActivityOfferings, ARGCourseOfferingManagementForm form)
createActivityOfferings in interface ARGCourseOfferingManagementViewHelperServicepublic void loadActivityOfferingsByCourseOffering(CourseOfferingInfo theCourseOfferingInfo, ARGCourseOfferingManagementForm form) throws Exception
loadActivityOfferingsByCourseOffering in interface ARGCourseOfferingManagementViewHelperServiceExceptionpublic List<ActivityOfferingWrapper> getActivityOfferingsByCourseOfferingId(String courseOfferingId, ARGCourseOfferingManagementForm form) throws Exception
getActivityOfferingsByCourseOfferingId in interface ARGCourseOfferingManagementViewHelperServiceExceptionpublic void approveCourseOfferings(ARGCourseOfferingManagementForm form) throws Exception
approveCourseOfferings in interface ARGCourseOfferingManagementViewHelperServiceExceptionpublic void deleteCourseOfferings(ARGCourseOfferingManagementForm form) throws Exception
deleteCourseOfferings in interface ARGCourseOfferingManagementViewHelperServiceExceptionpublic void approveActivityOfferings(ARGCourseOfferingManagementForm form) throws Exception
approveActivityOfferings in interface ARGCourseOfferingManagementViewHelperServiceExceptionpublic void draftActivityOfferings(ARGCourseOfferingManagementForm form) throws Exception
draftActivityOfferings in interface ARGCourseOfferingManagementViewHelperServiceExceptionpublic void markCourseOfferingsForScheduling(List<CourseOfferingListSectionWrapper> coWrappers, String viewId, String socStateKey, boolean checkedOnly) throws Exception
markCourseOfferingsForScheduling in interface ARGCourseOfferingManagementViewHelperServicecoWrappers, - viewId, socStateKey provides list of CourseOfferings, viewId, socState.checkedOnly - True if the CO wrapper isChecked() flag should be respected.Exceptionpublic CourseOfferingService getCourseOfferingService()
getCourseOfferingService in class CO_AO_RG_ViewHelperServiceImplpublic CourseService getCourseService()
protected LRCService getLrcService()
public SearchService getSearchService()
public AtpService getAtpService()
public CourseOfferingSetService getSocService()
public static org.kuali.rice.kim.api.identity.IdentityService getIdentityService()
public static LprService getLprService()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.