e1b25beda084e311c1a0d7654a6a23d57c0fdaa3
[ccsdk/features.git] /
1 /*\r
2  * Copyright © 2017-2018 AT&T Intellectual Property.\r
3  * \r
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except\r
5  * in compliance with the License. You may obtain a copy of the License at\r
6  * \r
7  * http://www.apache.org/licenses/LICENSE-2.0\r
8  * \r
9  * Unless required by applicable law or agreed to in writing, software distributed under the License\r
10  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\r
11  * or implied. See the License for the specific language governing permissions and limitations under\r
12  * the License.\r
13  */\r
14 \r
15 package org.onap.ccsdk.config.data.adaptor.dao;\r
16 \r
17 import org.onap.ccsdk.sli.core.sli.SvcLogicException;\r
18 \r
19 public interface ConfigPropertyMapDao {\r
20     \r
21     /**\r
22      * Query ConcurrentHashMap having CONFIG_PROPERTY_MAP table data for given key.\r
23      *\r
24      * @param key key mapped to a value\r
25      * @return the result string, containing mapped string value\r
26      * @throws org.onap.ccsdk.sli.core.sli.SvcLogicException if fails\r
27      */\r
28     public String getConfigPropertyByKey(String key) throws SvcLogicException;\r
29     \r
30 }\r