1 /** 2 * Copyright 2005-2015 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.kuali.rice.kns.inquiry; 17 18 import org.kuali.rice.kns.lookup.HtmlData; 19 import org.kuali.rice.kns.web.ui.Section; 20 import org.kuali.rice.krad.bo.BusinessObject; 21 22 import java.util.List; 23 import java.util.Map; 24 25 /** 26 * Defines business logic methods that support the Inquiry framework 27 * 28 * @deprecated Use {@link org.kuali.rice.krad.inquiry.Inquirable}. 29 */ 30 @Deprecated 31 public interface Inquirable extends org.kuali.rice.krad.inquiry.Inquirable { 32 33 @Deprecated 34 public void setBusinessObjectClass(Class businessObjectClass); 35 36 @Deprecated 37 public BusinessObject getBusinessObject(Map fieldValues); 38 39 @Deprecated 40 public HtmlData getInquiryUrl(BusinessObject businessObject, 41 String attributeName, boolean forceInquiry); 42 43 @Deprecated 44 public String getHtmlMenuBar(); 45 46 @Deprecated 47 public String getTitle(); 48 49 @Deprecated 50 public List<Section> getSections(BusinessObject bo); 51 52 @Deprecated 53 public void addAdditionalSections(List columns, BusinessObject bo); 54 55 /** 56 * Indicates whether inactive records for the given collection should be 57 * display. 58 * 59 * @param collectionName 60 * - name of the collection (or sub-collection) to check inactive 61 * record display setting 62 * @return true if inactive records should be displayed, false otherwise 63 */ 64 @Deprecated 65 public boolean getShowInactiveRecords(String collectionName); 66 67 /** 68 * Returns the Map used to control the state of inactive record collection 69 * display. Exposed for setting from the maintenance jsp. 70 */ 71 @Deprecated 72 public Map<String, Boolean> getInactiveRecordDisplay(); 73 74 /** 75 * Indicates to maintainble whether or not inactive records should be 76 * displayed for the given collection name. 77 * 78 * @param collectionName 79 * - name of the collection (or sub-collection) to set inactive 80 * record display setting 81 * @param showInactive 82 * - true to display inactive, false to not display inactive 83 * records 84 */ 85 @Deprecated 86 public void setShowInactiveRecords(String collectionName, 87 boolean showInactive); 88 }