org.kuali.ole.patron.lookup
Class OlePatronLookupableImpl

java.lang.Object
  extended by org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
      extended by org.kuali.rice.krad.lookup.LookupableImpl
          extended by org.kuali.ole.patron.lookup.OlePatronLookupableImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.krad.lookup.Lookupable, org.kuali.rice.krad.uif.service.ViewHelperService

public class OlePatronLookupableImpl
extends org.kuali.rice.krad.lookup.LookupableImpl

OlePatronLookupableImpl makes validation and populate the search criteria and return the search results

See Also:
Serialized Form

Constructor Summary
OlePatronLookupableImpl()
           
 
Method Summary
protected  String getActionUrlHref(org.kuali.rice.krad.web.form.LookupForm lookupForm, Object dataObject, String methodToCall, List<String> pkNames)
          This method is to override the maintenance mapping
protected  Map<String,org.kuali.rice.krad.uif.field.InputField> getCriteriaFieldsForValidation(org.kuali.rice.krad.uif.view.LookupView lookupView, org.kuali.rice.krad.web.form.LookupForm form)
          This method will validate the criteria fields
 String getFileName()
          This method will return view bill link name for create bill.
 String getPatronBillUrl(String patronId, String firstName, String lastName)
          This method will return the url for create bill link in patron record.
protected  List<?> getSearchResults(org.kuali.rice.krad.web.form.LookupForm form, Map<String,String> searchCriteria, boolean unbounded)
          This method will populate the search criteria and return the search results
 String getUrl()
          This method will return url for view link in patron record.
 Collection<?> performSearch(org.kuali.rice.krad.web.form.LookupForm form, Map<String,String> searchCriteria, boolean bounded)
          This method will populate the search criteria and return the search results
protected  Map<String,String> processSearchCriteria(org.kuali.rice.krad.web.form.LookupForm lookupForm, Map<String,String> searchCriteria)
          This method will include the entity fields as one of the search fields
 
Methods inherited from class org.kuali.rice.krad.lookup.LookupableImpl
adjustCriteriaForNestedEBOs, allowsMaintenanceDeleteAction, allowsMaintenanceEditAction, allowsMaintenanceNewOrCopyAction, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getDocumentDictionaryService, getEncryptionService, getLookupService, getMaintenanceActionLink, getMaintenanceDocumentTypeName, getReturnKeys, getReturnUrl, getReturnUrlForResults, getReturnUrlParameters, getSearchResultsForEBO, isResultReturnable, performClear, performInitialization, setConfigurationService, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setEncryptionService, setLookupService, setMultiValueLookupSelect, sortSearchResults, validateSearchParameters, validateSearchParameterWildcardAndOperators
 
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, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, retrieveEditModesAndActionFlags, runComponentModifiers, 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, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults
 

Constructor Detail

OlePatronLookupableImpl

public OlePatronLookupableImpl()
Method Detail

performSearch

public Collection<?> performSearch(org.kuali.rice.krad.web.form.LookupForm form,
                                   Map<String,String> searchCriteria,
                                   boolean bounded)
This method will populate the search criteria and return the search results

Specified by:
performSearch in interface org.kuali.rice.krad.lookup.Lookupable
Overrides:
performSearch in class org.kuali.rice.krad.lookup.LookupableImpl
Parameters:
form -
searchCriteria -
bounded -
Returns:
displayList(Collection)

getSearchResults

protected List<?> getSearchResults(org.kuali.rice.krad.web.form.LookupForm form,
                                   Map<String,String> searchCriteria,
                                   boolean unbounded)
This method will populate the search criteria and return the search results

Overrides:
getSearchResults in class org.kuali.rice.krad.lookup.LookupableImpl
Parameters:
form -
searchCriteria -
unbounded -
Returns:
searchResults(list)

processSearchCriteria

protected Map<String,String> processSearchCriteria(org.kuali.rice.krad.web.form.LookupForm lookupForm,
                                                   Map<String,String> searchCriteria)
This method will include the entity fields as one of the search fields

Overrides:
processSearchCriteria in class org.kuali.rice.krad.lookup.LookupableImpl
Parameters:
lookupForm -
searchCriteria -
Returns:

getCriteriaFieldsForValidation

protected Map<String,org.kuali.rice.krad.uif.field.InputField> getCriteriaFieldsForValidation(org.kuali.rice.krad.uif.view.LookupView lookupView,
                                                                                              org.kuali.rice.krad.web.form.LookupForm form)
This method will validate the criteria fields

Overrides:
getCriteriaFieldsForValidation in class org.kuali.rice.krad.lookup.LookupableImpl
Parameters:
lookupView -
form -
Returns:
criteriaFieldMap(Map)

getActionUrlHref

protected String getActionUrlHref(org.kuali.rice.krad.web.form.LookupForm lookupForm,
                                  Object dataObject,
                                  String methodToCall,
                                  List<String> pkNames)
This method is to override the maintenance mapping

Overrides:
getActionUrlHref in class org.kuali.rice.krad.lookup.LookupableImpl
Parameters:
lookupForm -
dataObject -
methodToCall -
pkNames -
Returns:
mapping Url

getUrl

public String getUrl()
This method will return url for view link in patron record.

Returns:
Url

getFileName

public String getFileName()
This method will return view bill link name for create bill.

Returns:
link name

getPatronBillUrl

public String getPatronBillUrl(String patronId,
                               String firstName,
                               String lastName)
This method will return the url for create bill link in patron record.

Returns:
link url


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