Class AbstractNeutronNorthbound<T extends INeutronObject<T>,R extends INeutronRequest<T>,I extends INeutronCRUD<T>>
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<T,R,I>
-
- Direct Known Subclasses:
NeutronBgpvpnsNorthbound
,NeutronFirewallNorthbound
,NeutronFirewallPolicyNorthbound
,NeutronFirewallRulesNorthbound
,NeutronFloatingIpsNorthbound
,NeutronL2gatewayConnectionNorthbound
,NeutronL2gatewayNorthbound
,NeutronLoadBalancerHealthMonitorNorthbound
,NeutronLoadBalancerListenerNorthbound
,NeutronLoadBalancerNorthbound
,NeutronLoadBalancerPoolNorthbound
,NeutronMeteringLabelRulesNorthbound
,NeutronMeteringLabelsNorthbound
,NeutronNetworksNorthbound
,NeutronPortsNorthbound
,NeutronQosPolicyNorthbound
,NeutronRoutersNorthbound
,NeutronSecurityGroupsNorthbound
,NeutronSecurityRulesNorthbound
,NeutronSFCFlowClassifiersNorthbound
,NeutronSFCPortChainsNorthbound
,NeutronSFCPortPairGroupsNorthbound
,NeutronSFCPortPairsNorthbound
,NeutronSubnetsNorthbound
,NeutronTapFlowNorthbound
,NeutronTapServiceNorthbound
,NeutronTrunksNorthbound
,NeutronVpnIkePoliciesNorthbound
,NeutronVpnIpSecPoliciesNorthbound
,NeutronVpnIpSecSiteConnectionsNorthbound
,NeutronVpnServicesNorthbound
public abstract class AbstractNeutronNorthbound<T extends INeutronObject<T>,R extends INeutronRequest<T>,I extends INeutronCRUD<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
HTTP_OK_BOTTOM
protected static int
HTTP_OK_TOP
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractNeutronNorthbound(I neutronCRUD)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected javax.ws.rs.core.Response
create(R input)
protected javax.ws.rs.core.Response
delete(String uuid)
protected I
getNeutronCRUD()
protected abstract String
getResourceName()
protected String
serviceUnavailable()
protected javax.ws.rs.core.Response
show(String uuid, List<String> returnFields)
protected javax.ws.rs.core.Response
update(String uuid, R input)
protected void
updateDelta(String uuid, T delta, T original)
protected String
uuidNoExist()
-
-
-
Field Detail
-
HTTP_OK_BOTTOM
protected static final int HTTP_OK_BOTTOM
- See Also:
- Constant Field Values
-
HTTP_OK_TOP
protected static final int HTTP_OK_TOP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractNeutronNorthbound
protected AbstractNeutronNorthbound(I neutronCRUD)
-
-
Method Detail
-
serviceUnavailable
protected final String serviceUnavailable()
-
uuidNoExist
protected final String uuidNoExist()
-
getResourceName
protected abstract String getResourceName()
-
getNeutronCRUD
protected I getNeutronCRUD()
-
show
protected javax.ws.rs.core.Response show(String uuid, List<String> returnFields) throws DatastoreOperationFailedWebApplicationException
-
create
protected javax.ws.rs.core.Response create(R input) throws DatastoreOperationFailedWebApplicationException
-
update
protected javax.ws.rs.core.Response update(String uuid, R input) throws DatastoreOperationFailedWebApplicationException
-
delete
protected javax.ws.rs.core.Response delete(String uuid) throws DatastoreOperationFailedWebApplicationException
-
-