X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=neutron-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fneutron%2Fspi%2FINeutronSecurityGroupCRUD.java;h=241e85af93d8ae2494e5256ecd3db5060b146880;hb=0d04dfd0657b0124450915d8526685362648379a;hp=bd670d809dea759279be9c403bc7dd51b63c4639;hpb=62dd300a738ff93516c7fd0e630b3cc685d5b809;p=neutron.git diff --git a/neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronSecurityGroupCRUD.java b/neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronSecurityGroupCRUD.java index bd670d809..241e85af9 100644 --- a/neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronSecurityGroupCRUD.java +++ b/neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronSecurityGroupCRUD.java @@ -5,83 +5,12 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.neutron.spi; -import java.util.List; - /** - * This interface defines the methods for CRUD of NB OpenStack Security Group objects + * This interface defines the methods for CRUD of NB OpenStack Security Group objects. */ - -public interface INeutronSecurityGroupCRUD - extends INeutronCRUD { - /** - * Applications call this interface method to determine if a particular - * Security Group object exists - * - * @param uuid UUID of the Security Group object - * @return boolean - */ - - boolean neutronSecurityGroupExists(String uuid); - - /** - * Applications call this interface method to return if a particular - * Security Group object exists - * - * @param uuid UUID of the Security Group object - * @return {@link org.opendaylight.neutron.spi.NeutronSecurityGroup} - * OpenStack Security Group class - */ - - NeutronSecurityGroup getNeutronSecurityGroup(String uuid); - - /** - * Applications call this interface method to return all Security Group objects - * - * @return List of OpenStackSecurity Groups objects - */ - - List getAllNeutronSecurityGroups(); - - /** - * Applications call this interface method to add a Security Group object to the - * concurrent map - * - * @param input OpenStackSecurity Group object - * @return boolean on whether the object was added or not - */ - - boolean addNeutronSecurityGroup(NeutronSecurityGroup input); - - /** - * Applications call this interface method to remove a Neutron Security Group object to the - * concurrent map - * - * @param uuid identifier for the security group object - * @return boolean on whether the object was removed or not - */ - - boolean removeNeutronSecurityGroup(String uuid); - - /** - * Applications call this interface method to edit a Security Group object - * - * @param uuid identifier of the security group object - * @param delta OpenStackSecurity Group object containing changes to apply - * @return boolean on whether the object was updated or not - */ - - boolean updateNeutronSecurityGroup(String uuid, NeutronSecurityGroup delta); - - /** - * Applications call this interface method to see if a MAC address is in use - * - * @param uuid identifier of the security group object - * @return boolean on whether the Security Groups is already in use - */ - - boolean neutronSecurityGroupInUse(String uuid); - +public interface INeutronSecurityGroupCRUD extends INeutronCRUD { + // Nothing Here. + // This class is defined to use reflection. }