1 /** 2 * Copyright 2005-2012 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 29 public interface Inquirable extends org.kuali.rice.krad.inquiry.Inquirable { 30 31 @Deprecated 32 public void setBusinessObjectClass(Class businessObjectClass); 33 34 @Deprecated 35 public BusinessObject getBusinessObject(Map fieldValues); 36 37 @Deprecated 38 public HtmlData getInquiryUrl(BusinessObject businessObject, 39 String attributeName, boolean forceInquiry); 40 41 @Deprecated 42 public String getHtmlMenuBar(); 43 44 @Deprecated 45 public String getTitle(); 46 47 @Deprecated 48 public List<Section> getSections(BusinessObject bo); 49 50 @Deprecated 51 public void addAdditionalSections(List columns, BusinessObject bo); 52 53 /** 54 * Indicates whether inactive records for the given collection should be 55 * display. 56 * 57 * @param collectionName 58 * - name of the collection (or sub-collection) to check inactive 59 * record display setting 60 * @return true if inactive records should be displayed, false otherwise 61 */ 62 @Deprecated 63 public boolean getShowInactiveRecords(String collectionName); 64 65 /** 66 * Returns the Map used to control the state of inactive record collection 67 * display. Exposed for setting from the maintenance jsp. 68 */ 69 @Deprecated 70 public Map<String, Boolean> getInactiveRecordDisplay(); 71 72 /** 73 * Indicates to maintainble whether or not inactive records should be 74 * displayed for the given collection name. 75 * 76 * @param collectionName 77 * - name of the collection (or sub-collection) to set inactive 78 * record display setting 79 * @param showInactive 80 * - true to display inactive, false to not display inactive 81 * records 82 */ 83 @Deprecated 84 public void setShowInactiveRecords(String collectionName, 85 boolean showInactive); 86 }