Checkstyle formatting issues fix (SPI)
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronVPNServiceCRUD.java
index 2d9b011033663d9b141ae85735c26c91c974e1b6..064542da90bed3b868caa2145fd6e3c96bb88401 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright Tata Consultancy Services, 2015.  All rights reserved.
+ * Copyright (c) 2015 Tata Consultancy Services and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -8,89 +8,12 @@
 
 package org.opendaylight.neutron.spi;
 
-import java.util.List;
-
 /**
  * This interface defines the methods for CRUD of NB VPNService objects
  *
  */
 
-public interface INeutronVPNServiceCRUD {
-
-    /**
-     * Applications call this interface method to determine if a particular
-     * VPNService object exists
-     *
-     * @param uuid
-     *            UUID of the VPNService object
-     * @return boolean
-     */
-
-    public boolean neutronVPNServiceExists(String uuid);
-
-    /**
-     * Applications call this interface method to return if a particular
-     * VPNService object exists
-     *
-     * @param uuid
-     *            UUID of the VPNService object
-     * @return {@link org.opendaylight.neutron.neutron.spi.NeutronVPNService.OpenStackVPNService}
-     *         OpenStack VPNService class
-     */
-
-    public NeutronVPNService getVPNService(String uuid);
-
-    /**
-     * Applications call this interface method to return all VPNService objects
-     *
-     * @return a Set of OpenStackVPNService objects
-     */
-
-    public List<NeutronVPNService> getAllVPNService();
-
-    /**
-     * Applications call this interface method to add a VPNService object to the
-     * concurrent map
-     *
-     * @param input
-     *            OpenStackVPNService object
-     * @return boolean on whether the object was added or not
-     */
-
-    public boolean addVPNService(NeutronVPNService input);
-
-    /**
-     * Applications call this interface method to remove a VPNService object to
-     * the concurrent map
-     *
-     * @param uuid
-     *            identifier for the VPNService object
-     * @return boolean on whether the object was removed or not
-     */
-
-    public boolean removeVPNService(String uuid);
-
-    /**
-     * Applications call this interface method to edit a VPNService object
-     *
-     * @param uuid
-     *            identifier of the VPNService object
-     * @param delta
-     *            OpenStackVPNService object containing changes to apply
-     * @return boolean on whether the object was updated or not
-     */
-
-    public boolean updateVPNService(String uuid, NeutronVPNService delta);
-
-    /**
-     * Applications call this interface method to see if a MAC address is in use
-     *
-     * @param uuid
-     *            identifier of the VPNService object
-     * @return boolean on whether the macAddress is already associated with a
-     *         port or not
-     */
-
-    public boolean neutronVPNServiceInUse(String uuid);
-
+public interface INeutronVPNServiceCRUD extends INeutronCRUD<NeutronVPNService> {
+    // Nothing Here.
+    // This class is defined to use reflection.
 }