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:
java.io.Serializable, LookupableHelperService

public class GroupLookupableHelperServiceImpl
extends KimLookupableHelperServiceImpl

This is a description of what this class does - shyu don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)
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(java.util.Map fieldValues)
          This implementation always returns false.
 AttributeDefinitionMap getAttrDefinitions()
           
 java.util.List<Row> getAttrRows()
           
 java.util.List<Column> getColumns()
          Constructs the list of columns for the search results.
 java.util.List<HtmlData> getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject bo, java.util.List pkNames)
          Child classes should override this method if they want to return some other action urls.
protected  HtmlData getEditGroupUrl(GroupImpl groupImpl)
           
 KimGroupDao getGroupDao()
           
 java.util.List<Row> getGrpRows()
           
 java.util.List<Row> getRows()
          Returns a list of Row objects to be used to generate the search query screen Generally, setBusinessObjectClass needs to be called with a non-null value for proper operation
 java.util.List<GroupImpl> getSearchResults(java.util.Map<java.lang.String,java.lang.String> fieldValues)
          Converts GroupInfo objects to GroupImpl objects.
 java.lang.String getTypeId()
           
 void performClear(LookupForm lookupForm)
          This method does the logic for the clear action.
 java.util.Collection performLookup(LookupForm lookupForm, java.util.Collection resultTable, boolean bounded)
          Performs the lookup and returns a collection of lookup items
 void setAttrDefinitions(AttributeDefinitionMap attrDefinitions)
           
 void setAttrRows(java.util.List<Row> attrRows)
           
 void setGroupDao(KimGroupDao groupDao)
           
 void setGrpRows(java.util.List<Row> grpRows)
           
 void setTypeId(java.lang.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, preprocessDateFields, 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 java.util.List<HtmlData> getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject bo,
                                                    java.util.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:
org.kuali.rice.kns.lookup.LookupableHelperService#getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject, java.util.List, java.util.List pkNames)

getEditGroupUrl

protected HtmlData getEditGroupUrl(GroupImpl groupImpl)

getSearchResults

public java.util.List<GroupImpl> getSearchResults(java.util.Map<java.lang.String,java.lang.String> fieldValues)
Converts GroupInfo objects to GroupImpl 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:
KimCommonUtils#copyInfoToGroup(GroupInfo, GroupImpl)

checkForAdditionalFields

public boolean checkForAdditionalFields(java.util.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 java.util.List<Row> getRows()
Description copied from interface: LookupableHelperService
Returns a list of Row objects to be used to generate the search query screen Generally, setBusinessObjectClass 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 java.util.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 java.util.Collection performLookup(LookupForm lookupForm,
                                          java.util.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 java.util.List<Row> getGrpRows()

setGrpRows

public void setGrpRows(java.util.List<Row> grpRows)

getGroupDao

public KimGroupDao getGroupDao()

setGroupDao

public void setGroupDao(KimGroupDao groupDao)

getAttrDefinitions

public AttributeDefinitionMap getAttrDefinitions()

setAttrDefinitions

public void setAttrDefinitions(AttributeDefinitionMap attrDefinitions)

getAttrRows

public java.util.List<Row> getAttrRows()

setAttrRows

public void setAttrRows(java.util.List<Row> attrRows)

getTypeId

public java.lang.String getTypeId()

setTypeId

public void setTypeId(java.lang.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:
org.kuali.rice.kns.lookup.LookupableHelperService#performClear()


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