org.kuali.student.enrollment.class2.acal.service.impl
Class CalendarSearchViewHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
      extended by org.kuali.student.enrollment.uif.service.impl.KSViewHelperServiceImpl
          extended by org.kuali.student.enrollment.class2.acal.service.impl.CalendarSearchViewHelperServiceImpl
All Implemented Interfaces:
Serializable, ViewHelperService, CalendarSearchViewHelperService, KSViewHelperService

public class CalendarSearchViewHelperServiceImpl
extends KSViewHelperServiceImpl
implements CalendarSearchViewHelperService

See Also:
Serialized Form

Constructor Summary
CalendarSearchViewHelperServiceImpl()
           
 
Method Summary
 Properties buildACalURLParameters(AcademicCalendarInfo acal, String methodToCall, boolean readOnlyView, ContextInfo context)
          This method builds URL of performRedirect for an AcademicCalendar
 Properties buildHCalURLParameters(HolidayCalendarInfo hcInfo, String methodToCall, boolean readOnlyView, ContextInfo context)
          This method builds URL of performRedirect for a HolidayCalendar
 Properties buildTermURLParameters(TermInfo term, String methodToCall, boolean readOnlyView, ContextInfo context)
          This method builds URL of performRedirect for a term
protected  AcademicCalendarService getAcademicCalendarService()
           
 List<AcademicCalendarInfo> searchForAcademicCalendars(String name, String year, ContextInfo context)
          This method search AcademicCalendars based on the input name and the input year
 List<HolidayCalendarInfo> searchForHolidayCalendars(String name, String year, ContextInfo context)
          This method search HolidayCalendars based on the input name and the input year
 List<TermInfo> searchForTerms(String name, String year, ContextInfo context)
          This method search terms based on the input name and the input year
 
Methods inherited from class org.kuali.student.enrollment.uif.service.impl.KSViewHelperServiceImpl
convertServiceExceptionsToUI, createContextInfo, getHelper, getStateInfo, getStateService, getTypeInfo, getTypeService, setHelperClasses
 
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, 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
 
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

CalendarSearchViewHelperServiceImpl

public CalendarSearchViewHelperServiceImpl()
Method Detail

searchForTerms

public List<TermInfo> searchForTerms(String name,
                                     String year,
                                     ContextInfo context)
                              throws Exception
This method search terms based on the input name and the input year

Specified by:
searchForTerms in interface CalendarSearchViewHelperService
Parameters:
name -
year -
context -
Returns:
Throws:
Exception

searchForAcademicCalendars

public List<AcademicCalendarInfo> searchForAcademicCalendars(String name,
                                                             String year,
                                                             ContextInfo context)
                                                      throws Exception
This method search AcademicCalendars based on the input name and the input year

Specified by:
searchForAcademicCalendars in interface CalendarSearchViewHelperService
Parameters:
name -
year -
context -
Returns:
Throws:
Exception

searchForHolidayCalendars

public List<HolidayCalendarInfo> searchForHolidayCalendars(String name,
                                                           String year,
                                                           ContextInfo context)
                                                    throws Exception
This method search HolidayCalendars based on the input name and the input year

Specified by:
searchForHolidayCalendars in interface CalendarSearchViewHelperService
Parameters:
name -
year -
context -
Returns:
Throws:
Exception

buildTermURLParameters

public Properties buildTermURLParameters(TermInfo term,
                                         String methodToCall,
                                         boolean readOnlyView,
                                         ContextInfo context)
This method builds URL of performRedirect for a term

Specified by:
buildTermURLParameters in interface CalendarSearchViewHelperService
Parameters:
term -
methodToCall -
readOnlyView -
context -
Returns:

buildACalURLParameters

public Properties buildACalURLParameters(AcademicCalendarInfo acal,
                                         String methodToCall,
                                         boolean readOnlyView,
                                         ContextInfo context)
This method builds URL of performRedirect for an AcademicCalendar

Specified by:
buildACalURLParameters in interface CalendarSearchViewHelperService
Parameters:
acal -
methodToCall -
readOnlyView -
context -
Returns:

buildHCalURLParameters

public Properties buildHCalURLParameters(HolidayCalendarInfo hcInfo,
                                         String methodToCall,
                                         boolean readOnlyView,
                                         ContextInfo context)
This method builds URL of performRedirect for a HolidayCalendar

Specified by:
buildHCalURLParameters in interface CalendarSearchViewHelperService
Parameters:
hcInfo -
methodToCall -
readOnlyView -
context -
Returns:

getAcademicCalendarService

protected AcademicCalendarService getAcademicCalendarService()


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