Merge "Update comment and remove unwanted FIXME in SchemaSetup"
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / restconf / rest / impl / services / RestconfOperationsServiceImpl.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.restconf.rest.impl.services;
9
10 import javax.ws.rs.core.UriInfo;
11 import org.opendaylight.netconf.sal.restconf.impl.NormalizedNodeContext;
12 import org.opendaylight.netconf.sal.restconf.impl.RestconfDocumentedException;
13 import org.opendaylight.restconf.rest.api.schema.context.SchemaContextHandler;
14 import org.opendaylight.restconf.rest.api.services.RestconfOperationsService;
15 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
16
17 /**
18  * Implementation of {@link RestconfOperationsService}
19  *
20  */
21 public class RestconfOperationsServiceImpl implements RestconfOperationsService {
22
23     private final SchemaContextHandler schemaContextHandler;
24
25     /**
26      * Set {@link SchemaContextHandler} for getting actual {@link SchemaContext}
27      *
28      * @param schemaContextHandler
29      *            - handling schema context
30      */
31     public RestconfOperationsServiceImpl(final SchemaContextHandler schemaContextHandler) {
32         this.schemaContextHandler = schemaContextHandler;
33     }
34
35     @Override
36     public NormalizedNodeContext getOperations(final UriInfo uriInfo) {
37         throw new RestconfDocumentedException("Not yet implemented.", new UnsupportedOperationException());
38     }
39
40
41     @Override
42     public NormalizedNodeContext getOperations(final String identifier, final UriInfo uriInfo) {
43         throw new RestconfDocumentedException("Not yet implemented.", new UnsupportedOperationException());
44     }
45
46 }