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 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:
      persistResultsTable in interface org.kuali.rice.kns.lookup.LookupResultsService
      Throws:
      Exception
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#persistResultsTable(java.lang.String, java.util.List, java.lang.String)
    • persistSelectedObjectIds

      public void persistSelectedObjectIds(String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String personId) throws Exception
      Deprecated.
      Specified by:
      persistSelectedObjectIds in interface org.kuali.rice.kns.lookup.LookupResultsService
      Throws:
      Exception
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#persistSelectedObjectIds(java.lang.String, java.util.Set, java.lang.String)
    • 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:
      isAuthorizedToAccessLookupResults in interface org.kuali.rice.kns.lookup.LookupResultsService
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#isAuthorizedToAccessLookupResults(java.lang.String, java.lang.String)
    • 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:
      isAuthorizedToAccessSelectedObjectIds in interface org.kuali.rice.kns.lookup.LookupResultsService
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#isAuthorizedToAccessSelectedObjectIds(java.lang.String, java.lang.String)
    • 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:
      retrieveResultsTable in interface org.kuali.rice.kns.lookup.LookupResultsService
      Throws:
      Exception
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#retrieveResultsTable(java.lang.String, java.lang.String)
    • 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:
      retrieveSelectedResultBOs in interface org.kuali.rice.kns.lookup.LookupResultsService
      Throws:
      Exception
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#retrieveSelectedResultBOs(java.lang.String, java.lang.Class, java.lang.String)
    • getQualifingSupportStrategy

      protected LookupResultsSupportStrategyService getQualifingSupportStrategy(Class boClass)
      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

      public void clearPersistedLookupResults(String lookupResultsSequenceNumber) throws Exception
      Deprecated.
      Specified by:
      clearPersistedLookupResults in interface org.kuali.rice.kns.lookup.LookupResultsService
      Throws:
      Exception
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#clearPersistedLookupResults(java.lang.String)
    • clearPersistedSelectedObjectIds

      public void clearPersistedSelectedObjectIds(String lookupResultsSequenceNumber) throws Exception
      Deprecated.
      Specified by:
      clearPersistedSelectedObjectIds in interface org.kuali.rice.kns.lookup.LookupResultsService
      Throws:
      Exception
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#clearPersistedSelectedObjectIds(java.lang.String)
    • getLookupId

      public String getLookupId(org.kuali.rice.krad.bo.BusinessObject businessObject)
      Deprecated.
      Figures out which LookupResultsServiceSupportStrategy to defer to, and uses that to get the lookup id
      Specified by:
      getLookupId in interface org.kuali.rice.kns.lookup.LookupResultsService
      See Also:
      • invalid reference
        org.kuali.rice.krad.lookup.LookupResultsService#getLookupId(org.kuali.rice.krad.bo.BusinessObject)
    • 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

      public void deleteOldLookupResults(Timestamp expirationDate)
      Deprecated.
      Specified by:
      deleteOldLookupResults in interface org.kuali.rice.kns.lookup.LookupResultsService
    • deleteOldSelectedObjectIds

      public void deleteOldSelectedObjectIds(Timestamp expirationDate)
      Deprecated.
      Specified by:
      deleteOldSelectedObjectIds in interface org.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

      public LookupResultsSupportStrategyService getPersistableBusinessObjectSupportStrategy()
      Deprecated.
      Returns:
      the persistableBusinessObjectSupportStrategy
    • getDataDictionarySupportStrategy

      public LookupResultsSupportStrategyService 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