|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
@Transactional public class KualiLookupableHelperServiceImpl
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
LOG
|
protected boolean |
searchUsingOnlyPrimaryKeyValues
|
| Constructor Summary | |
|---|---|
KualiLookupableHelperServiceImpl()
|
|
| Method Summary | |
|---|---|
protected String |
getExternalBusinessObjectProperty(Object sampleBo,
String propertyName)
Get the name of the property which represents the ExternalizableBusinessObject for the given property. |
protected Class<? extends ExternalizableBusinessObject> |
getExternalizableBusinessObjectClass(Class boClass,
String propertyName)
Given an property on the main BO class, return the defined type of the ExternalizableBusinessObject. |
protected Map<String,String> |
getExternalizableBusinessObjectFieldValues(String eboPropertyName,
Map<String,String> fieldValues)
Return the EBO fieldValue entries explicitly for the given eboPropertyName. |
protected List<String> |
getExternalizableBusinessObjectProperties(Class boClass,
Map<String,String> fieldValues)
Get the complete list of all properties referenced in the fieldValues that are ExternalizableBusinessObjects. |
String |
getPrimaryKeyFieldLabels()
Returns a comma delimited list of primary key field labels, to be used on the UI to tell the user which fields were used to search These labels are generated from the DD definitions for the lookup fields |
List<? extends BusinessObject> |
getSearchResults(Map<String,String> fieldValues)
Uses Lookup Service to provide a basic search. |
protected List<? extends BusinessObject> |
getSearchResultsHelper(Map<String,String> fieldValues,
boolean unbounded)
This method does the actual search, with the parameters specified, and returns the result. |
List<? extends BusinessObject> |
getSearchResultsUnbounded(Map<String,String> fieldValues)
Uses Lookup Service to provide a basic unbounded search. |
protected boolean |
hasExternalBusinessObjectProperty(Class boClass,
Map<String,String> fieldValues)
Checks whether any of the fieldValues being passed refer to a property within an ExternalizableBusinessObject. |
protected boolean |
isExternalBusinessObjectProperty(Object sampleBo,
String propertyName)
Check whether the given property represents a property within an EBO starting with the sampleBo object given. |
boolean |
isSearchUsingOnlyPrimaryKeyValues()
This method returns whether the previously executed getSearchResults used the primary key values to search, ignoring all non key values |
protected Map<String,String> |
removeExternalizableBusinessObjectFieldValues(Class boClass,
Map<String,String> fieldValues)
Returns a map stripped of any properties which refer to ExternalizableBusinessObjects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger LOG
protected boolean searchUsingOnlyPrimaryKeyValues
| Constructor Detail |
|---|
public KualiLookupableHelperServiceImpl()
| Method Detail |
|---|
public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
getSearchResults in interface LookupableHelperServicegetSearchResults in class AbstractLookupableHelperServiceImplfieldValues - - Map containing prop name keys and search values
LookupableHelperService.getSearchResults(java.util.Map)public List<? extends BusinessObject> getSearchResultsUnbounded(Map<String,String> fieldValues)
getSearchResultsUnbounded in interface LookupableHelperServicegetSearchResultsUnbounded in class AbstractLookupableHelperServiceImplfieldValues - - Map containing prop name keys and search values
LookupableHelperService.getSearchResultsUnbounded(java.util.Map)
protected boolean isExternalBusinessObjectProperty(Object sampleBo,
String propertyName)
protected String getExternalBusinessObjectProperty(Object sampleBo,
String propertyName)
protected boolean hasExternalBusinessObjectProperty(Class boClass,
Map<String,String> fieldValues)
protected Map<String,String> removeExternalizableBusinessObjectFieldValues(Class boClass,
Map<String,String> fieldValues)
protected Map<String,String> getExternalizableBusinessObjectFieldValues(String eboPropertyName,
Map<String,String> fieldValues)
protected List<String> getExternalizableBusinessObjectProperties(Class boClass,
Map<String,String> fieldValues)
protected Class<? extends ExternalizableBusinessObject> getExternalizableBusinessObjectClass(Class boClass,
String propertyName)
boClass - propertyName -
protected List<? extends BusinessObject> getSearchResultsHelper(Map<String,String> fieldValues,
boolean unbounded)
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.
public boolean isSearchUsingOnlyPrimaryKeyValues()
LookupableHelperService
isSearchUsingOnlyPrimaryKeyValues in interface LookupableHelperServiceisSearchUsingOnlyPrimaryKeyValues in class AbstractLookupableHelperServiceImplLookupableHelperService.isSearchUsingOnlyPrimaryKeyValues()public String getPrimaryKeyFieldLabels()
getPrimaryKeyFieldLabels in interface LookupableHelperServicegetPrimaryKeyFieldLabels in class AbstractLookupableHelperServiceImplLookupableHelperService.isSearchUsingOnlyPrimaryKeyValues(),
LookupableHelperService.getPrimaryKeyFieldLabels()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||