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 intHTTP_OK_BOTTOMprotected static intHTTP_OK_TOP
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractNeutronNorthbound(I neutronCRUD)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected javax.ws.rs.core.Responsecreate(R input)protected javax.ws.rs.core.Responsedelete(String uuid)protected IgetNeutronCRUD()protected abstract StringgetResourceName()protected StringserviceUnavailable()protected javax.ws.rs.core.Responseshow(String uuid, List<String> returnFields)protected javax.ws.rs.core.Responseupdate(String uuid, R input)protected voidupdateDelta(String uuid, T delta, T original)protected StringuuidNoExist()
-
-
-
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
-
-