org.kuali.rice.kim.lookup
Class GroupLookupableHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
      extended by org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
          extended by org.kuali.rice.kim.lookup.KimLookupableHelperServiceImpl
              extended by org.kuali.rice.kim.lookup.GroupLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, LookupableHelperService

public class GroupLookupableHelperServiceImpl
extends KimLookupableHelperServiceImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
LOG, searchUsingOnlyPrimaryKeyValues
 
Fields inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
ACTION_URLS_CHILDREN_END, ACTION_URLS_CHILDREN_SEPARATOR, ACTION_URLS_CHILDREN_STARTER, ACTION_URLS_EMPTY, ACTION_URLS_SEPARATOR, backLocation, businessObjectAuthorizationService, businessObjectClass, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, configurationService, dataDictionaryService, docFormKey, docNum, encryptionService, fieldConversions, forceLookupResultFieldInquiryCache, inquirableClassCache, kualiInquirable, lookupResultsService, lookupService, maintenanceDocumentDictionaryService, noLookupResultFieldInquiryCache, parameters, parameterService, persistenceStructureService, readOnlyFieldsList, referencesToRefresh, resultColumns, RESULTS_DEFAULT_MAX_COLUMN_LENGTH, rows, sequenceAccessorService, TITLE_ACTION_URL_PREPENDTEXT_PROPERTY, TITLE_RETURN_URL_PREPENDTEXT_PROPERTY
 
Constructor Summary
GroupLookupableHelperServiceImpl()
           
 
Method Summary
 boolean checkForAdditionalFields(Map fieldValues)
          This implementation always returns false.
 List<KimAttributeField> getAttrDefinitions()
           
 List<Row> getAttrRows()
           
 List<Column> getColumns()
          Constructs the list of columns for the search results.
 List<HtmlData> getCustomActionUrls(BusinessObject bo, List pkNames)
          Child classes should override this method if they want to return some other action urls.
protected  HtmlData getEditGroupUrl(GroupBo groupBo)
           
 List<Row> getGrpRows()
           
 List<Row> getRows()
          Returns a list of Row objects to be used to generate the search query screen Generally, setDataObjectClass needs to be called with a non-null value for proper operation
 List<GroupBo> getSearchResults(Map<String,String> fieldValues)
          Converts GroupInfo objects to GroupBo objects.
 String getTypeId()
           
 void performClear(LookupForm lookupForm)
          This method does the logic for the clear action.
 Collection<GroupBo> performLookup(LookupForm lookupForm, Collection resultTable, boolean bounded)
          Performs the lookup and returns a collection of lookup items
 void setAttrDefinitions(List<KimAttributeField> attrDefinitions)
           
 void setAttrRows(List<Row> attrRows)
           
 void setGrpRows(List<Row> grpRows)
           
 void setTypeId(String typeId)
           
 
Methods inherited from class org.kuali.rice.kim.lookup.KimLookupableHelperServiceImpl
allowsNewOrCopyAction, getDocumentHelperService, getTypeInfoService
 
Methods inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
getExternalBusinessObjectProperty, getExternalizableBusinessObjectClass, getExternalizableBusinessObjectFieldValues, getExternalizableBusinessObjectProperties, getPrimaryKeyFieldLabels, getSearchResultsHelper, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValues
 
Methods inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
addToReturnHref, allowsMaintenanceDeleteAction, allowsMaintenanceEditAction, allowsMaintenanceNewOrCopyAction, applyConditionalLogicForFieldDisplay, applyFieldAuthorizationsFromNestedLookups, getActionUrlHref, getActionUrls, getActionUrlTitleText, getBackLocation, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getColumnMaxLength, getConditionallyHiddenPropertyNames, getConditionallyReadOnlyPropertyNames, getConditionallyRequiredPropertyNames, getCurrentSearchFieldValue, getDataDictionaryService, getDefaultSortColumns, getDocFormKey, getDocNum, getEmptyActionUrls, getEmptyAnchorHtmlData, getEncryptionService, getExtraField, getInquiryUrl, getKualiConfigurationService, getKualiInquirable, getLookupResultsService, getLookupService, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentTypeName, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, maskValueIfNecessary, performCustomAction, preProcessRangeFields, setBackLocation, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setBusinessObjectService, setDataDictionaryService, setDocFormKey, setDocNum, setEncryptionService, setFieldConversions, setKualiInquirable, setLookupResultsService, setLookupService, setMaintenanceDocumentDictionaryService, setParameters, setParameterService, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameters, validateSearchParameterWildcardAndOperators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupLookupableHelperServiceImpl

