org.kuali.rice.kns.lookup
Class LookupResultsDDBoLookupableHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.LookupResultsDDBoLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, LookupableHelperService

Deprecated. KNS test class, convert to KRAD equivalent if applicable.

@Deprecated
public class LookupResultsDDBoLookupableHelperServiceImpl
extends Object
implements LookupableHelperService

Mock lookupable helper service for the LookupResultsService test

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
LookupResultsDDBoLookupableHelperServiceImpl()
          Deprecated.  
 
Method Summary
 boolean allowsMaintenanceNewOrCopyAction()
          Deprecated. Always return false
 boolean allowsNewOrCopyAction(String documentTypeName)
          Deprecated. Always return false
 void applyConditionalLogicForFieldDisplay()
          Deprecated.  
 void applyFieldAuthorizationsFromNestedLookups(Field field)
          Deprecated. Don't do anything
 boolean checkForAdditionalFields(Map<String,String> fieldValues)
          Deprecated. Always returns false
 String getActionUrls(BusinessObject businessObject, List pkNames, BusinessObjectRestrictions businessObjectRestrictions)
          Deprecated. Always returns a blank String
 String getBackLocation()
          Deprecated. Always returns blank String
 Class getBusinessObjectClass()
          Deprecated. Always returns the class of LookupResultsDDBo
 BusinessObjectDictionaryService getBusinessObjectDictionaryService()
          Deprecated. Gets the class from the KRADServiceLocatorInternal
 List<Column> getColumns()
          Deprecated. Always returns null
 List<HtmlData> getCustomActionUrls(BusinessObject businessObject, List pkNames)
          Deprecated. Always returns null
 DataDictionaryService getDataDictionaryService()
          Deprecated. Returns DataDictionaryService from KRADServiceLocatorInternal
 List getDefaultSortColumns()
          Deprecated. Always returns null
 String getDocFormKey()
          Deprecated. Always returns an empty String
 String getDocNum()
          Deprecated. Always returns empty String
 Field getExtraField()
          Deprecated. Always returns null
 HtmlData getInquiryUrl(BusinessObject businessObject, String propertyName)
          Deprecated. Always returns null
 String getMaintenanceUrl(BusinessObject businessObject, HtmlData htmlData, List pkNames, BusinessObjectRestrictions businessObjectRestrictions)
          Deprecated. Always returns null
 Map getParameters()
          Deprecated. Always returns null
 String getPrimaryKeyFieldLabels()
          Deprecated. Returns an incredibly sophisticated puzzle that would require the smartest genius on earth years to disentangle.
 List<String> getReadOnlyFieldsList()
          Deprecated. Isn't this class exciting?
 List<String> getReturnKeys()
          Deprecated. It does ever so much work
 String getReturnLocation()
          Deprecated. Returns null for everything
 HtmlData getReturnUrl(BusinessObject businessObject, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
          Deprecated. Yeah, this too
 HtmlData getReturnUrl(BusinessObject businessObject, Map fieldConversions, String lookupImpl, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
          Deprecated. Why am I doing all of this?
 List<Row> getRows()
          Deprecated. Why not just extend AbstractLookupableHelperServiceImpl?
 List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
          Deprecated. 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)
          Deprecated. Oh, trust me...
 String getSupplementalMenuBar()
          Deprecated. There's a story there
 String getTitle()
          Deprecated. At any rate, my unit test works
 boolean isResultReturnable(BusinessObject object)
          Deprecated. And I just have a lot of dead methods
 boolean isSearchUsingOnlyPrimaryKeyValues()
          Deprecated. I'm not injecting dependencies
 void performClear(LookupForm lookupForm)
          Deprecated. This method found it hard pressed to do anything...
 boolean performCustomAction(boolean ignoreErrors)
          Deprecated. Always returns false
 Collection performLookup(LookupForm lookupForm, Collection resultTable, boolean bounded)
          Deprecated. Always returns null
 void setBackLocation(String backLocation)
          Deprecated. Ignores the passed in value
 void setBusinessObjectClass(Class businessObjectClass)
          Deprecated. Throws the passed in value away
 void setDocFormKey(String docFormKey)
          Deprecated. Did you actually want this mock service to save this information? I think not...
 void setDocNum(String docNum)
          Deprecated. Does nothing
 void setFieldConversions(Map fieldConversions)
          Deprecated. Doesn't do a thing
 void setParameters(Map parameters)
          Deprecated. Doesn't set anything
 void setReadOnlyFieldsList(List<String> readOnlyFieldsList)
          Deprecated. doesn't set anything
 boolean shouldDisplayHeaderNonMaintActions()
          Deprecated. Always returns true, so that James isn't completely bored
 boolean shouldDisplayLookupCriteria()
          Deprecated. Flips a coin to determine whether to return true or false
 void validateSearchParameters(Map<String,String> fieldValues)
          Deprecated. Everything's valid, trust us
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupResultsDDBoLookupableHelperServiceImpl

public LookupResultsDDBoLookupableHelperServiceImpl()
Deprecated. 
Method Detail

getSearchResults

public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
Deprecated. 
Just sends back whatever someValue was sent in - or "A" as some value if nothing else was out there

Specified by:
getSearchResults in interface LookupableHelperService
See Also:
AbstractLookupableHelperServiceImpl

allowsMaintenanceNewOrCopyAction

public boolean allowsMaintenanceNewOrCopyAction()
Deprecated. 
Always return false

Specified by:
allowsMaintenanceNewOrCopyAction in interface LookupableHelperService
See Also:
LookupableHelperService

allowsNewOrCopyAction

public boolean allowsNewOrCopyAction(String documentTypeName)
Deprecated. 
Always return false

Specified by:
allowsNewOrCopyAction in interface LookupableHelperService
See Also:
LookupableHelperService

applyFieldAuthorizationsFromNestedLookups

public void applyFieldAuthorizationsFromNestedLookups(Field field)
Deprecated. 
Don't do anything

Specified by:
applyFieldAuthorizationsFromNestedLookups in interface LookupableHelperService
See Also:
LookupableHelperService

checkForAdditionalFields

public boolean checkForAdditionalFields(Map<String,String> fieldValues)
Deprecated. 
Always returns false

Specified by:
checkForAdditionalFields in interface LookupableHelperService
See Also:
LookupableHelperService

getActionUrls

public String getActionUrls(BusinessObject businessObject,
                            List pkNames,
                            BusinessObjectRestrictions businessObjectRestrictions)
Deprecated. 
Always returns a blank String

Specified by:
getActionUrls in interface LookupableHelperService
See Also:
LookupableHelperService

getBackLocation

public String getBackLocation()
Deprecated. 
Always returns blank String

Specified by:
getBackLocation in interface LookupableHelperService
See Also:
LookupableHelperService

getBusinessObjectClass

public Class getBusinessObjectClass()
Deprecated. 
Always returns the class of LookupResultsDDBo

Specified by:
getBusinessObjectClass in interface LookupableHelperService
See Also:
LookupableHelperService

getBusinessObjectDictionaryService

public BusinessObjectDictionaryService getBusinessObjectDictionaryService()
Deprecated. 
Gets the class from the KRADServiceLocatorInternal

Specified by:
getBusinessObjectDictionaryService in interface LookupableHelperService
See Also:
LookupableHelperService

getColumns

public List<Column> getColumns()
Deprecated. 
Always returns null

Specified by:
getColumns in interface LookupableHelperService
See Also:
LookupableHelperService

getCustomActionUrls

public List<HtmlData> getCustomActionUrls(BusinessObject businessObject,
                                          List pkNames)
Deprecated. 
Always returns null

Specified by:
getCustomActionUrls in interface LookupableHelperService
See Also:
LookupableHelperService

getDataDictionaryService

public DataDictionaryService getDataDictionaryService()
Deprecated. 
Returns DataDictionaryService from KRADServiceLocatorInternal

Specified by:
getDataDictionaryService in interface LookupableHelperService
See Also:
LookupableHelperService

getDefaultSortColumns

public List getDefaultSortColumns()
Deprecated. 
Always returns null

Specified by:
getDefaultSortColumns in interface LookupableHelperService
See Also:
LookupableHelperService

getDocFormKey

public String getDocFormKey()
Deprecated. 
Always returns an empty String

Specified by:
getDocFormKey in interface LookupableHelperService
See Also:
LookupableHelperService

getDocNum

public String getDocNum()
Deprecated. 
Always returns empty String

Specified by:
getDocNum in interface LookupableHelperService
See Also:
LookupableHelperService

getExtraField

public Field getExtraField()
Deprecated. 
Always returns null

Specified by:
getExtraField in interface LookupableHelperService
See Also:
LookupableHelperService

getInquiryUrl

public HtmlData getInquiryUrl(BusinessObject businessObject,
                              String propertyName)
Deprecated. 
Always returns null

Specified by:
getInquiryUrl in interface LookupableHelperService
See Also:
LookupableHelperService

getMaintenanceUrl

public String getMaintenanceUrl(BusinessObject businessObject,
                                HtmlData htmlData,
                                List pkNames,
                                BusinessObjectRestrictions businessObjectRestrictions)
Deprecated. 
Always returns null

Specified by:
getMaintenanceUrl in interface LookupableHelperService
See Also:
LookupableHelperService

getParameters

public Map getParameters()
Deprecated. 
Always returns null

Specified by:
getParameters in interface LookupableHelperService
See Also:
LookupableHelperService

getPrimaryKeyFieldLabels

public String getPrimaryKeyFieldLabels()
Deprecated. 
Returns an incredibly sophisticated puzzle that would require the smartest genius on earth years to disentangle. It only appears to return null

Specified by:
getPrimaryKeyFieldLabels in interface LookupableHelperService
See Also:
LookupableHelperService

getReadOnlyFieldsList

public List<String> getReadOnlyFieldsList()
Deprecated. 
Isn't this class exciting?

Specified by:
getReadOnlyFieldsList in interface LookupableHelperService
See Also:
LookupableHelperService

getReturnKeys

public List<String> getReturnKeys()
Deprecated. 
It does ever so much work

Specified by:
getReturnKeys in interface LookupableHelperService
See Also:
LookupableHelperService

getReturnLocation

public String getReturnLocation()
Deprecated. 
Returns null for everything

Specified by:
getReturnLocation in interface LookupableHelperService
See Also:
LookupableHelperService

getReturnUrl

public HtmlData getReturnUrl(BusinessObject businessObject,
                             LookupForm lookupForm,
                             List returnKeys,
                             BusinessObjectRestrictions businessObjectRestrictions)
Deprecated. 
Yeah, this too

Specified by:
getReturnUrl in interface LookupableHelperService
See Also:
LookupableHelperService

getReturnUrl

public HtmlData getReturnUrl(BusinessObject businessObject,
                             Map fieldConversions,
                             String lookupImpl,
                             List returnKeys,
                             BusinessObjectRestrictions businessObjectRestrictions)
Deprecated. 
Why am I doing all of this?

Specified by:
getReturnUrl in interface LookupableHelperService
See Also:
LookupableHelperService

getRows

public List<Row> getRows()
Deprecated. 
Why not just extend AbstractLookupableHelperServiceImpl?

Specified by:
getRows in interface LookupableHelperService
See Also:
LookupableHelperService

getSearchResultsUnbounded

public List getSearchResultsUnbounded(Map<String,String> fieldValues)
Deprecated. 
Oh, trust me...

Specified by:
getSearchResultsUnbounded in interface LookupableHelperService
See Also:
LookupableHelperService

getSupplementalMenuBar

public String getSupplementalMenuBar()
Deprecated. 
There's a story there

Specified by:
getSupplementalMenuBar in interface LookupableHelperService
See Also:
LookupableHelperService

getTitle

public String getTitle()
Deprecated. 
At any rate, my unit test works

Specified by:
getTitle in interface LookupableHelperService
See Also:
LookupableHelperService

isResultReturnable

public boolean isResultReturnable(BusinessObject object)
Deprecated. 
And I just have a lot of dead methods

Specified by:
isResultReturnable in interface LookupableHelperService
See Also:
LookupableHelperService

isSearchUsingOnlyPrimaryKeyValues

public boolean isSearchUsingOnlyPrimaryKeyValues()
Deprecated. 
I'm not injecting dependencies

Specified by:
isSearchUsingOnlyPrimaryKeyValues in interface LookupableHelperService
See Also:
LookupableHelperService

performClear

public void performClear(LookupForm lookupForm)
Deprecated. 
This method found it hard pressed to do anything...

Specified by:
performClear in interface LookupableHelperService
See Also:
LookupableHelperService

performCustomAction

public boolean performCustomAction(boolean ignoreErrors)
Deprecated. 
Always returns false

Specified by:
performCustomAction in interface LookupableHelperService
See Also:
LookupableHelperService

performLookup

public Collection performLookup(LookupForm lookupForm,
                                Collection resultTable,
                                boolean bounded)
Deprecated. 
Always returns null

Specified by:
performLookup in interface LookupableHelperService
See Also:
LookupableHelperService

setBackLocation

public void setBackLocation(String backLocation)
Deprecated. 
Ignores the passed in value

Specified by:
setBackLocation in interface LookupableHelperService
See Also:
LookupableHelperService

setBusinessObjectClass

public void setBusinessObjectClass(Class businessObjectClass)
Deprecated. 
Throws the passed in value away

Specified by:
setBusinessObjectClass in interface LookupableHelperService
See Also:
LookupableHelperService

setDocFormKey

public void setDocFormKey(String docFormKey)
Deprecated. 
Did you actually want this mock service to save this information? I think not...

Specified by:
setDocFormKey in interface LookupableHelperService
See Also:
LookupableHelperService

setDocNum

public void setDocNum(String docNum)
Deprecated. 
Does nothing

Specified by:
setDocNum in interface LookupableHelperService
See Also:
LookupableHelperService

setFieldConversions

public void setFieldConversions(Map fieldConversions)
Deprecated. 
Doesn't do a thing

Specified by:
setFieldConversions in interface LookupableHelperService
See Also:
LookupableHelperService

setParameters

public void setParameters(Map parameters)
Deprecated. 
Doesn't set anything

Specified by:
setParameters in interface LookupableHelperService
See Also:
LookupableHelperService

setReadOnlyFieldsList

public void setReadOnlyFieldsList(List<String> readOnlyFieldsList)
Deprecated. 
doesn't set anything

Specified by:
setReadOnlyFieldsList in interface LookupableHelperService
See Also:
LookupableHelperService

shouldDisplayHeaderNonMaintActions

public boolean shouldDisplayHeaderNonMaintActions()
Deprecated. 
Always returns true, so that James isn't completely bored

Specified by:
shouldDisplayHeaderNonMaintActions in interface LookupableHelperService
See Also:
LookupableHelperService

shouldDisplayLookupCriteria

public boolean shouldDisplayLookupCriteria()
Deprecated. 
Flips a coin to determine whether to return true or false

Specified by:
shouldDisplayLookupCriteria in interface LookupableHelperService
See Also:
LookupableHelperService

validateSearchParameters

public void validateSearchParameters(Map<String,String> fieldValues)
Deprecated. 
Everything's valid, trust us

Specified by:
validateSearchParameters in interface LookupableHelperService
See Also:
LookupableHelperService

applyConditionalLogicForFieldDisplay

public void applyConditionalLogicForFieldDisplay()
Deprecated. 
Specified by:
applyConditionalLogicForFieldDisplay in interface LookupableHelperService
See Also:
LookupableHelperService


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.