org.kuali.student.enrollment.class2.courseoffering.service.impl
Class CourseOfferingMaintainableImpl

java.lang.Object
  extended by org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
      extended by org.kuali.rice.krad.maintenance.MaintainableImpl
          extended by org.kuali.student.enrollment.class2.courseoffering.service.impl.CourseOfferingMaintainableImpl
All Implemented Interfaces:
Serializable, Maintainable, ViewHelperService, CourseOfferingMaintainable
Direct Known Subclasses:
CourseOfferingCreateMaintainableImpl, CourseOfferingEditMaintainableImpl

public abstract class CourseOfferingMaintainableImpl
extends MaintainableImpl
implements CourseOfferingMaintainable

Base view helper service for both create and edit course offering presentations.

See Also:
Serialized Form

Constructor Summary
CourseOfferingMaintainableImpl()
           
 
Method Summary
protected  List<KeyValue> collectActivityTypeKeyValues(CourseInfo course, String formatId, TypeService typeService, ContextInfo contextInfo)
           
protected  CourseOfferingService getCourseOfferingService()
           
protected  CourseService getCourseService()
           
protected  StateService getStateService()
           
protected  String getTypeName(String typeKey)
          Returns the Name for a type key.
protected  TypeService getTypeService()
           
protected  void loadCrossListedCOs(CourseOfferingWrapper wrapper, CourseOfferingInfo coInfo)
          This method populates CourseCrossListingInfo in to the CourseOfferingInfo based on the user selection at create or edit CO.
 void populateCrossCourseList(InputField field, MaintenanceDocumentForm form)
           
 void populateFinalExamDriverTypes(InputField field, MaintenanceDocumentForm form)
          This method is being called by KRAD to populate final exam driver types drop down.
 void populateGradeRosterLevelTypes(InputField field, MaintenanceDocumentForm form)
          This method is being called by KRAD to populate grade roster level types drop down.
 
Methods inherited from class org.kuali.rice.krad.maintenance.MaintainableImpl
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, getBusinessObjectService, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getLockingDocumentId, getLookupService, getMaintenanceAction, getMaintenanceDocumentService, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isNotesEnabled, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterAddLine, processAfterCopy, processAfterDeleteLine, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, saveDataObject, setBusinessObjectService, setDataObject, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setLookupService, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors
 
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addClientSideStateForComponent, addCustomContainerComponents, 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, 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
 
Methods inherited from interface org.kuali.rice.krad.maintenance.Maintainable
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isNotesEnabled, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, saveDataObject, setDataObject, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptors
 
Methods inherited from interface org.kuali.rice.krad.uif.service.ViewHelperService
applyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults
 

Constructor Detail

CourseOfferingMaintainableImpl

public CourseOfferingMaintainableImpl()
Method Detail

populateGradeRosterLevelTypes

public void populateGradeRosterLevelTypes(InputField field,
                                          MaintenanceDocumentForm form)
This method is being called by KRAD to populate grade roster level types drop down.

In 'Create CO', we use a wrapper around FormatOfferingInfo to handle joint formats. In 'Edit CO', it's just FormatOfferingInfo at the collection

There would be no reference for this method in the code as it has it's references at the following view xmls

Parameters:
field - grade roster level field
form - maintenace form
See Also:
populateFinalExamDriverTypes(org.kuali.rice.krad.uif.field.InputField, org.kuali.rice.krad.web.form.MaintenanceDocumentForm)

populateFinalExamDriverTypes

public void populateFinalExamDriverTypes(InputField field,
                                         MaintenanceDocumentForm form)
This method is being called by KRAD to populate final exam driver types drop down.

In 'Create CO', we use a wrapper around FormatOfferingInfo to handle joint formats. In 'Edit CO', it's just FormatOfferingInfo at the collection

There would be no reference for this method in the code as it has it's references at the following view xmls

Parameters:
field - grade roster level field
form - maintenace form
See Also:
populateGradeRosterLevelTypes(org.kuali.rice.krad.uif.field.InputField, org.kuali.rice.krad.web.form.MaintenanceDocumentForm)

collectActivityTypeKeyValues

protected List<KeyValue> collectActivityTypeKeyValues(CourseInfo course,
                                                      String formatId,
                                                      TypeService typeService,
                                                      ContextInfo contextInfo)

populateCrossCourseList

public void populateCrossCourseList(InputField field,
                                    MaintenanceDocumentForm form)

loadCrossListedCOs

protected void loadCrossListedCOs(CourseOfferingWrapper wrapper,
                                  CourseOfferingInfo coInfo)
This method populates CourseCrossListingInfo in to the CourseOfferingInfo based on the user selection at create or edit CO. Note: If the kuali.ks.enrollment.options.selective-crosslisting-allowed property is enabled, this method creates cross listing dtos for all the alternate course codes.

Parameters:
wrapper - either CourseOfferingCreateWrapper or CourseOfferingEditWrapper
coInfo - course offering dto

getTypeService

protected TypeService getTypeService()

getStateService

protected StateService getStateService()

getCourseOfferingService

protected CourseOfferingService getCourseOfferingService()

getCourseService

protected CourseService getCourseService()

getTypeName

protected String getTypeName(String typeKey)
Returns the Name for a type key.

Parameters:
typeKey -
Returns:


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.