001/** 002 * Copyright 2005-2016 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.kns.inquiry; 017 018import org.kuali.rice.kns.lookup.HtmlData; 019import org.kuali.rice.kns.web.ui.Section; 020import org.kuali.rice.krad.bo.BusinessObject; 021 022import java.util.List; 023import java.util.Map; 024 025/** 026 * Defines business logic methods that support the Inquiry framework 027 * 028 * @deprecated Use {@link org.kuali.rice.krad.inquiry.Inquirable}. 029 */ 030@Deprecated 031public interface Inquirable extends org.kuali.rice.krad.inquiry.Inquirable { 032 033 @Deprecated 034 public void setBusinessObjectClass(Class businessObjectClass); 035 036 @Deprecated 037 public BusinessObject getBusinessObject(Map fieldValues); 038 039 @Deprecated 040 public HtmlData getInquiryUrl(BusinessObject businessObject, 041 String attributeName, boolean forceInquiry); 042 043 @Deprecated 044 public String getHtmlMenuBar(); 045 046 @Deprecated 047 public String getTitle(); 048 049 @Deprecated 050 public List<Section> getSections(BusinessObject bo); 051 052 @Deprecated 053 public void addAdditionalSections(List columns, BusinessObject bo); 054 055 /** 056 * Indicates whether inactive records for the given collection should be 057 * display. 058 * 059 * @param collectionName 060 * - name of the collection (or sub-collection) to check inactive 061 * record display setting 062 * @return true if inactive records should be displayed, false otherwise 063 */ 064 @Deprecated 065 public boolean getShowInactiveRecords(String collectionName); 066 067 /** 068 * Returns the Map used to control the state of inactive record collection 069 * display. Exposed for setting from the maintenance jsp. 070 */ 071 @Deprecated 072 public Map<String, Boolean> getInactiveRecordDisplay(); 073 074 /** 075 * Indicates to maintainble whether or not inactive records should be 076 * displayed for the given collection name. 077 * 078 * @param collectionName 079 * - name of the collection (or sub-collection) to set inactive 080 * record display setting 081 * @param showInactive 082 * - true to display inactive, false to not display inactive 083 * records 084 */ 085 @Deprecated 086 public void setShowInactiveRecords(String collectionName, 087 boolean showInactive); 088}