Package org.kuali.rice.kns.lookup
Class LookupResultsServiceImpl
java.lang.Object
org.kuali.rice.kns.lookup.LookupResultsServiceImpl
- All Implemented Interfaces:
Serializable,LookupResultsService
Deprecated.
Only used by KNS classes, use KRAD.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearPersistedLookupResults(String lookupResultsSequenceNumber) Deprecated.voidclearPersistedSelectedObjectIds(String lookupResultsSequenceNumber) Deprecated.voiddeleteOldLookupResults(Timestamp expirationDate) Deprecated.voiddeleteOldSelectedObjectIds(Timestamp expirationDate) Deprecated.Deprecated.Deprecated.getLookupId(BusinessObject businessObject) Deprecated.Figures out which LookupResultsServiceSupportStrategy to defer to, and uses that to get the lookup idDeprecated.Deprecated.protected LookupResultsSupportStrategyServicegetQualifingSupportStrategy(Class boClass) Deprecated.Given the business object class, determines the best qualifying LookupResultsSupportStrategyService to usebooleanisAuthorizedToAccessLookupResults(String lookupResultsSequenceNumber, String personId) Deprecated.protected booleanisAuthorizedToAccessLookupResults(LookupResults lookupResults, String personId) Deprecated.Returns whether the user ID parameter is allowed to view the results.protected booleanDeprecated.Determines whether the passed in user ID is allowed to view the lookup metadata (object IDs or results table)booleanisAuthorizedToAccessSelectedObjectIds(String lookupResultsSequenceNumber, String personId) Deprecated.protected booleanisAuthorizedToAccessSelectedObjectIds(SelectedObjectIds selectedObjectIds, String personId) Deprecated.Returns whether the user ID parameter is allowed to view the selected object IDsvoidpersistResultsTable(String lookupResultsSequenceNumber, List<ResultRow> resultTable, String personId) Deprecated.voidpersistSelectedObjectIds(String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String personId) Deprecated.protected LookupResultsretrieveLookupResults(String lookupResultsSequenceNumber) Deprecated.Retrieves the LookupResults BO with the given sequence number.retrieveResultsTable(String lookupResultsSequenceNumber, String personId) Deprecated.protected SelectedObjectIdsretrieveSelectedObjectIds(String lookupResultsSequenceNumber) Deprecated.Retrieves the SelectedObjectIds BO with the given sequence number.<T extends BusinessObject>
Collection<T> retrieveSelectedResultBOs(String lookupResultsSequenceNumber, Class<T> boClass, String personId) Deprecated.Figures out which support strategy to defer to and uses that service to retrieve the results; if the bo class doesn't qualify with any support strategy, an exception is thrown.voidsetBusinessObjectService(BusinessObjectService businessObjectService) Deprecated.voidsetDataDictionarySupportStrategy(LookupResultsSupportStrategyService dataDictionarySupportStrategy) Deprecated.voidsetPersistableBusinessObjectSupportStrategy(LookupResultsSupportStrategyService persistableBusinessObjectSupportStrategy) Deprecated.voidsetPersistedLookupMetadataDao(PersistedLookupMetadataDao persistedLookupMetadataDao) Deprecated.
-
Constructor Details
-
LookupResultsServiceImpl
public LookupResultsServiceImpl()Deprecated.
-
-
Method Details
-
persistResultsTable
public void persistResultsTable(String lookupResultsSequenceNumber, List<ResultRow> resultTable, String personId) throws Exception Deprecated.- Specified by:
persistResultsTablein interfaceLookupResultsService- Throws:
Exception- See Also:
-
persistSelectedObjectIds
public void persistSelectedObjectIds(String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String personId) throws Exception Deprecated.- Specified by:
persistSelectedObjectIdsin interfaceLookupResultsService- Throws:
Exception- See Also:
-
retrieveLookupResults
Deprecated.Retrieves the LookupResults BO with the given sequence number. Does not check authentication.- Parameters:
lookupResultsSequenceNumber-- Returns:
- Throws:
Exception
-
retrieveSelectedObjectIds
protected SelectedObjectIds retrieveSelectedObjectIds(String lookupResultsSequenceNumber) throws Exception Deprecated.Retrieves the SelectedObjectIds BO with the given sequence number. Does not check authentication.- Parameters:
lookupResultsSequenceNumber-- Returns:
- Throws:
Exception
-
isAuthorizedToAccessLookupResults
public boolean isAuthorizedToAccessLookupResults(String lookupResultsSequenceNumber, String personId) Deprecated.- Specified by:
isAuthorizedToAccessLookupResultsin interfaceLookupResultsService- See Also:
-
isAuthorizedToAccessLookupResults
Deprecated.Returns whether the user ID parameter is allowed to view the results.- Parameters:
lookupResults-personId-- Returns:
-
isAuthorizedToAccessSelectedObjectIds
public boolean isAuthorizedToAccessSelectedObjectIds(String lookupResultsSequenceNumber, String personId) Deprecated.- Specified by:
isAuthorizedToAccessSelectedObjectIdsin interfaceLookupResultsService- See Also:
-
isAuthorizedToAccessSelectedObjectIds
protected boolean isAuthorizedToAccessSelectedObjectIds(SelectedObjectIds selectedObjectIds, String personId) Deprecated.Returns whether the user ID parameter is allowed to view the selected object IDs- Parameters:
selectedObjectIds-personId-- Returns:
-
retrieveResultsTable
public List<ResultRow> retrieveResultsTable(String lookupResultsSequenceNumber, String personId) throws Exception Deprecated.- Specified by:
retrieveResultsTablein interfaceLookupResultsService- Throws:
Exception- See Also:
-
retrieveSelectedResultBOs
public <T extends BusinessObject> Collection<T> retrieveSelectedResultBOs(String lookupResultsSequenceNumber, Class<T> boClass, String personId) throws Exception Deprecated.Figures out which support strategy to defer to and uses that service to retrieve the results; if the bo class doesn't qualify with any support strategy, an exception is thrown. A nasty one, too.- Specified by:
retrieveSelectedResultBOsin interfaceLookupResultsService- Throws:
Exception- See Also:
-
getQualifingSupportStrategy
Deprecated.Given the business object class, determines the best qualifying LookupResultsSupportStrategyService to use- Parameters:
boClass- a business object class- Returns:
- an LookupResultsSupportStrategyService implementation, or null if no qualifying strategies could be found
-
clearPersistedLookupResults
Deprecated.- Specified by:
clearPersistedLookupResultsin interfaceLookupResultsService- Throws:
Exception- See Also:
-
clearPersistedSelectedObjectIds
Deprecated.- Specified by:
clearPersistedSelectedObjectIdsin interfaceLookupResultsService- Throws:
Exception- See Also:
-
getLookupId
Deprecated.Figures out which LookupResultsServiceSupportStrategy to defer to, and uses that to get the lookup id- Specified by:
getLookupIdin interfaceLookupResultsService- See Also:
-
getBusinessObjectService
Deprecated. -
setBusinessObjectService
Deprecated. -
isAuthorizedToAccessMultipleValueLookupMetadata
protected boolean isAuthorizedToAccessMultipleValueLookupMetadata(MultipleValueLookupMetadata mvlm, String personId) Deprecated.Determines whether the passed in user ID is allowed to view the lookup metadata (object IDs or results table)- Parameters:
mvlm-personId-- Returns:
-
deleteOldLookupResults
Deprecated.- Specified by:
deleteOldLookupResultsin interfaceLookupResultsService
-
deleteOldSelectedObjectIds
Deprecated.- Specified by:
deleteOldSelectedObjectIdsin interfaceLookupResultsService
-
getPersistedLookupMetadataDao
Deprecated. -
setPersistedLookupMetadataDao
Deprecated. -
getPersistableBusinessObjectSupportStrategy
Deprecated.- Returns:
- the persistableBusinessObjectSupportStrategy
-
getDataDictionarySupportStrategy
Deprecated.- Returns:
- the dataDictionarySupportStrategy
-
setPersistableBusinessObjectSupportStrategy
public void setPersistableBusinessObjectSupportStrategy(LookupResultsSupportStrategyService persistableBusinessObjectSupportStrategy) Deprecated.- Parameters:
persistableBusinessObjectSupportStrategy- the persistableBusinessObjectSupportStrategy to set
-
setDataDictionarySupportStrategy
public void setDataDictionarySupportStrategy(LookupResultsSupportStrategyService dataDictionarySupportStrategy) Deprecated.- Parameters:
dataDictionarySupportStrategy- the dataDictionarySupportStrategy to set
-