Package org.kuali.rice.kns.lookup
Class LookupResultsServiceImpl
java.lang.Object
org.kuali.rice.kns.lookup.LookupResultsServiceImpl
- All Implemented Interfaces:
Serializable,org.kuali.rice.kns.lookup.LookupResultsService
@Deprecated
public class LookupResultsServiceImpl
extends Object
implements org.kuali.rice.kns.lookup.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.org.kuali.rice.krad.service.BusinessObjectServiceDeprecated.Deprecated.getLookupId(org.kuali.rice.krad.bo.BusinessObject businessObject) Deprecated.Figures out which LookupResultsServiceSupportStrategy to defer to, and uses that to get the lookup idDeprecated.org.kuali.rice.krad.dao.PersistedLookupMetadataDaoDeprecated.protected LookupResultsSupportStrategyServicegetQualifingSupportStrategy(Class boClass) Deprecated.Given the business object class, determines the best qualifying LookupResultsSupportStrategyService to usebooleanisAuthorizedToAccessLookupResults(String lookupResultsSequenceNumber, String personId) Deprecated.protected booleanisAuthorizedToAccessLookupResults(org.kuali.rice.kns.lookup.LookupResults lookupResults, String personId) Deprecated.Returns whether the user ID parameter is allowed to view the results.protected booleanisAuthorizedToAccessMultipleValueLookupMetadata(org.kuali.rice.kns.lookup.MultipleValueLookupMetadata mvlm, String personId) Deprecated.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(org.kuali.rice.kns.lookup.SelectedObjectIds selectedObjectIds, String personId) Deprecated.Returns whether the user ID parameter is allowed to view the selected object IDsvoidpersistResultsTable(String lookupResultsSequenceNumber, List<org.kuali.rice.kns.web.ui.ResultRow> resultTable, String personId) Deprecated.voidpersistSelectedObjectIds(String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String personId) Deprecated.protected org.kuali.rice.kns.lookup.LookupResultsretrieveLookupResults(String lookupResultsSequenceNumber) Deprecated.Retrieves the LookupResults BO with the given sequence number.List<org.kuali.rice.kns.web.ui.ResultRow> retrieveResultsTable(String lookupResultsSequenceNumber, String personId) Deprecated.protected org.kuali.rice.kns.lookup.SelectedObjectIdsretrieveSelectedObjectIds(String lookupResultsSequenceNumber) Deprecated.Retrieves the SelectedObjectIds BO with the given sequence number.<T extends org.kuali.rice.krad.bo.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(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) Deprecated.voidsetDataDictionarySupportStrategy(LookupResultsSupportStrategyService dataDictionarySupportStrategy) Deprecated.voidsetPersistableBusinessObjectSupportStrategy(LookupResultsSupportStrategyService persistableBusinessObjectSupportStrategy) Deprecated.voidsetPersistedLookupMetadataDao(org.kuali.rice.krad.dao.PersistedLookupMetadataDao persistedLookupMetadataDao) Deprecated.
-
Constructor Details
-
LookupResultsServiceImpl
public LookupResultsServiceImpl()Deprecated.
-
-
Method Details
-
persistResultsTable
public void persistResultsTable(String lookupResultsSequenceNumber, List<org.kuali.rice.kns.web.ui.ResultRow> resultTable, String personId) throws Exception Deprecated.- Specified by:
persistResultsTablein interfaceorg.kuali.rice.kns.lookup.LookupResultsService- Throws:
Exception- See Also:
-
persistSelectedObjectIds
public void persistSelectedObjectIds(String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String personId) throws Exception Deprecated.- Specified by:
persistSelectedObjectIdsin interfaceorg.kuali.rice.kns.lookup.LookupResultsService- Throws:
Exception- See Also:
-
retrieveLookupResults
protected org.kuali.rice.kns.lookup.LookupResults retrieveLookupResults(String lookupResultsSequenceNumber) throws Exception Deprecated.Retrieves the LookupResults BO with the given sequence number. Does not check authentication.- Parameters:
lookupResultsSequenceNumber-- Returns:
- Throws:
Exception
-
retrieveSelectedObjectIds
protected org.kuali.rice.kns.lookup.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 interfaceorg.kuali.rice.kns.lookup.LookupResultsService- See Also:
-
isAuthorizedToAccessLookupResults
protected boolean isAuthorizedToAccessLookupResults(org.kuali.rice.kns.lookup.LookupResults lookupResults, String personId) 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 interfaceorg.kuali.rice.kns.lookup.LookupResultsService- See Also:
-
isAuthorizedToAccessSelectedObjectIds
protected boolean isAuthorizedToAccessSelectedObjectIds(org.kuali.rice.kns.lookup.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<org.kuali.rice.kns.web.ui.ResultRow> retrieveResultsTable(String lookupResultsSequenceNumber, String personId) throws Exception Deprecated.- Specified by:
retrieveResultsTablein interfaceorg.kuali.rice.kns.lookup.LookupResultsService- Throws:
Exception- See Also:
-
retrieveSelectedResultBOs
public <T extends org.kuali.rice.krad.bo.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 interfaceorg.kuali.rice.kns.lookup.LookupResultsService- 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 interfaceorg.kuali.rice.kns.lookup.LookupResultsService- Throws:
Exception- See Also:
-
clearPersistedSelectedObjectIds
Deprecated.- Specified by:
clearPersistedSelectedObjectIdsin interfaceorg.kuali.rice.kns.lookup.LookupResultsService- Throws:
Exception- See Also:
-
getLookupId
Deprecated.Figures out which LookupResultsServiceSupportStrategy to defer to, and uses that to get the lookup id- Specified by:
getLookupIdin interfaceorg.kuali.rice.kns.lookup.LookupResultsService- See Also:
-
getBusinessObjectService
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()Deprecated. -
setBusinessObjectService
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) Deprecated. -
isAuthorizedToAccessMultipleValueLookupMetadata
protected boolean isAuthorizedToAccessMultipleValueLookupMetadata(org.kuali.rice.kns.lookup.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 interfaceorg.kuali.rice.kns.lookup.LookupResultsService
-
deleteOldSelectedObjectIds
Deprecated.- Specified by:
deleteOldSelectedObjectIdsin interfaceorg.kuali.rice.kns.lookup.LookupResultsService
-
getPersistedLookupMetadataDao
public org.kuali.rice.krad.dao.PersistedLookupMetadataDao getPersistedLookupMetadataDao()Deprecated. -
setPersistedLookupMetadataDao
public void setPersistedLookupMetadataDao(org.kuali.rice.krad.dao.PersistedLookupMetadataDao persistedLookupMetadataDao) 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
-