|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 java.lang.String |
getExternalBusinessObjectProperty(java.lang.Object sampleBo,
java.lang.String propertyName)
Get the name of the property which represents the ExternalizableBusinessObject for the given property. |
protected java.lang.Class<? extends org.kuali.rice.kns.bo.ExternalizableBusinessObject> |
getExternalizableBusinessObjectClass(java.lang.Class boClass,
java.lang.String propertyName)
Given an property on the main BO class, return the defined type of the ExternalizableBusinessObject. |
protected java.util.Map<java.lang.String,java.lang.String> |
getExternalizableBusinessObjectFieldValues(java.lang.String eboPropertyName,
java.util.Map<java.lang.String,java.lang.String> fieldValues)
Return the EBO fieldValue entries explicitly for the given eboPropertyName. |
protected java.util.List<java.lang.String> |
getExternalizableBusinessObjectProperties(java.lang.Class boClass,
java.util.Map<java.lang.String,java.lang.String> fieldValues)
Get the complete list of all properties referenced in the fieldValues that are ExternalizableBusinessObjects. |
java.lang.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 |
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.util.List<? extends org.kuali.rice.kns.bo.BusinessObject> |
getSearchResultsUnbounded(java.util.Map<java.lang.String,java.lang.String> fieldValues)
Uses Lookup Service to provide a basic unbounded search. |
protected boolean |
hasExternalBusinessObjectProperty(java.lang.Class boClass,
java.util.Map<java.lang.String,java.lang.String> fieldValues)
Checks whether any of the fieldValues being passed refer to a property within an ExternalizableBusinessObject. |
protected boolean |
isExternalBusinessObjectProperty(java.lang.Object sampleBo,
java.lang.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 java.util.Map<java.lang.String,java.lang.String> |
removeExternalizableBusinessObjectFieldValues(java.lang.Class boClass,
java.util.Map<java.lang.String,java.lang.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 java.util.List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(java.util.Map<java.lang.String,java.lang.String> fieldValues)
getSearchResults
in interface LookupableHelperService
getSearchResults
in class AbstractLookupableHelperServiceImpl
fieldValues
- - Map containing prop name keys and search values
LookupableHelperService.getSearchResults(java.util.Map)
public java.util.List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResultsUnbounded(java.util.Map<java.lang.String,java.lang.String> fieldValues)
getSearchResultsUnbounded
in interface LookupableHelperService
getSearchResultsUnbounded
in class AbstractLookupableHelperServiceImpl
fieldValues
- - Map containing prop name keys and search values
LookupableHelperService.getSearchResultsUnbounded(java.util.Map)
protected boolean isExternalBusinessObjectProperty(java.lang.Object sampleBo, java.lang.String propertyName)
protected java.lang.String getExternalBusinessObjectProperty(java.lang.Object sampleBo, java.lang.String propertyName)
protected boolean hasExternalBusinessObjectProperty(java.lang.Class boClass, java.util.Map<java.lang.String,java.lang.String> fieldValues)
protected java.util.Map<java.lang.String,java.lang.String> removeExternalizableBusinessObjectFieldValues(java.lang.Class boClass, java.util.Map<java.lang.String,java.lang.String> fieldValues)
protected java.util.Map<java.lang.String,java.lang.String> getExternalizableBusinessObjectFieldValues(java.lang.String eboPropertyName, java.util.Map<java.lang.String,java.lang.String> fieldValues)
protected java.util.List<java.lang.String> getExternalizableBusinessObjectProperties(java.lang.Class boClass, java.util.Map<java.lang.String,java.lang.String> fieldValues)
protected java.lang.Class<? extends org.kuali.rice.kns.bo.ExternalizableBusinessObject> getExternalizableBusinessObjectClass(java.lang.Class boClass, java.lang.String propertyName)
boClass
- propertyName
-
protected java.util.List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResultsHelper(java.util.Map<java.lang.String,java.lang.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 LookupableHelperService
isSearchUsingOnlyPrimaryKeyValues
in class AbstractLookupableHelperServiceImpl
LookupableHelperService.isSearchUsingOnlyPrimaryKeyValues()
public java.lang.String getPrimaryKeyFieldLabels()
getPrimaryKeyFieldLabels
in interface LookupableHelperService
getPrimaryKeyFieldLabels
in class AbstractLookupableHelperServiceImpl
LookupableHelperService.isSearchUsingOnlyPrimaryKeyValues()
,
LookupableHelperService.getPrimaryKeyFieldLabels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |