L2gateway: Added yang, APIs,Transcriber for L2gateway.
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronSecurityGroupAware.java
index c7a7558a05a2d4742ae2042447455b264121d88d..108854deea02d1bb2bb9f8e35893cee26cddf479 100644 (file)
@@ -11,7 +11,7 @@ package org.opendaylight.neutron.spi;
 /**
  * This interface defines the methods a service that wishes to be aware of Neutron Security Groups needs to implement
  */
-
+@Deprecated
 public interface INeutronSecurityGroupAware {
 
     /**
@@ -23,15 +23,14 @@ public interface INeutronSecurityGroupAware {
      * results in the create operation being interrupted and the returned status value reflected in the
      * HTTP response.
      */
-    public int canCreateNeutronSecurityGroup(NeutronSecurityGroup securityGroup);
+    int canCreateNeutronSecurityGroup(NeutronSecurityGroup securityGroup);
 
     /**
      * Services provide this interface method for taking action after a security group has been created
      *
      * @param securityGroup instance of new Neutron Security Group object
-     * @return void
      */
-    public void neutronSecurityGroupCreated(NeutronSecurityGroup securityGroup);
+    void neutronSecurityGroupCreated(NeutronSecurityGroup securityGroup);
 
     /**
      * Services provide this interface method to indicate if the specified security group can be changed using the specified
@@ -44,15 +43,14 @@ public interface INeutronSecurityGroupAware {
      * results in the update operation being interrupted and the returned status value reflected in the
      * HTTP response.
      */
-    public int canUpdateNeutronSecurityGroup(NeutronSecurityGroup delta, NeutronSecurityGroup original);
+    int canUpdateNeutronSecurityGroup(NeutronSecurityGroup delta, NeutronSecurityGroup original);
 
     /**
      * Services provide this interface method for taking action after a security group has been updated
      *
      * @param securityGroup instance of modified Neutron Security Group object
-     * @return void
      */
-    public void neutronSecurityGroupUpdated(NeutronSecurityGroup securityGroup);
+    void neutronSecurityGroupUpdated(NeutronSecurityGroup securityGroup);
 
     /**
      * Services provide this interface method to indicate if the specified security group can be deleted
@@ -63,13 +61,12 @@ public interface INeutronSecurityGroupAware {
      * results in the delete operation being interrupted and the returned status value reflected in the
      * HTTP response.
      */
-    public int canDeleteNeutronSecurityGroup(NeutronSecurityGroup securityGroup);
+    int canDeleteNeutronSecurityGroup(NeutronSecurityGroup securityGroup);
 
     /**
      * Services provide this interface method for taking action after a security group has been deleted
      *
      * @param securityGroup instance of deleted Neutron Security Group object
-     * @return void
      */
-    public void neutronSecurityGroupDeleted(NeutronSecurityGroup securityGroup);
+    void neutronSecurityGroupDeleted(NeutronSecurityGroup securityGroup);
 }