001/**
002 * Copyright 2010-2014 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.common.util.config.service;
017
018import java.util.List;
019import java.util.Properties;
020
021/**
022 * @deprecated
023 */
024@Deprecated
025public interface ConfigService {
026
027        /**
028         * Load and return properties corresponding to <code>configIds</code>.
029         * 
030         * <pre>
031         *  org.kuali.common:kuali-sql
032         *  org.kuali.common:kuali-util:scm
033         *  org.kuali.common:kuali-util:metainf:mpx
034         * </pre>
035         */
036        Properties getProperties(List<String> configIds);
037
038        /**
039         * Load and return properties corresponding to <code>configId</code>.
040         * 
041         * <pre>
042         *  org.kuali.common:kuali-sql
043         *  org.kuali.common:kuali-util:scm
044         *  org.kuali.common:kuali-util:metainf:mpx
045         * </pre>
046         */
047        Properties getProperties(String configId);
048
049        /**
050         * Load and return properties corresponding to <code>configIds</code>, any properties from <code>overrides</code> "win" over properties loaded from the configuration.
051         * 
052         * <pre>
053         *  org.kuali.common:kuali-sql
054         *  org.kuali.common:kuali-util:scm
055         *  org.kuali.common:kuali-util:metainf:mpx
056         * </pre>
057         */
058        Properties getProperties(List<String> configIds, Properties overrides);
059
060        /**
061         * Load and return properties corresponding to <code>configId</code>, any properties from <code>overrides</code> "win" over properties loaded from the configuration.
062         * 
063         * <pre>
064         *  org.kuali.common:kuali-sql
065         *  org.kuali.common:kuali-util:scm
066         *  org.kuali.common:kuali-util:metainf:mpx
067         * </pre>
068         */
069        Properties getProperties(String configId, Properties overrides);
070}