Class GraphmlRestServiceImpl
- java.lang.Object
-
- org.opennms.netmgt.graphml.rest.internal.GraphmlRestServiceImpl
-
- All Implemented Interfaces:
GraphmlRestService
public class GraphmlRestServiceImpl extends java.lang.Object implements GraphmlRestService
-
-
Constructor Summary
Constructors Constructor Description GraphmlRestServiceImpl(GraphmlRepository graphmlRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createGraph(java.lang.String graphname, GraphmlType graphmlType)
javax.ws.rs.core.Response
deleteGraph(java.lang.String graphname)
javax.ws.rs.core.Response
getGraph(java.lang.String graphname)
-
-
-
Constructor Detail
-
GraphmlRestServiceImpl
public GraphmlRestServiceImpl(GraphmlRepository graphmlRepository)
-
-
Method Detail
-
createGraph
public javax.ws.rs.core.Response createGraph(java.lang.String graphname, GraphmlType graphmlType) throws java.io.IOException
- Specified by:
createGraph
in interfaceGraphmlRestService
- Throws:
java.io.IOException
-
deleteGraph
public javax.ws.rs.core.Response deleteGraph(java.lang.String graphname) throws java.io.IOException
- Specified by:
deleteGraph
in interfaceGraphmlRestService
- Throws:
java.io.IOException
-
getGraph
public javax.ws.rs.core.Response getGraph(java.lang.String graphname) throws java.io.IOException
- Specified by:
getGraph
in interfaceGraphmlRestService
- Throws:
java.io.IOException
-
-