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