Package org.kuali.rice.kns.lookup
Class AbstractLookupableHelperServiceImpl
java.lang.Object
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
- All Implemented Interfaces:
Serializable,LookupableHelperService
- Direct Known Subclasses:
KualiLookupableHelperServiceImpl
@Deprecated
public abstract class AbstractLookupableHelperServiceImpl
extends Object
implements LookupableHelperService
Deprecated.
This class declares many of the common spring injected properties, the get/set-ers for them,
and some common util methods that require the injected services
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringDeprecated.protected static final StringDeprecated.protected static final StringDeprecated.protected static final StringDeprecated.protected static final StringDeprecated.protected StringDeprecated.protected BusinessObjectAuthorizationServiceDeprecated.protected ClassDeprecated.protected BusinessObjectDictionaryServiceDeprecated.protected BusinessObjectMetaDataServiceDeprecated.protected BusinessObjectServiceDeprecated.protected ConfigurationServiceDeprecated.protected DataDictionaryServiceDeprecated.protected StringDeprecated.protected StringDeprecated.protected EncryptionServiceDeprecated.protected MapDeprecated.Deprecated.Deprecated.protected InquirableDeprecated.protected static final org.apache.logging.log4j.LoggerDeprecated.protected LookupResultsServiceDeprecated.protected LookupServiceDeprecated.protected MaintenanceDocumentDictionaryServiceDeprecated.Deprecated.Deprecated.protected ParameterServiceDeprecated.protected PersistenceStructureServiceDeprecated.Deprecated.protected StringDeprecated.protected CopiedObject<ArrayList<Column>> Deprecated.protected static IntegerDeprecated.Deprecated.protected SequenceAccessorServiceDeprecated.protected static final StringDeprecated.protected static final StringDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringaddToReturnHref(String href, LookupForm lookupForm) Deprecated.protected booleanallowsMaintenanceDeleteAction(BusinessObject businessObject) Deprecated.for KULRice 3070protected booleanallowsMaintenanceEditAction(BusinessObject businessObject) Deprecated.booleanDeprecated.Determines if underlying lookup bo has associated maintenance document that allows new or copy maintenance actions.booleanallowsNewOrCopyAction(String documentTypeName) Deprecated.Determines if underlying lookup bo has associated document that allows new or copy maintenance actions.voidDeprecated.Calls methods that can be overridden by child lookupables to implement conditional logic for setting read-only, required, and hidden attributes.voidDeprecated.Functional requirements state that users are able to perform searches using criteria values that they are not allowed to view.booleancheckForAdditionalFields(Map<String, String> fieldValues) Deprecated.This implementation always returns false.protected StringgetActionUrlHref(BusinessObject businessObject, String methodToCall, List pkNames) Deprecated.This method generates and returns href for the given parameters.final StringgetActionUrls(BusinessObject businessObject, List pkNames, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.This method is called by performLookup method to generate action urls.protected StringgetActionUrlTitleText(BusinessObject businessObject, String displayText, List pkNames, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.This method generates and returns title text for action urls.Deprecated.Deprecated.Deprecated.Deprecated.Gets the businessObjectDictionaryService attribute.Deprecated.Gets the businessObjectMetaDataService attribute.Deprecated.protected intgetColumnMaxLength(String attributeName) Deprecated.Deprecated.Constructs the list of columns for the search results.Deprecated.Deprecated.Deprecated.protected StringgetCurrentSearchFieldValue(String propertyName) Deprecated.Helper method to get the value for a property out of the row-field graph.getCustomActionUrls(BusinessObject businessObject, List pkNames) Deprecated.Child classes should override this method if they want to return some other action urls.Deprecated.Gets the dataDictionaryService attribute.Deprecated.Uses the DD to determine which is the default sort order.Deprecated.Gets the docFormKey attribute.Deprecated.Deprecated.A utility method that returns an empty list of action urls.protected HtmlDataDeprecated.protected EncryptionServiceDeprecated.Gets the encryptionService attribute.Deprecated.get an extra fieldgetInquiryUrl(BusinessObject bo, String propertyName) Deprecated.Returns the inquiry url for a field if one exist.Deprecated.Deprecated.protected LookupResultsServiceDeprecated.protected LookupServiceDeprecated.Gets the lookupService attribute.Deprecated.protected StringDeprecated.Returns the maintenance document type associated with the business object class or null if one does not exist.final StringgetMaintenanceUrl(BusinessObject businessObject, HtmlData htmlData, List pkNames, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.Build a maintenance url.Deprecated.protected PropertiesgetParameters(BusinessObject bo, Map<String, String> fieldConversions, String lookupImpl, List returnKeys) Deprecated.Deprecated.protected PropertiesgetParametersFromPrimaryKey(BusinessObject businessObject, List pkNames) Deprecated.protected PersistenceStructureServiceDeprecated.Gets the persistenceStructureService attribute.Deprecated.Returns "N/A"protected ClassgetPropertyClass(BusinessObject element, String propertyName) Deprecated.Gets the Class for the property in the given BusinessObject instance, if property is not accessible then runtime exception is thrownDeprecated.Gets the readOnlyFieldsList attribute.Deprecated.protected HtmlDatagetReturnAnchorHtmlData(BusinessObject businessObject, Properties parameters, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.protected StringgetReturnHref(Properties parameters, LookupForm lookupForm, List returnKeys) Deprecated.protected final StringgetReturnHref(BusinessObject businessObject, Map fieldConversions, String lookupImpl, List returnKeys) Deprecated.This method is for lookupable implementationsprotected HtmlDatagetReturnInputHtmlData(BusinessObject businessObject, Properties parameters, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.Deprecated.This method is public because some unit tests depend on it.Deprecated.final HtmlDatagetReturnUrl(BusinessObject businessObject, Map fieldConversions, String lookupImpl, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.This method is for lookupable implementationsgetReturnUrl(BusinessObject businessObject, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.This method builds the return urlgetRows()Deprecated.Returns a list of Row objects to be used to generate the search query screen Generally, setDataObjectClass needs to be called with a non-null value for proper operationabstract List<? extends BusinessObject> getSearchResults(Map<String, String> fieldValues) Deprecated.Performs a search and returns result list.booleanDeprecated.Determines if the actual size of search results (without limiting) is known.List<? extends BusinessObject> getSearchResultsUnbounded(Map<String, String> fieldValues) Deprecated.This implementation of this method throws an UnsupportedOperationException, since not every implementation may actually want to use this operation.protected SequenceAccessorServiceDeprecated.Deprecated.This method gets the supplemental lookup menu if anygetTitle()Deprecated.protected HtmlData.AnchorHtmlDatagetUrlData(BusinessObject businessObject, String methodToCall, String displayText, List pkNames) Deprecated.This method constructs an AnchorHtmlData.protected HtmlData.AnchorHtmlDatagetUrlData(BusinessObject businessObject, String methodToCall, List pkNames) Deprecated.This method calls its overloaded method with displayText as methodToCallbooleanisResultReturnable(BusinessObject object) Deprecated.Determines whether a given BusinessObject that's returned as one of the lookup's results is considered returnable, which means that for single-value lookups, a "return value" link may be rendered, and for multiple value lookups, a checkbox is rendered.booleanDeprecated.This method returns whether the previously executed getSearchResults used the primary key values to search, ignoring all non key valuesprotected StringmaskValueIfNecessary(Class businessObjectClass, String propertyName, String propertyValue, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.voidperformClear(LookupForm lookupForm) Deprecated.This method does the logic for the clear action.booleanperformCustomAction(boolean ignoreErrors) Deprecated.performs custom actions.Collection<? extends BusinessObject> performLookup(LookupForm lookupForm, Collection<ResultRow> resultTable, boolean bounded) Deprecated.Performs the lookup and returns a collection of lookup itemsvoidsetBackLocation(String backLocation) Deprecated.voidsetBusinessObjectClass(Class businessObjectClass) Deprecated.Initializes the lookup with a business object class.voidsetBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService) Deprecated.Sets the businessObjectDictionaryService attribute value.voidsetBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService) Deprecated.Sets the businessObjectMetaDataService attribute value.voidsetBusinessObjectService(BusinessObjectService businessObjectService) Deprecated.voidsetDataDictionaryService(DataDictionaryService dataDictionaryService) Deprecated.Sets the dataDictionaryService attribute value.voidsetDocFormKey(String docFormKey) Deprecated.Sets the docFormKey attribute value.voidDeprecated.voidsetEncryptionService(EncryptionService encryptionService) Deprecated.Sets the encryptionService attribute value.voidsetFieldConversions(Map fieldConversions) Deprecated.Sets the requested fields conversions in the lookupablevoidsetKualiInquirable(Inquirable kualiInquirable) Deprecated.voidsetLookupResultsService(LookupResultsService lookupResultsService) Deprecated.voidsetLookupService(LookupService lookupService) Deprecated.Sets the lookupService attribute value.voidsetMaintenanceDocumentDictionaryService(MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService) Deprecated.voidsetParameters(Map<String, String[]> parameters) Deprecated.Initializes the lookup with the given Map of parameters.voidsetParameterService(ConfigurationService configurationService) Deprecated.voidsetParameterService(ParameterService parameterService) Deprecated.voidsetPersistenceStructureService(PersistenceStructureService persistenceStructureService) Deprecated.Sets the persistenceStructureService attribute value.voidsetReadOnlyFieldsList(List<String> readOnlyFieldsList) Deprecated.Sets the readOnlyFieldsList attribute value.protected voidsetReferencesToRefresh(String referencesToRefresh) Deprecated.protected voidsetRows()Deprecated.Constructs the list of rows for the search fields.voidsetSequenceAccessorService(SequenceAccessorService sequenceAccessorService) Deprecated.booleanDeprecated.booleanDeprecated.voidvalidateSearchParameters(Map<String, String> fieldValues) Deprecated.Checks that any required search fields have value.protected voidvalidateSearchParameterWildcardAndOperators(String attributeName, String attributeValue) Deprecated.
-
Field Details
-
TITLE_RETURN_URL_PREPENDTEXT_PROPERTY
Deprecated.- See Also:
-
TITLE_ACTION_URL_PREPENDTEXT_PROPERTY
Deprecated.- See Also:
-
ACTION_URLS_CHILDREN_SEPARATOR
Deprecated.- See Also:
-
ACTION_URLS_CHILDREN_STARTER
Deprecated.- See Also:
-
ACTION_URLS_CHILDREN_END
Deprecated.- See Also:
-
ACTION_URLS_SEPARATOR
Deprecated.- See Also:
-
ACTION_URLS_EMPTY
Deprecated.- See Also:
-
LOG
protected static final org.apache.logging.log4j.Logger LOGDeprecated. -
businessObjectClass
Deprecated. -
parameters
Deprecated. -
businessObjectDictionaryService
Deprecated. -
businessObjectMetaDataService
Deprecated. -
dataDictionaryService
Deprecated. -
persistenceStructureService
Deprecated. -
encryptionService
Deprecated. -
readOnlyFieldsList
Deprecated. -
backLocation
Deprecated. -
docFormKey
Deprecated. -
fieldConversions
Deprecated. -
lookupService
Deprecated. -
rows
Deprecated. -
referencesToRefresh
Deprecated. -
sequenceAccessorService
Deprecated. -
businessObjectService
Deprecated. -
lookupResultsService
Deprecated. -
docNum
Deprecated. -
configurationService
Deprecated. -
parameterService
Deprecated. -
businessObjectAuthorizationService
Deprecated. -
maintenanceDocumentDictionaryService
Deprecated. -
kualiInquirable
Deprecated. -
noLookupResultFieldInquiryCache
Deprecated. -
inquirableClassCache
Deprecated. -
forceLookupResultFieldInquiryCache
Deprecated. -
resultColumns
Deprecated. -
RESULTS_DEFAULT_MAX_COLUMN_LENGTH
Deprecated.
-
-
Constructor Details
-
AbstractLookupableHelperServiceImpl
public AbstractLookupableHelperServiceImpl()Deprecated.
-
-
Method Details
-
getDocNum
Deprecated.- Specified by:
getDocNumin interfaceLookupableHelperService- Returns:
- the docNum
-
setDocNum
Deprecated.- Specified by:
setDocNumin interfaceLookupableHelperService- Parameters:
docNum- the docNum to set
-
checkForAdditionalFields
Deprecated.This implementation always returns false.- Specified by:
checkForAdditionalFieldsin interfaceLookupableHelperService- Parameters:
fieldValues- - Map of property/value pairs- Returns:
- boolean
- See Also:
-
getBusinessObjectClass
Deprecated.- Specified by:
getBusinessObjectClassin interfaceLookupableHelperService- Returns:
- Returns the dataObjectClass this lookupable is representing
- See Also:
-
setBusinessObjectClass
Deprecated.Description copied from interface:LookupableHelperServiceInitializes the lookup with a business object class. This is set via the LookupableHelperService's consumer, namely the Lookupable implementation (or in cases of nesting a wrapping LookupableHelperService). The Lookupable in turn receives this value from the UI via LookupForm population.- Specified by:
setBusinessObjectClassin interfaceLookupableHelperService- Parameters:
businessObjectClass-- See Also:
-
getParameters
Deprecated.- Specified by:
getParametersin interfaceLookupableHelperService- Returns:
- Returns the parameters passed to this lookup
- See Also:
-
setParameters
Deprecated.Description copied from interface:LookupableHelperServiceInitializes the lookup with the given Map of parameters.- Specified by:
setParametersin interfaceLookupableHelperService- Parameters:
parameters-- See Also:
-
getDataDictionaryService
Deprecated.Gets the dataDictionaryService attribute.- Specified by:
getDataDictionaryServicein interfaceLookupableHelperService- Returns:
- Returns the dataDictionaryService.
-
setDataDictionaryService
Deprecated.Sets the dataDictionaryService attribute value.- Parameters:
dataDictionaryService- The dataDictionaryService to set.
-
getBusinessObjectDictionaryService
Deprecated.Gets the businessObjectDictionaryService attribute.- Specified by:
getBusinessObjectDictionaryServicein interfaceLookupableHelperService- Returns:
- Returns the businessObjectDictionaryService.
-
setBusinessObjectDictionaryService
public void setBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService) Deprecated.Sets the businessObjectDictionaryService attribute value.- Parameters:
businessObjectDictionaryService- The businessObjectDictionaryService to set.
-
getBusinessObjectMetaDataService
Deprecated.Gets the businessObjectMetaDataService attribute.- Returns:
- Returns the businessObjectMetaDataService.
-
setBusinessObjectMetaDataService
public void setBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService) Deprecated.Sets the businessObjectMetaDataService attribute value.- Parameters:
businessObjectMetaDataService- The businessObjectMetaDataService to set.
-
getPersistenceStructureService
Deprecated.Gets the persistenceStructureService attribute.- Returns:
- Returns the persistenceStructureService.
-
setPersistenceStructureService
Deprecated.Sets the persistenceStructureService attribute value.- Parameters:
persistenceStructureService- The persistenceStructureService to set.
-
getEncryptionService
Deprecated.Gets the encryptionService attribute.- Returns:
- Returns the encryptionService.
-
setEncryptionService
Deprecated.Sets the encryptionService attribute value.- Parameters:
encryptionService- The encryptionService to set.
-
getMaintenanceDocumentDictionaryService
Deprecated. -
getBusinessObjectAuthorizationService
Deprecated. -
getKualiInquirable
Deprecated. -
setMaintenanceDocumentDictionaryService
public void setMaintenanceDocumentDictionaryService(MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService) Deprecated. -
setKualiInquirable
Deprecated. -
getKualiConfigurationService
Deprecated. -
setParameterService
Deprecated. -
getParameterService
Deprecated. -
setParameterService
Deprecated. -
allowsMaintenanceNewOrCopyAction
public boolean allowsMaintenanceNewOrCopyAction()Deprecated.Determines if underlying lookup bo has associated maintenance document that allows new or copy maintenance actions.- Specified by:
allowsMaintenanceNewOrCopyActionin interfaceLookupableHelperService- Returns:
- true if bo has maint doc that allows new or copy actions
-
allowsMaintenanceEditAction
Deprecated. -
getMaintenanceUrl
public final String getMaintenanceUrl(BusinessObject businessObject, HtmlData htmlData, List pkNames, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.Build a maintenance url.- Specified by:
getMaintenanceUrlin interfaceLookupableHelperService- Parameters:
businessObject-htmlData-pkNames-- Returns:
-
getActionUrls
public final String getActionUrls(BusinessObject businessObject, List pkNames, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.This method is called by performLookup method to generate action urls. It calls the method getCustomActionUrls to get html data, calls getMaintenanceUrl to get the actual html tag, and returns a formatted/concatenated string of action urls.- Specified by:
getActionUrlsin interfaceLookupableHelperService- Parameters:
businessObject- - Instance of a business object containing the return valuespkNames- - List of primary key names- Returns:
- String rendered in actions column of result set
-
getCustomActionUrls
Deprecated.Child classes should override this method if they want to return some other action urls.- Specified by:
getCustomActionUrlsin interfaceLookupableHelperService- Parameters:
businessObject-pkNames-- Returns:
-
allowsMaintenanceDeleteAction
Deprecated.for KULRice 3070 -
getUrlData
protected HtmlData.AnchorHtmlData getUrlData(BusinessObject businessObject, String methodToCall, String displayText, List pkNames) Deprecated.This method constructs an AnchorHtmlData. This method can be overridden by child classes if they want to construct the html data in a different way. Foe example, if they want different type of html tag, like input/image.- Parameters:
businessObject-methodToCall-displayText-pkNames-- Returns:
-
getUrlData
protected HtmlData.AnchorHtmlData getUrlData(BusinessObject businessObject, String methodToCall, List pkNames) Deprecated.This method calls its overloaded method with displayText as methodToCall- Parameters:
businessObject-methodToCall-pkNames-- Returns:
-
getEmptyActionUrls
Deprecated.A utility method that returns an empty list of action urls.- Returns:
-
getEmptyAnchorHtmlData
Deprecated. -
getActionUrlHref
Deprecated.This method generates and returns href for the given parameters. This method can be overridden by child classes if they have to generate href differently. For example, refer to IntendedIncumbentLookupableHelperServiceImpl- Parameters:
businessObject-methodToCall-pkNames-- Returns:
-
getParametersFromPrimaryKey
Deprecated. -
getActionUrlTitleText
protected String getActionUrlTitleText(BusinessObject businessObject, String displayText, List pkNames, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.This method generates and returns title text for action urls. Child classes can override this if they want to generate the title text differently. For example, refer to BatchJobStatusLookupableHelperServiceImpl- Parameters:
businessObject-displayText-pkNames-- Returns:
-
getMaintenanceDocumentTypeName
Deprecated.Returns the maintenance document type associated with the business object class or null if one does not exist.- Returns:
- String representing the maintenance document type name
-
getReadOnlyFieldsList
Deprecated.Gets the readOnlyFieldsList attribute.- Specified by:
getReadOnlyFieldsListin interfaceLookupableHelperService- Returns:
- Returns the readOnlyFieldsList.
-
setReadOnlyFieldsList
Deprecated.Sets the readOnlyFieldsList attribute value.- Specified by:
setReadOnlyFieldsListin interfaceLookupableHelperService- Parameters:
readOnlyFieldsList- The readOnlyFieldsList to set.
-
getInquiryUrl
Deprecated.Returns the inquiry url for a field if one exist.- Specified by:
getInquiryUrlin interfaceLookupableHelperService- Parameters:
bo- the business object instance to build the urls forpropertyName- the property which links to an inquirable- Returns:
- String url to inquiry
-
getColumns
Deprecated.Constructs the list of columns for the search results. All properties for the column objects come from the DataDictionary.- Specified by:
getColumnsin interfaceLookupableHelperService- Returns:
- List of Column objects used to render the result table
-
getColumnMaxLength
Deprecated. -
getBackLocation
Deprecated.- Specified by:
getBackLocationin interfaceLookupableHelperService- Returns:
- Returns the backLocation.
-
setBackLocation
Deprecated.- Specified by:
setBackLocationin interfaceLookupableHelperService- Parameters:
backLocation- The backLocation to set.
-
getReturnLocation
Deprecated.- Specified by:
getReturnLocationin interfaceLookupableHelperService- Returns:
- String url for the location to return to after the lookup
- See Also:
-
getReturnUrl
public final HtmlData getReturnUrl(BusinessObject businessObject, Map fieldConversions, String lookupImpl, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.This method is for lookupable implementations- Specified by:
getReturnUrlin interfaceLookupableHelperService- Parameters:
businessObject- - Instance of a business object containing the return valuesfieldConversions- - Map of conversions mapping bo names to caller field names.lookupImpl- - Current lookup impl namereturnKeys- - Keys to return- Returns:
- String url called when selecting a row from the result set
-
getReturnHref
protected final String getReturnHref(BusinessObject businessObject, Map fieldConversions, String lookupImpl, List returnKeys) Deprecated.This method is for lookupable implementations- Parameters:
businessObject-fieldConversions-lookupImpl-returnKeys-- Returns:
-
getReturnUrl
public HtmlData getReturnUrl(BusinessObject businessObject, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) Deprecated.Description copied from interface:LookupableHelperServiceThis method builds the return url- Specified by:
getReturnUrlin interfaceLookupableHelperService- Parameters:
businessObject-lookupForm-returnKeys-- Returns:
-
getReturnInputHtmlData
protected HtmlData getReturnInputHtmlData(BusinessObject businessObject, Properties parameters, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) Deprecated. -
getReturnAnchorHtmlData
protected HtmlData getReturnAnchorHtmlData(BusinessObject businessObject, Properties parameters, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) Deprecated. -
getReturnHref
Deprecated. -
addToReturnHref
Deprecated. -
getParameters
protected Properties getParameters(BusinessObject bo, Map<String, String> fieldConversions, String lookupImpl, List returnKeys) Deprecated. -
getReturnKeys
Deprecated.Description copied from interface:LookupableHelperServiceThis method is public because some unit tests depend on it.- Specified by:
getReturnKeysin interfaceLookupableHelperService- Returns:
- a List of the names of fields which are marked in data dictionary as return fields.
-
getDocFormKey
Deprecated.Gets the docFormKey attribute.- Specified by:
getDocFormKeyin interfaceLookupableHelperService- Returns:
- Returns the docFormKey.
-
setDocFormKey
Deprecated.Sets the docFormKey attribute value.- Specified by:
setDocFormKeyin interfaceLookupableHelperService- Parameters:
docFormKey- The docFormKey to set.
-
setFieldConversions
Deprecated.Description copied from interface:LookupableHelperServiceSets the requested fields conversions in the lookupable- Specified by:
setFieldConversionsin interfaceLookupableHelperService- Parameters:
fieldConversions-- See Also:
-
getLookupService
Deprecated.Gets the lookupService attribute.- Returns:
- Returns the lookupService.
-
setLookupService
Deprecated.Sets the lookupService attribute value.- Parameters:
lookupService- The lookupService to set.
-
getDefaultSortColumns
Deprecated.Uses the DD to determine which is the default sort order.- Specified by:
getDefaultSortColumnsin interfaceLookupableHelperService- Returns:
- property names that will be used to sort on by default
-
validateSearchParameters
Deprecated.Checks that any required search fields have value.- Specified by:
validateSearchParametersin interfaceLookupableHelperService- Parameters:
fieldValues- - Map of property/value pairs- See Also:
-
validateSearchParameterWildcardAndOperators
protected void validateSearchParameterWildcardAndOperators(String attributeName, String attributeValue) Deprecated. -
setRows
protected void setRows()Deprecated.Constructs the list of rows for the search fields. All properties for the field objects come from the DataDictionary. To be called by setBusinessObject -
getRows
Deprecated.Description copied from interface:LookupableHelperServiceReturns a list of Row objects to be used to generate the search query screen Generally, setDataObjectClass needs to be called with a non-null value for proper operation- Specified by:
getRowsin interfaceLookupableHelperService- Returns:
-
getSearchResults
Deprecated.Description copied from interface:LookupableHelperServicePerforms a search and returns result list.- Specified by:
getSearchResultsin interfaceLookupableHelperService- Parameters:
fieldValues- - Map of property/value pairs- Returns:
- List of business objects found by the search
-
getSearchResultsUnbounded
Deprecated.This implementation of this method throws an UnsupportedOperationException, since not every implementation may actually want to use this operation. Subclasses desiring other behaviors will need to override this.- Specified by:
getSearchResultsUnboundedin interfaceLookupableHelperService- Parameters:
fieldValues-- Returns:
- See Also:
-
getSearchResultsActualSizeKnown
public boolean getSearchResultsActualSizeKnown()Deprecated.Description copied from interface:LookupableHelperServiceDetermines if the actual size of search results (without limiting) is known. This should be false if search results are limited in SQL and there is post-SQL filtering of search results.- Specified by:
getSearchResultsActualSizeKnownin interfaceLookupableHelperService- Returns:
- boolean
-
performLookup
public Collection<? extends BusinessObject> performLookup(LookupForm lookupForm, Collection<ResultRow> resultTable, boolean bounded) Deprecated.Performs the lookup and returns a collection of lookup items- Specified by:
performLookupin interfaceLookupableHelperService- Parameters:
lookupForm-resultTable-bounded-- Returns:
-
getPropertyClass
Deprecated.Gets the Class for the property in the given BusinessObject instance, if property is not accessible then runtime exception is thrown- Parameters:
element- BusinessObject instance that contains propertypropertyName- Name of property in BusinessObject to get class for- Returns:
- Type for property as Class
-
maskValueIfNecessary
protected String maskValueIfNecessary(Class businessObjectClass, String propertyName, String propertyValue, BusinessObjectRestrictions businessObjectRestrictions) Deprecated. -
setReferencesToRefresh
Deprecated. -
getReferencesToRefresh
Deprecated. -
getSequenceAccessorService
Deprecated. -
setSequenceAccessorService
Deprecated. -
getBusinessObjectService
Deprecated. -
setBusinessObjectService
Deprecated. -
getLookupResultsService
Deprecated. -
setLookupResultsService
Deprecated. -
isSearchUsingOnlyPrimaryKeyValues
public boolean isSearchUsingOnlyPrimaryKeyValues()Deprecated.Description copied from interface:LookupableHelperServiceThis method returns whether the previously executed getSearchResults used the primary key values to search, ignoring all non key values- Specified by:
isSearchUsingOnlyPrimaryKeyValuesin interfaceLookupableHelperService- Returns:
- false always, subclasses should override to do something smarter
- See Also:
-
getPrimaryKeyFieldLabels
Deprecated.Returns "N/A"- Specified by:
getPrimaryKeyFieldLabelsin interfaceLookupableHelperService- Returns:
- "N/A"
- See Also:
-
isResultReturnable
Deprecated.Description copied from interface:LookupableHelperServiceDetermines whether a given BusinessObject that's returned as one of the lookup's results is considered returnable, which means that for single-value lookups, a "return value" link may be rendered, and for multiple value lookups, a checkbox is rendered. Note that this can be part of an authorization mechanism, but not the complete authorization mechanism. The component that invoked the lookup/ lookup caller (e.g. document, nesting lookup, etc.) needs to check that the object that was passed to it was returnable as well because there are ways around this method (e.g. crafting a custom return URL).- Specified by:
isResultReturnablein interfaceLookupableHelperService- Parameters:
object- an object from the search result set- Returns:
-
performClear
Deprecated.This method does the logic for the clear action.- Specified by:
performClearin interfaceLookupableHelperService
-
shouldDisplayHeaderNonMaintActions
public boolean shouldDisplayHeaderNonMaintActions()Deprecated.- Specified by:
shouldDisplayHeaderNonMaintActionsin interfaceLookupableHelperService- See Also:
-
shouldDisplayLookupCriteria
public boolean shouldDisplayLookupCriteria()Deprecated.- Specified by:
shouldDisplayLookupCriteriain interfaceLookupableHelperService- See Also:
-
getSupplementalMenuBar
Deprecated.Description copied from interface:LookupableHelperServiceThis method gets the supplemental lookup menu if any- Specified by:
getSupplementalMenuBarin interfaceLookupableHelperService- Returns:
- supplemental menu bar
- See Also:
-
getTitle
Deprecated.- Specified by:
getTitlein interfaceLookupableHelperService- Returns:
- String displayed as title for the lookup
- See Also:
-
performCustomAction
public boolean performCustomAction(boolean ignoreErrors) Deprecated.Description copied from interface:LookupableHelperServiceperforms custom actions. return true to reperform search- Specified by:
performCustomActionin interfaceLookupableHelperService- Parameters:
ignoreErrors-- Returns:
- boolean to reperform search
- See Also:
-
getExtraField
Deprecated.Description copied from interface:LookupableHelperServiceget an extra field- Specified by:
getExtraFieldin interfaceLookupableHelperService- Returns:
- See Also:
-
allowsNewOrCopyAction
Deprecated.Description copied from interface:LookupableHelperServiceDetermines if underlying lookup bo has associated document that allows new or copy maintenance actions.- Specified by:
allowsNewOrCopyActionin interfaceLookupableHelperService- Returns:
- true if bo has doc that allows new or copy actions
-
applyFieldAuthorizationsFromNestedLookups
Deprecated.Functional requirements state that users are able to perform searches using criteria values that they are not allowed to view.- Specified by:
applyFieldAuthorizationsFromNestedLookupsin interfaceLookupableHelperService
-
applyConditionalLogicForFieldDisplay
public void applyConditionalLogicForFieldDisplay()Deprecated.Calls methods that can be overridden by child lookupables to implement conditional logic for setting read-only, required, and hidden attributes. Called in the last part of the lookup lifecycle so the fields values that will be sent will be correctly reflected in the rows (like after a clear).- Specified by:
applyConditionalLogicForFieldDisplayin interfaceLookupableHelperService- See Also:
-
getConditionallyReadOnlyPropertyNames
Deprecated.- Returns:
- Set of property names that should be set as read only based on the current search
contents, note request parms containing search field values can be retrieved with
getParameters()
-
getConditionallyRequiredPropertyNames
Deprecated.- Returns:
- Set of property names that should be set as required based on the current search
contents, note request parms containing search field values can be retrieved with
getParameters()
-
getConditionallyHiddenPropertyNames
Deprecated.- Returns:
- Set of property names that should be set as hidden based on the current search
contents, note request parms containing search field values can be retrieved with
getParameters()
-
getCurrentSearchFieldValue
Deprecated.Helper method to get the value for a property out of the row-field graph. If property is multi-value then the values will be joined by a semi-colon.- Parameters:
propertyName- - name of property to retrieve value for- Returns:
- current property value as a String
-
LookupableImpl.