org.kuali.rice.kim.lookup
Class RoleLookupableHelperServiceImpl

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.RoleLookupableHelperServiceImpl
All Implemented Interfaces:
java.io.Serializable, LookupableHelperService

public class RoleLookupableHelperServiceImpl
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
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
RoleLookupableHelperServiceImpl()
           
 
Method Summary
 AttributeDefinitionMap getAttrDefinitions()
           
 java.util.List<Row> getAttrRows()
           
 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.
static java.lang.String getCustomRoleInquiryHref(java.lang.String href)
           
protected  HtmlData getEditRoleUrl(RoleImpl roleImpl)
           
 HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo, java.lang.String propertyName)
          Returns the inquiry url for a field if one exist.
protected  HtmlData getReturnAnchorHtmlData(org.kuali.rice.kns.bo.BusinessObject businessObject, java.util.Properties parameters, LookupForm lookupForm, java.util.List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
           
 KimRoleDao getRoleDao()
           
 java.util.List<Row> getRoleRows()
           
 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<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(java.util.Map<java.lang.String,java.lang.String> fieldValues)
          Uses Lookup Service to provide a basic search.
protected  java.util.List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResultsHelper(java.util.Map<java.lang.String,java.lang.String> fieldValues, boolean unbounded)
          This method does the actual search, with the parameters specified, and returns the result.
 java.lang.String getTypeId()
           
 void setAttrDefinitions(AttributeDefinitionMap attrDefinitions)
           
 void setAttrRows(java.util.List<Row> attrRows)
           
 void setRoleDao(KimRoleDao roleDao)
           
 void setRoleRows(java.util.List<Row> roleRows)
           
 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, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValues
 
Methods inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
addToReturnHref, allowsMaintenanceDeleteAction, allowsMaintenanceEditAction, allowsMaintenanceNewOrCopyAction, applyConditionalLogicForFieldDisplay, applyFieldAuthorizationsFromNestedLookups, checkForAdditionalFields, getActionUrlHref, getActionUrls, getActionUrlTitleText, getBackLocation, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getColumnMaxLength, getColumns, getConditionallyHiddenPropertyNames, getConditionallyReadOnlyPropertyNames, getConditionallyRequiredPropertyNames, getCurrentSearchFieldValue, getDataDictionaryService, getDefaultSortColumns, getDocFormKey, getDocNum, getEmptyActionUrls, getEmptyAnchorHtmlData, getEncryptionService, getExtraField, getKualiConfigurationService, getKualiInquirable, getLookupResultsService, getLookupService, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentTypeName, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, maskValueIfNecessary, performClear, performCustomAction, performLookup, 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

RoleLookupableHelperServiceImpl

public RoleLookupableHelperServiceImpl()
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)

getEditRoleUrl

protected HtmlData getEditRoleUrl(RoleImpl roleImpl)

getReturnAnchorHtmlData

protected HtmlData getReturnAnchorHtmlData(org.kuali.rice.kns.bo.BusinessObject businessObject,
                                           java.util.Properties parameters,
                                           LookupForm lookupForm,
                                           java.util.List returnKeys,
                                           BusinessObjectRestrictions businessObjectRestrictions)
Overrides:
getReturnAnchorHtmlData in class AbstractLookupableHelperServiceImpl

getSearchResults

public java.util.List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(java.util.Map<java.lang.String,java.lang.String> fieldValues)
Description copied from class: KualiLookupableHelperServiceImpl
Uses Lookup Service to provide a basic search.

Specified by:
getSearchResults in interface LookupableHelperService
Overrides:
getSearchResults in class KualiLookupableHelperServiceImpl
Parameters:
fieldValues - - Map containing prop name keys and search values
Returns:
List found business objects
See Also:
LookupableHelperService.getSearchResults(java.util.Map)

getRoleRows

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

setRoleRows

public void setRoleRows(java.util.List<Row> roleRows)

getRoleDao

public KimRoleDao getRoleDao()

setRoleDao

public void setRoleDao(KimRoleDao roleDao)

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)

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:

getSearchResultsHelper

protected java.util.List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResultsHelper(java.util.Map<java.lang.String,java.lang.String> fieldValues,
                                                                                                boolean unbounded)
Description copied from class: KualiLookupableHelperServiceImpl
This method does the actual search, with the parameters specified, and returns the result. NOTE that it will not do any upper-casing based on the DD forceUppercase. That is handled through an external call to LookupUtils.forceUppercase().

Overrides:
getSearchResultsHelper in class KualiLookupableHelperServiceImpl
Parameters:
fieldValues - A Map of the fieldNames and fieldValues to be searched on.
unbounded - Whether the results should be bounded or not to a certain max size.
Returns:
A List of search results.

getInquiryUrl

public HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject bo,
                              java.lang.String propertyName)
Description copied from class: AbstractLookupableHelperServiceImpl
Returns the inquiry url for a field if one exist.

Specified by:
getInquiryUrl in interface LookupableHelperService
Overrides:
getInquiryUrl in class AbstractLookupableHelperServiceImpl
Parameters:
bo - the business object instance to build the urls for
propertyName - the property which links to an inquirable
Returns:
String url to inquiry
See Also:
AbstractLookupableHelperServiceImpl.getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject, java.lang.String)

getCustomRoleInquiryHref

public static java.lang.String getCustomRoleInquiryHref(java.lang.String href)


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