L2gateway: Added yang, APIs,Transcriber for L2gateway.
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronFirewallRuleCRUD.java
index ebc23498073fe7895b9160c1c7928e3e1af0f411..da76e0324ddfd46d61a506c8a4bd83fbd7de4ca2 100644 (file)
@@ -15,7 +15,8 @@ import java.util.List;
  *
  */
 
-public interface INeutronFirewallRuleCRUD {
+public interface INeutronFirewallRuleCRUD
+    extends INeutronCRUD<NeutronFirewallRule> {
     /**
      * Applications call this interface method to determine if a particular
      *FirewallRule object exists
@@ -25,7 +26,7 @@ public interface INeutronFirewallRuleCRUD {
      * @return boolean
      */
 
-    public boolean neutronFirewallRuleExists(String uuid);
+    boolean neutronFirewallRuleExists(String uuid);
 
     /**
      * Applications call this interface method to return if a particular
@@ -37,7 +38,7 @@ public interface INeutronFirewallRuleCRUD {
      *          OpenStackFirewall Rule class
      */
 
-    public NeutronFirewallRule getNeutronFirewallRule(String uuid);
+    NeutronFirewallRule getNeutronFirewallRule(String uuid);
 
     /**
      * Applications call this interface method to return all Firewall Rule objects
@@ -45,7 +46,7 @@ public interface INeutronFirewallRuleCRUD {
      * @return List of OpenStackNetworks objects
      */
 
-    public List<NeutronFirewallRule> getAllNeutronFirewallRules();
+    List<NeutronFirewallRule> getAllNeutronFirewallRules();
 
     /**
      * Applications call this interface method to add a Firewall Rule object to the
@@ -56,7 +57,7 @@ public interface INeutronFirewallRuleCRUD {
      * @return boolean on whether the object was added or not
      */
 
-    public boolean addNeutronFirewallRule(NeutronFirewallRule input);
+    boolean addNeutronFirewallRule(NeutronFirewallRule input);
 
     /**
      * Applications call this interface method to remove a Neutron FirewallRule object to the
@@ -67,7 +68,7 @@ public interface INeutronFirewallRuleCRUD {
      * @return boolean on whether the object was removed or not
      */
 
-    public boolean removeNeutronFirewallRule(String uuid);
+    boolean removeNeutronFirewallRule(String uuid);
 
     /**
      * Applications call this interface method to edit a FirewallRule object
@@ -79,7 +80,7 @@ public interface INeutronFirewallRuleCRUD {
      * @return boolean on whether the object was updated or not
      */
 
-    public boolean updateNeutronFirewallRule(String uuid, NeutronFirewallRule delta);
+    boolean updateNeutronFirewallRule(String uuid, NeutronFirewallRule delta);
 
     /**
      * Applications call this interface method to see if a MAC address is in use
@@ -90,6 +91,6 @@ public interface INeutronFirewallRuleCRUD {
      * port or not
      */
 
-    public boolean neutronFirewallRuleInUse(String uuid);
+    boolean neutronFirewallRuleInUse(String uuid);
 
 }