Package org.opennms.web.rest.v2.bsm
Class BusinessServiceRestService
- java.lang.Object
-
- org.opennms.web.rest.v2.bsm.BusinessServiceRestService
-
@Component @Transactional public class BusinessServiceRestService extends Object
-
-
Constructor Summary
Constructors Constructor Description BusinessServiceRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
addChildServiceEdge(Long serviceId, ChildEdgeRequestDTO edgeRequest)
javax.ws.rs.core.Response
addIpServiceEdge(Long serviceId, IpServiceEdgeRequestDTO edgeRequest)
javax.ws.rs.core.Response
addReductionKeyEdge(Long serviceId, ReductionKeyEdgeRequestDTO edgeRequest)
javax.ws.rs.core.Response
create(javax.ws.rs.core.UriInfo uriInfo, BusinessServiceRequestDTO request)
javax.ws.rs.core.Response
delete(Long id)
javax.ws.rs.core.Response
getById(Long id)
javax.ws.rs.core.Response
getEdgeById(Long edgeId)
protected BusinessServiceManager
getManager()
javax.ws.rs.core.Response
getMapFunctionMetaData(String name)
javax.ws.rs.core.Response
getReduceFunctionMetaData(String name)
javax.ws.rs.core.Response
list()
javax.ws.rs.core.Response
listMapFunctions()
javax.ws.rs.core.Response
listReduceFunctions()
javax.ws.rs.core.Response
reload()
javax.ws.rs.core.Response
removeEdge(Long serviceId, Long edgeId)
javax.ws.rs.core.Response
update(Long id, BusinessServiceRequestDTO request)
-
-
-
Method Detail
-
getManager
protected BusinessServiceManager getManager()
-
list
public javax.ws.rs.core.Response list()
-
getById
public javax.ws.rs.core.Response getById(Long id)
-
create
public javax.ws.rs.core.Response create(@Context javax.ws.rs.core.UriInfo uriInfo, BusinessServiceRequestDTO request)
-
delete
public javax.ws.rs.core.Response delete(Long id)
-
update
public javax.ws.rs.core.Response update(Long id, BusinessServiceRequestDTO request)
-
getEdgeById
public javax.ws.rs.core.Response getEdgeById(Long edgeId)
-
addIpServiceEdge
public javax.ws.rs.core.Response addIpServiceEdge(Long serviceId, IpServiceEdgeRequestDTO edgeRequest)
-
addReductionKeyEdge
public javax.ws.rs.core.Response addReductionKeyEdge(Long serviceId, ReductionKeyEdgeRequestDTO edgeRequest)
-
addChildServiceEdge
public javax.ws.rs.core.Response addChildServiceEdge(Long serviceId, ChildEdgeRequestDTO edgeRequest)
-
reload
public javax.ws.rs.core.Response reload()
-
listMapFunctions
public javax.ws.rs.core.Response listMapFunctions()
-
getMapFunctionMetaData
public javax.ws.rs.core.Response getMapFunctionMetaData(String name)
-
listReduceFunctions
public javax.ws.rs.core.Response listReduceFunctions()
-
getReduceFunctionMetaData
public javax.ws.rs.core.Response getReduceFunctionMetaData(String name)
-
-