public GroupLookupableHelperServiceImpl()
Method Detail

getCustomActionUrls

public List<HtmlData> getCustomActionUrls(BusinessObject bo,
                                          List pkNames)
Description copied from class: AbstractLookupableHelperServiceImpl
Child classes should override this method if they want to return some other action urls.

Specified by:
getCustomActionUrls in interface LookupableHelperService
Overrides:
getCustomActionUrls in class AbstractLookupableHelperServiceImpl
Returns:
See Also:
LookupableHelperService#getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject, java.util.List, java.util.List pkNames)

getEditGroupUrl

protected HtmlData getEditGroupUrl(GroupBo groupBo)

getSearchResults

public List<GroupBo> getSearchResults(Map<String,String> fieldValues)
Converts GroupInfo objects to GroupBo objects.

Specified by:
getSearchResults in interface LookupableHelperService
Overrides:
getSearchResults in class KualiLookupableHelperServiceImpl
Parameters:
fieldValues - names and values returned by the Group Lookup screen
Returns:
groupImplList a list of GroupImpl objects
See Also:
LookupableHelperService.getSearchResults(java.util.Map)

checkForAdditionalFields

public boolean checkForAdditionalFields(Map fieldValues)
Description copied from class: AbstractLookupableHelperServiceImpl
This implementation always returns false.

Specified by:
checkForAdditionalFields in interface LookupableHelperService
Overrides:
checkForAdditionalFields in class AbstractLookupableHelperServiceImpl
Parameters:
fieldValues - - Map of property/value pairs
Returns:
boolean
See Also:
LookupableHelperService.checkForAdditionalFields(java.util.Map)

getRows

public List<Row> getRows()
Description copied from interface: LookupableHelperService
Returns a list of Row objects to be used to generate the search query screen Generally, setDataObjectClass needs to be called with a non-null value for proper operation

Specified by:
getRows in interface LookupableHelperService
Overrides:
getRows in class AbstractLookupableHelperServiceImpl
Returns:

getColumns

public List<Column> getColumns()
Description copied from class: AbstractLookupableHelperServiceImpl
Constructs the list of columns for the search results. All properties for the column objects come from the DataDictionary.

Specified by:
getColumns in interface LookupableHelperService
Overrides:
getColumns in class AbstractLookupableHelperServiceImpl
Returns:
List of Column objects used to render the result table

performLookup

public Collection<GroupBo> performLookup(LookupForm lookupForm,
                                         Collection resultTable,
                                         boolean bounded)
Description copied from class: AbstractLookupableHelperServiceImpl
Performs the lookup and returns a collection of lookup items

Specified by:
performLookup in interface LookupableHelperService
Overrides:
performLookup in class AbstractLookupableHelperServiceImpl
Returns:
the list of result BOs, possibly bounded

getGrpRows

public List<Row> getGrpRows()

setGrpRows

public void setGrpRows(List<Row> grpRows)

getAttrDefinitions

public List<KimAttributeField> getAttrDefinitions()

setAttrDefinitions

public void setAttrDefinitions(List<KimAttributeField> attrDefinitions)

getAttrRows

public List<Row> getAttrRows()

setAttrRows

public void setAttrRows(List<Row> attrRows)

getTypeId

public String getTypeId()

setTypeId

public void setTypeId(String typeId)

performClear

public void performClear(LookupForm lookupForm)
Description copied from class: AbstractLookupableHelperServiceImpl
This method does the logic for the clear action.

Specified by:
performClear in interface LookupableHelperService
Overrides:
performClear in class AbstractLookupableHelperServiceImpl
See Also:
LookupableHelperService#performClear()


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