Class KualiInquirableImpl

java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.inquiry.InquirableImpl
org.kuali.rice.kns.inquiry.KualiInquirableImpl
All Implemented Interfaces:
Serializable, Inquirable, org.kuali.rice.krad.inquiry.Inquirable, org.kuali.rice.krad.uif.service.ViewHelperService

@Deprecated public class KualiInquirableImpl extends org.kuali.rice.krad.inquiry.InquirableImpl implements Inquirable
Deprecated.
Use InquirableImpl.
Kuali inquirable implementation. Implements methods necessary to retrieve the business object and render the ui. NOTE: this class is not thread safe. When using this class or any subclasses in Spring, make sure that this is not a singleton service, or serious errors may occur.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Field Details

    • lookupService

      protected org.kuali.rice.krad.service.LookupService lookupService
      Deprecated.
    • businessObjectAuthorizationService

      protected BusinessObjectAuthorizationService businessObjectAuthorizationService
      Deprecated.
    • businessObjectDictionaryService

      protected BusinessObjectDictionaryService businessObjectDictionaryService
      Deprecated.
    • businessObjectMetaDataService

      protected BusinessObjectMetaDataService businessObjectMetaDataService
      Deprecated.
    • encryptionService

      protected org.kuali.rice.core.api.encryption.EncryptionService encryptionService
      Deprecated.
    • inactiveRecordDisplay

      protected Map<String,Boolean> inactiveRecordDisplay
      Deprecated.
    • INQUIRY_TITLE_PREFIX

      public static final String INQUIRY_TITLE_PREFIX
      Deprecated.
      See Also:
  • Constructor Details

    • KualiInquirableImpl

      public KualiInquirableImpl()
      Deprecated.
      Default constructor, initializes services from spring
  • Method Details

    • retrieveDataObject

      public Object retrieveDataObject(Map fieldValues)
      Deprecated.
      TODO: generics do not match between call to module service and call to lookup service
      Specified by:
      retrieveDataObject in interface org.kuali.rice.krad.inquiry.Inquirable
      Overrides:
      retrieveDataObject in class org.kuali.rice.krad.inquiry.InquirableImpl
      See Also:
      • Inquirable.retrieveDataObject(java.util.Map)
    • getBusinessObject

      @Deprecated public org.kuali.rice.krad.bo.BusinessObject getBusinessObject(Map fieldValues)
      Deprecated.
      Return a business object by searching with map, the map keys should be a property name of the business object, with the map value as the value to search for.
      Specified by:
      getBusinessObject in interface Inquirable
    • getSections

      @Deprecated public List<Section> getSections(org.kuali.rice.krad.bo.BusinessObject bo)
      Deprecated.
      Objects extending KualiInquirableBase must specify the Section objects used to display the inquiry result.
      Specified by:
      getSections in interface Inquirable
    • getInquiryUrl

      @Deprecated public HtmlData getInquiryUrl(org.kuali.rice.krad.bo.BusinessObject businessObject, String attributeName, boolean forceInquiry)
      Deprecated.
      Helper method to build an inquiry url for a result field.
      Specified by:
      getInquiryUrl in interface Inquirable
      Parameters:
      bo - the business object instance to build the urls for
      propertyName - the property which links to an inquirable
      Returns:
      String url to inquiry
    • getHyperLink

      @Deprecated protected HtmlData.AnchorHtmlData getHyperLink(Class inquiryClass, Map<String,String> fieldList, String inquiryUrl)
      Deprecated.
    • createTitleText

      @Deprecated protected String createTitleText(Class<?> dataObjectClass)
      Deprecated.
      Gets text to prepend to the inquiry link title
      Parameters:
      dataObjectClass - - data object class being inquired into
      Returns:
      String title prepend text
    • addAdditionalSections

      @Deprecated public void addAdditionalSections(List columns, org.kuali.rice.krad.bo.BusinessObject bo)
      Deprecated.
      Specified by:
      addAdditionalSections in interface Inquirable
    • getHtmlMenuBar

      @Deprecated public String getHtmlMenuBar()
      Deprecated.
      Specified by:
      getHtmlMenuBar in interface Inquirable
      See Also:
    • getTitle

      @Deprecated public String getTitle()
      Deprecated.
      Specified by:
      getTitle in interface Inquirable
      See Also:
    • setBusinessObjectClass

      @Deprecated public void setBusinessObjectClass(Class businessObjectClass)
      Deprecated.
      Specified by:
      setBusinessObjectClass in interface Inquirable
      Parameters:
      businessObjectClass - The dataObjectClass to set.
    • getBusinessObjectClass

      @Deprecated public Class getBusinessObjectClass()
      Deprecated.
      Returns:
      Returns the dataObjectClass.
    • getInactiveRecordDisplay

      @Deprecated public Map<String,Boolean> getInactiveRecordDisplay()
      Deprecated.
      Description copied from interface: Inquirable
      Returns the Map used to control the state of inactive record collection display. Exposed for setting from the maintenance jsp.
      Specified by:
      getInactiveRecordDisplay in interface Inquirable
      See Also:
    • getShowInactiveRecords

      @Deprecated public boolean getShowInactiveRecords(String collectionName)
      Deprecated.
      Description copied from interface: Inquirable
      Indicates whether inactive records for the given collection should be display.
      Specified by:
      getShowInactiveRecords in interface Inquirable
      Parameters:
      collectionName - - name of the collection (or sub-collection) to check inactive record display setting
      Returns:
      true if inactive records should be displayed, false otherwise
      See Also:
    • setShowInactiveRecords

      @Deprecated public void setShowInactiveRecords(String collectionName, boolean showInactive)
      Deprecated.
      Description copied from interface: Inquirable
      Indicates to maintainble whether or not inactive records should be displayed for the given collection name.
      Specified by:
      setShowInactiveRecords in interface Inquirable
      Parameters:
      collectionName - - name of the collection (or sub-collection) to set inactive record display setting
      showInactive - - true to display inactive, false to not display inactive records
      See Also:
    • getLookupService

      protected org.kuali.rice.krad.service.LookupService getLookupService()
      Deprecated.
    • setLookupService

      public void setLookupService(org.kuali.rice.krad.service.LookupService lookupService)
      Deprecated.
    • getBusinessObjectDictionaryService

      protected BusinessObjectDictionaryService getBusinessObjectDictionaryService()
      Deprecated.
    • setBusinessObjectDictionaryService

      public void setBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService)
      Deprecated.
    • getEncryptionService

      protected org.kuali.rice.core.api.encryption.EncryptionService getEncryptionService()
      Deprecated.
      Overrides:
      getEncryptionService in class org.kuali.rice.krad.inquiry.InquirableImpl
    • setEncryptionService

      public void setEncryptionService(org.kuali.rice.core.api.encryption.EncryptionService encryptionService)
      Deprecated.
    • getKualiConfigurationService

      protected org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService()
      Deprecated.
    • getBusinessObjectMetaDataService

      protected BusinessObjectMetaDataService getBusinessObjectMetaDataService()
      Deprecated.
    • setBusinessObjectMetaDataService

      public void setBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService)
      Deprecated.
    • getBusinessObjectAuthorizationService

      protected BusinessObjectAuthorizationService getBusinessObjectAuthorizationService()
      Deprecated.
    • setBusinessObjectAuthorizationService

      public void setBusinessObjectAuthorizationService(BusinessObjectAuthorizationService businessObjectAuthorizationService)
      Deprecated.
    • getInquiryUrlForPrimaryKeys

      @Deprecated protected HtmlData.AnchorHtmlData getInquiryUrlForPrimaryKeys(Class clazz, Object businessObject, List<String> primaryKeys, String displayText)
      Deprecated.
    • getHyperLink

      @Deprecated protected HtmlData.AnchorHtmlData getHyperLink(Class inquiryClass, Map<String,String> fieldList, String inquiryUrl, String displayText)
      Deprecated.