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
029public interface Inquirable extends org.kuali.rice.krad.inquiry.Inquirable {
030
031        @Deprecated
032        public void setBusinessObjectClass(Class businessObjectClass);
033
034        @Deprecated
035        public BusinessObject getBusinessObject(Map fieldValues);
036
037        @Deprecated
038        public HtmlData getInquiryUrl(BusinessObject businessObject,
039                        String attributeName, boolean forceInquiry);
040
041        @Deprecated
042        public String getHtmlMenuBar();
043
044        @Deprecated
045        public String getTitle();
046
047        @Deprecated
048        public List<Section> getSections(BusinessObject bo);
049
050        @Deprecated
051        public void addAdditionalSections(List columns, BusinessObject bo);
052
053        /**
054         * Indicates whether inactive records for the given collection should be
055         * display.
056         * 
057         * @param collectionName
058         *            - name of the collection (or sub-collection) to check inactive
059         *            record display setting
060         * @return true if inactive records should be displayed, false otherwise
061         */
062        @Deprecated
063        public boolean getShowInactiveRecords(String collectionName);
064
065        /**
066         * Returns the Map used to control the state of inactive record collection
067         * display. Exposed for setting from the maintenance jsp.
068         */
069        @Deprecated
070        public Map<String, Boolean> getInactiveRecordDisplay();
071
072        /**
073         * Indicates to maintainble whether or not inactive records should be
074         * displayed for the given collection name.
075         * 
076         * @param collectionName
077         *            - name of the collection (or sub-collection) to set inactive
078         *            record display setting
079         * @param showInactive
080         *            - true to display inactive, false to not display inactive
081         *            records
082         */
083        @Deprecated
084        public void setShowInactiveRecords(String collectionName,
085                        boolean showInactive);
086}