|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.lookup.KualiLookupableImpl
@Deprecated @Transactional public class KualiLookupableImpl
Kuali lookup implementation. Implements methods necessary to render the lookup and provides search and return methods.
| Field Summary | |
|---|---|
protected Class |
businessObjectClass
Deprecated. |
protected String |
extraOnLoad
Deprecated. |
protected static String[] |
IGNORE_LIST
Deprecated. |
protected LookupableHelperService |
lookupableHelperService
Deprecated. |
| Constructor Summary | |
|---|---|
KualiLookupableImpl()
Deprecated. Default constructor initializes services from spring |
|
| Method Summary | |
|---|---|
void |
applyConditionalLogicForFieldDisplay()
Deprecated. Performs conditional logic (based on current search values or other parameters) to override field hidden, read-only, and required attributes previously set. |
void |
applyFieldAuthorizationsFromNestedLookups(Field field)
Deprecated. This overridden method ... |
boolean |
checkForAdditionalFields(Map<String,String> fieldValues)
Deprecated. Determines if there should be more search fields rendered based on already entered search criteria. |
String |
getBackLocation()
Deprecated. |
Class |
getBusinessObjectClass()
Deprecated. |
protected BusinessObjectDictionaryService |
getBusinessObjectDictionaryService()
Deprecated. |
List<Column> |
getColumns()
Deprecated. Constructs the list of columns for the search results. |
String |
getCreateNewUrl()
Deprecated. Builds the Url for a maintenance new document for the lookup business object class |
protected String |
getCreateNewUrl(String url)
Deprecated. |
protected DataDictionaryService |
getDataDictionaryService()
Deprecated. |
List<String> |
getDefaultSortColumns()
Deprecated. This method returns a list of the default columns used to sort the result set. |
String |
getDocFormKey()
Deprecated. |
String |
getExtraButtonParams()
Deprecated. |
String |
getExtraButtonSource()
Deprecated. |
Field |
getExtraField()
Deprecated. This overridden method ... |
String |
getExtraOnLoad()
Deprecated. This overridden method returns the extraOnLoad variable. |
String |
getHtmlMenuBar()
Deprecated. |
LookupableHelperService |
getLookupableHelperService()
Deprecated. Returns the LookupableHelperService designated to help this lookup |
Map<String,String[]> |
getParameters()
Deprecated. |
String |
getPrimaryKeyFieldLabels()
Deprecated. Returns a comma delimited list of primary key field labels, as defined in the DD |
List<String> |
getReturnKeys()
Deprecated. |
String |
getReturnLocation()
Deprecated. |
HtmlData |
getReturnUrl(BusinessObject bo,
Map fieldConversions,
String lookupImpl,
BusinessObjectRestrictions businessObjectRestrictions)
Deprecated. Builds the return value url. |
List<Row> |
getRows()
Deprecated. |
List<? extends BusinessObject> |
getSearchResults(Map<String,String> fieldValues)
Deprecated. Uses Lookup Service to provide a basic search. |
List<? extends BusinessObject> |
getSearchResultsUnbounded(Map<String,String> fieldValues)
Deprecated. Uses Lookup Service to provide a basic unbounded search. |
String |
getSupplementalMenuBar()
Deprecated. |
String |
getTitle()
Deprecated. |
boolean |
isSearchUsingOnlyPrimaryKeyValues()
Deprecated. Returns whether this search was performed using the values of the primary keys only |
void |
performClear(LookupForm lookupForm)
Deprecated. calls the lookup helper service to do "clear" behaviors |
boolean |
performCustomAction(boolean ignoreErrors)
Deprecated. This method is called from a custom action button or script |
Collection<? extends BusinessObject> |
performLookup(LookupForm lookupForm,
List<ResultRow> resultTable,
boolean bounded)
Deprecated. Performs a lookup that can only return one row. |
void |
setBackLocation(String backLocation)
Deprecated. |
void |
setBusinessObjectClass(Class boClass)
Deprecated. Sets the business object class for the lookup instance, then rows can be set for search render. |
void |
setDocFormKey(String docFormKey)
Deprecated. // this method is public because unit tests depend upon it |
void |
setExtraOnLoad(String extraOnLoad)
Deprecated. |
void |
setFieldConversions(Map fieldConversions)
Deprecated. Sets the requested fields conversions in the lookupable |
void |
setLookupableHelperService(LookupableHelperService lookupableHelperService)
Deprecated. Sets the lookupableHelperService attribute value. |
void |
setParameters(Map<String,String[]> parameters)
Deprecated. Initializes the lookup with the given Map of parameters. |
void |
setReadOnlyFieldsList(List<String> readOnlyFieldsList)
Deprecated. Sets the readOnlyFieldsList attribute value. |
boolean |
shouldDisplayHeaderNonMaintActions()
Deprecated. calls the lookup helper service to check if non maintenance actions should be displayed |
boolean |
shouldDisplayLookupCriteria()
Deprecated. calls the lookup helper service to check if criteria should be displayed |
void |
validateSearchParameters(Map<String,String> fieldValues)
Deprecated. Checks that any required search fields have value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String[] IGNORE_LIST
protected Class businessObjectClass
protected LookupableHelperService lookupableHelperService
protected String extraOnLoad
| Constructor Detail |
|---|
public KualiLookupableImpl()
| Method Detail |
|---|
public void setBusinessObjectClass(Class boClass)
setBusinessObjectClass in interface LookupableboClass - Class for the lookup business objectpublic void setParameters(Map<String,String[]> parameters)
setParameters in interface Lookupableparameters - public Map<String,String[]> getParameters()
getParameters in interface Lookupablepublic List<Column> getColumns()
getColumns in interface Lookupablepublic void validateSearchParameters(Map<String,String> fieldValues)
validateSearchParameters in interface LookupablefieldValues - - Map of property/value pairsLookupable.validateSearchParameters(java.util.Map)public List<? extends BusinessObject> getSearchResultsUnbounded(Map<String,String> fieldValues)
getSearchResultsUnbounded in interface LookupablefieldValues - - Map containing prop name keys and search values
public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
getSearchResults in interface LookupablefieldValues - - Map containing prop name keys and search values
public HtmlData getReturnUrl(BusinessObject bo,
Map fieldConversions,
String lookupImpl,
BusinessObjectRestrictions businessObjectRestrictions)
Lookupable
getReturnUrl in interface Lookupablebo - - Instance of a business object containing the return valuesfieldConversions - - Map of conversions mapping bo names to caller field names.lookupImpl - - Current lookup impl name
public String getCreateNewUrl()
Lookupable
getCreateNewUrl in interface LookupableLookupable.getCreateNewUrl()public String getHtmlMenuBar()
getHtmlMenuBar in interface LookupableLookupable.getHtmlMenuBar()public String getSupplementalMenuBar()
getSupplementalMenuBar in interface LookupableLookupable.getSupplementalMenuBar()public List<Row> getRows()
getRows in interface LookupableLookupable.getRows()public String getTitle()
getTitle in interface LookupableLookupable.getTitle()public String getReturnLocation()
getReturnLocation in interface LookupableLookupable.getReturnLocation()public Class getBusinessObjectClass()
getBusinessObjectClass in interface Lookupablepublic List<String> getReturnKeys()
public String getExtraButtonSource()
getExtraButtonSource in interface LookupableLookupable.getExtraButtonSource()public String getExtraButtonParams()
getExtraButtonParams in interface LookupableLookupable.getExtraButtonParams()public List<String> getDefaultSortColumns()
Lookupable
getDefaultSortColumns in interface Lookupablepublic boolean checkForAdditionalFields(Map<String,String> fieldValues)
Lookupable
checkForAdditionalFields in interface LookupablefieldValues - - Map of property/value pairs
Lookupable.checkForAdditionalFields(java.util.Map)public String getBackLocation()
public void setBackLocation(String backLocation)
backLocation - The backLocation to set.public String getDocFormKey()
public void setDocFormKey(String docFormKey)
docFormKey - The docFormKey to set.protected BusinessObjectDictionaryService getBusinessObjectDictionaryService()
public void setFieldConversions(Map fieldConversions)
Lookupable
setFieldConversions in interface LookupableLookupable.setFieldConversions(java.util.Map)protected DataDictionaryService getDataDictionaryService()
public void setReadOnlyFieldsList(List<String> readOnlyFieldsList)
setReadOnlyFieldsList in interface LookupablereadOnlyFieldsList - The readOnlyFieldsList to set.public LookupableHelperService getLookupableHelperService()
Lookupable
getLookupableHelperService in interface Lookupablepublic void setLookupableHelperService(LookupableHelperService lookupableHelperService)
setLookupableHelperService in interface LookupablelookupableHelperService - The lookupableHelperService to set.
public Collection<? extends BusinessObject> performLookup(LookupForm lookupForm,
List<ResultRow> resultTable,
boolean bounded)
performLookup in interface LookupableLookupable#performLookup(org.kuali.rice.krad.web.struts.form.LookupForm, java.util.List, boolean)public boolean isSearchUsingOnlyPrimaryKeyValues()
Lookupable
isSearchUsingOnlyPrimaryKeyValues in interface Lookupablepublic String getPrimaryKeyFieldLabels()
Lookupable
getPrimaryKeyFieldLabels in interface Lookupablepublic void performClear(LookupForm lookupForm)
performClear in interface LookupableLookupable#performClear()public boolean shouldDisplayHeaderNonMaintActions()
shouldDisplayHeaderNonMaintActions in interface LookupableLookupable.shouldDisplayHeaderNonMaintActions()public boolean shouldDisplayLookupCriteria()
shouldDisplayLookupCriteria in interface LookupableLookupable.shouldDisplayLookupCriteria()protected String getCreateNewUrl(String url)
public boolean performCustomAction(boolean ignoreErrors)
Lookupable
performCustomAction in interface LookupableLookupable.performCustomAction(boolean)public Field getExtraField()
getExtraField in interface LookupableLookupable.getExtraField()public void applyFieldAuthorizationsFromNestedLookups(Field field)
applyFieldAuthorizationsFromNestedLookups in interface LookupableLookupable#applyFieldAuthorizationsFromNestedLookups(org.kuali.rice.krad.web.ui.Field)public String getExtraOnLoad()
getExtraOnLoad in interface LookupableLookupable.getExtraOnLoad()public void setExtraOnLoad(String extraOnLoad)
setExtraOnLoad in interface LookupableextraOnLoad - the extraOnLoad to setpublic void applyConditionalLogicForFieldDisplay()
Lookupable
applyConditionalLogicForFieldDisplay in interface LookupableLookupable.applyConditionalLogicForFieldDisplay()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||