Class GraphmlRestServiceImpl
- java.lang.Object
-
- org.opennms.netmgt.graphml.rest.internal.GraphmlRestServiceImpl
-
- All Implemented Interfaces:
GraphmlRestService
public class GraphmlRestServiceImpl extends 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.ResponsecreateGraph(String graphname, GraphmlType graphmlType)javax.ws.rs.core.ResponsedeleteGraph(String graphname)javax.ws.rs.core.ResponsegetGraph(String graphname)
-
-
-
Constructor Detail
-
GraphmlRestServiceImpl
public GraphmlRestServiceImpl(GraphmlRepository graphmlRepository)
-
-
Method Detail
-
createGraph
public javax.ws.rs.core.Response createGraph(String graphname, GraphmlType graphmlType) throws IOException
- Specified by:
createGraphin interfaceGraphmlRestService- Throws:
IOException
-
deleteGraph
public javax.ws.rs.core.Response deleteGraph(String graphname) throws IOException
- Specified by:
deleteGraphin interfaceGraphmlRestService- Throws:
IOException
-
getGraph
public javax.ws.rs.core.Response getGraph(String graphname) throws IOException
- Specified by:
getGraphin interfaceGraphmlRestService- Throws:
IOException
-
-