Change nexus values to properties
[appc.git] / appc-adapters / appc-netconf-adapter / appc-netconf-adapter-bundle / src / main / java / org / openecomp / appc / adapter / netconf / NetconfDataAccessService.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.openecomp.appc.adapter.netconf;
23
24 import org.openecomp.appc.adapter.netconf.exception.DataAccessException;
25 import org.openecomp.sdnc.sli.resource.dblib.DbLibService;
26
27
28 @SuppressWarnings("JavaDoc")
29 public interface NetconfDataAccessService {
30
31     /**
32      *
33      * @param schema
34      */
35     void setSchema(String schema);
36
37     /**
38      *
39      * @param dbLibService
40      */
41     void setDbLibService(DbLibService dbLibService);
42
43     /**
44      *
45      * @param xmlID
46      * @return
47      * @throws DataAccessException
48      */
49     String retrieveConfigFileName(String xmlID) throws DataAccessException;
50
51     /**
52      *
53      * @param vnfType
54      * @param connectionDetails
55      * @return
56      * @throws DataAccessException
57      */
58     boolean retrieveConnectionDetails(String vnfType, ConnectionDetails connectionDetails) throws DataAccessException;
59
60     /**
61      *
62      * @param vnfType
63      * @param connectionDetails
64      * @return
65      * @throws DataAccessException
66      */
67     boolean retrieveNetconfConnectionDetails(String vnfType, NetconfConnectionDetails connectionDetails) throws
68                     DataAccessException;
69
70     /**
71      *
72      * @param instanceId
73      * @param requestId
74      * @param creationDate
75      * @param logText
76      * @return
77      * @throws DataAccessException
78      */
79     boolean logDeviceInteraction(String instanceId, String requestId, String creationDate, String logText) throws
80                     DataAccessException;
81
82 }