public class LookupResultsDDBoLookupableHelperServiceImpl extends Object implements LookupableHelperService
| Constructor and Description |
|---|
LookupResultsDDBoLookupableHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsMaintenanceNewOrCopyAction()
Always return false
|
boolean |
allowsNewOrCopyAction(String documentTypeName)
Always return false
|
void |
applyConditionalLogicForFieldDisplay() |
void |
applyFieldAuthorizationsFromNestedLookups(Field field)
Don't do anything
|
boolean |
checkForAdditionalFields(Map<String,String> fieldValues)
Always returns false
|
String |
getActionUrls(BusinessObject businessObject,
List pkNames,
BusinessObjectRestrictions businessObjectRestrictions)
Always returns a blank String
|
String |
getBackLocation()
Always returns blank String
|
Class |
getBusinessObjectClass()
Always returns the class of LookupResultsDDBo
|
BusinessObjectDictionaryService |
getBusinessObjectDictionaryService()
Gets the class from the KRADServiceLocatorInternal
|
List<Column> |
getColumns()
Always returns null
|
List<HtmlData> |
getCustomActionUrls(BusinessObject businessObject,
List pkNames)
Always returns null
|
DataDictionaryService |
getDataDictionaryService()
Returns DataDictionaryService from KRADServiceLocatorInternal
|
List |
getDefaultSortColumns()
Always returns null
|
String |
getDocFormKey()
Always returns an empty String
|
String |
getDocNum()
Always returns empty String
|
Field |
getExtraField()
Always returns null
|
HtmlData |
getInquiryUrl(BusinessObject businessObject,
String propertyName)
Always returns null
|
String |
getMaintenanceUrl(BusinessObject businessObject,
HtmlData htmlData,
List pkNames,
BusinessObjectRestrictions businessObjectRestrictions)
Always returns null
|
Map |
getParameters()
Always returns null
|
String |
getPrimaryKeyFieldLabels()
Returns an incredibly sophisticated puzzle that would require the smartest genius on earth years to disentangle.
|
List<String> |
getReadOnlyFieldsList()
Isn't this class exciting?
|
List<String> |
getReturnKeys()
It does ever so much work
|
String |
getReturnLocation()
Returns null for everything
|
HtmlData |
getReturnUrl(BusinessObject businessObject,
LookupForm lookupForm,
List returnKeys,
BusinessObjectRestrictions businessObjectRestrictions)
Yeah, this too
|
HtmlData |
getReturnUrl(BusinessObject businessObject,
Map fieldConversions,
String lookupImpl,
List returnKeys,
BusinessObjectRestrictions businessObjectRestrictions)
Why am I doing all of this?
|
List<Row> |
getRows()
Why not just extend AbstractLookupableHelperServiceImpl?
|
List<? extends BusinessObject> |
getSearchResults(Map<String,String> fieldValues)
Just sends back whatever someValue was sent in - or "A" as some value if nothing else was out there
|
List |
getSearchResultsUnbounded(Map<String,String> fieldValues)
Oh, trust me...
|
String |
getSupplementalMenuBar()
There's a story there
|
String |
getTitle()
At any rate, my unit test works
|
boolean |
isResultReturnable(BusinessObject object)
And I just have a lot of dead methods
|
boolean |
isSearchUsingOnlyPrimaryKeyValues()
I'm not injecting dependencies
|
void |
performClear(LookupForm lookupForm)
This method found it hard pressed to do anything...
|
boolean |
performCustomAction(boolean ignoreErrors)
Always returns false
|
Collection |
performLookup(LookupForm lookupForm,
Collection resultTable,
boolean bounded)
Always returns null
|
void |
setBackLocation(String backLocation)
Ignores the passed in value
|
void |
setBusinessObjectClass(Class businessObjectClass)
Throws the passed in value away
|
void |
setDocFormKey(String docFormKey)
Did you actually want this mock service to save this information? I think not...
|
void |
setDocNum(String docNum)
Does nothing
|
void |
setFieldConversions(Map fieldConversions)
Doesn't do a thing
|
void |
setParameters(Map parameters)
Doesn't set anything
|
void |
setReadOnlyFieldsList(List<String> readOnlyFieldsList)
doesn't set anything
|
boolean |
shouldDisplayHeaderNonMaintActions()
Always returns true, so that James isn't completely bored
|
boolean |
shouldDisplayLookupCriteria()
Flips a coin to determine whether to return true or false
|
void |
validateSearchParameters(Map<String,String> fieldValues)
Everything's valid, trust us
|
public LookupResultsDDBoLookupableHelperServiceImpl()
public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
getSearchResults in interface LookupableHelperServiceAbstractLookupableHelperServiceImplpublic boolean allowsMaintenanceNewOrCopyAction()
allowsMaintenanceNewOrCopyAction in interface LookupableHelperServiceLookupableHelperServicepublic boolean allowsNewOrCopyAction(String documentTypeName)
allowsNewOrCopyAction in interface LookupableHelperServiceLookupableHelperServicepublic void applyFieldAuthorizationsFromNestedLookups(Field field)
applyFieldAuthorizationsFromNestedLookups in interface LookupableHelperServiceLookupableHelperServicepublic boolean checkForAdditionalFields(Map<String,String> fieldValues)
checkForAdditionalFields in interface LookupableHelperServiceLookupableHelperServicepublic String getActionUrls(BusinessObject businessObject, List pkNames, BusinessObjectRestrictions businessObjectRestrictions)
getActionUrls in interface LookupableHelperServiceLookupableHelperServicepublic String getBackLocation()
getBackLocation in interface LookupableHelperServiceLookupableHelperServicepublic Class getBusinessObjectClass()
getBusinessObjectClass in interface LookupableHelperServiceLookupableHelperServicepublic BusinessObjectDictionaryService getBusinessObjectDictionaryService()
getBusinessObjectDictionaryService in interface LookupableHelperServiceLookupableHelperServicepublic List<Column> getColumns()
getColumns in interface LookupableHelperServiceLookupableHelperServicepublic List<HtmlData> getCustomActionUrls(BusinessObject businessObject, List pkNames)
getCustomActionUrls in interface LookupableHelperServiceLookupableHelperServicepublic DataDictionaryService getDataDictionaryService()
getDataDictionaryService in interface LookupableHelperServiceLookupableHelperServicepublic List getDefaultSortColumns()
getDefaultSortColumns in interface LookupableHelperServiceLookupableHelperServicepublic String getDocFormKey()
getDocFormKey in interface LookupableHelperServiceLookupableHelperServicepublic String getDocNum()
getDocNum in interface LookupableHelperServiceLookupableHelperServicepublic Field getExtraField()
getExtraField in interface LookupableHelperServiceLookupableHelperServicepublic HtmlData getInquiryUrl(BusinessObject businessObject, String propertyName)
getInquiryUrl in interface LookupableHelperServiceLookupableHelperServicepublic String getMaintenanceUrl(BusinessObject businessObject, HtmlData htmlData, List pkNames, BusinessObjectRestrictions businessObjectRestrictions)
getMaintenanceUrl in interface LookupableHelperServiceLookupableHelperServicepublic Map getParameters()
getParameters in interface LookupableHelperServiceLookupableHelperServicepublic String getPrimaryKeyFieldLabels()
getPrimaryKeyFieldLabels in interface LookupableHelperServiceLookupableHelperServicepublic List<String> getReadOnlyFieldsList()
getReadOnlyFieldsList in interface LookupableHelperServiceLookupableHelperServicepublic List<String> getReturnKeys()
getReturnKeys in interface LookupableHelperServiceLookupableHelperServicepublic String getReturnLocation()
getReturnLocation in interface LookupableHelperServiceLookupableHelperServicepublic HtmlData getReturnUrl(BusinessObject businessObject, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
getReturnUrl in interface LookupableHelperServiceLookupableHelperServicepublic HtmlData getReturnUrl(BusinessObject businessObject, Map fieldConversions, String lookupImpl, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
getReturnUrl in interface LookupableHelperServiceLookupableHelperServicepublic List<Row> getRows()
getRows in interface LookupableHelperServiceLookupableHelperServicepublic List getSearchResultsUnbounded(Map<String,String> fieldValues)
getSearchResultsUnbounded in interface LookupableHelperServiceLookupableHelperServicepublic String getSupplementalMenuBar()
getSupplementalMenuBar in interface LookupableHelperServiceLookupableHelperServicepublic String getTitle()
getTitle in interface LookupableHelperServiceLookupableHelperServicepublic boolean isResultReturnable(BusinessObject object)
isResultReturnable in interface LookupableHelperServiceLookupableHelperServicepublic boolean isSearchUsingOnlyPrimaryKeyValues()
isSearchUsingOnlyPrimaryKeyValues in interface LookupableHelperServiceLookupableHelperServicepublic void performClear(LookupForm lookupForm)
performClear in interface LookupableHelperServiceLookupableHelperServicepublic boolean performCustomAction(boolean ignoreErrors)
performCustomAction in interface LookupableHelperServiceLookupableHelperServicepublic Collection performLookup(LookupForm lookupForm, Collection resultTable, boolean bounded)
performLookup in interface LookupableHelperServiceLookupableHelperServicepublic void setBackLocation(String backLocation)
setBackLocation in interface LookupableHelperServiceLookupableHelperServicepublic void setBusinessObjectClass(Class businessObjectClass)
setBusinessObjectClass in interface LookupableHelperServiceLookupableHelperServicepublic void setDocFormKey(String docFormKey)
setDocFormKey in interface LookupableHelperServiceLookupableHelperServicepublic void setDocNum(String docNum)
setDocNum in interface LookupableHelperServiceLookupableHelperServicepublic void setFieldConversions(Map fieldConversions)
setFieldConversions in interface LookupableHelperServiceLookupableHelperServicepublic void setParameters(Map parameters)
setParameters in interface LookupableHelperServiceLookupableHelperServicepublic void setReadOnlyFieldsList(List<String> readOnlyFieldsList)
setReadOnlyFieldsList in interface LookupableHelperServiceLookupableHelperServicepublic boolean shouldDisplayHeaderNonMaintActions()
shouldDisplayHeaderNonMaintActions in interface LookupableHelperServiceLookupableHelperServicepublic boolean shouldDisplayLookupCriteria()
shouldDisplayLookupCriteria in interface LookupableHelperServiceLookupableHelperServicepublic void validateSearchParameters(Map<String,String> fieldValues)
validateSearchParameters in interface LookupableHelperServiceLookupableHelperServicepublic void applyConditionalLogicForFieldDisplay()
applyConditionalLogicForFieldDisplay in interface LookupableHelperServiceLookupableHelperServiceCopyright © 2005-2012 The Kuali Foundation. All Rights Reserved.