X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=datarouter-prov%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdatarouter%2Fprovisioning%2Fbeans%2FDeleteable.java;h=65a54e08b4be276eeb224d4a2681b8cc4fdac3f3;hb=68a9ca240970fceaf12bbe91b7bad8e1d98ecd93;hp=bec29ac238879849038b3196c000e738ca9480bc;hpb=e4b20cc6f7c31f48ddd0de5bcd054b09a35cd510;p=dmaap%2Fdatarouter.git diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Deleteable.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Deleteable.java index bec29ac2..65a54e08 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Deleteable.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/Deleteable.java @@ -7,9 +7,9 @@ * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at - * * + * * * * http://www.apache.org/licenses/LICENSE-2.0 - * * + * * * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -25,17 +25,17 @@ package org.onap.dmaap.datarouter.provisioning.beans; import java.sql.Connection; - /** * An object that can be DELETE-ed from the database. * @author Robert Eby * @version $Id: Deleteable.java,v 1.2 2013/05/29 14:44:36 eby Exp $ */ + public interface Deleteable { - /** - * Delete this object in the DB. - * @param c the JDBC Connection to use - * @return true if the DELETE succeeded, false otherwise - */ - public boolean doDelete(Connection c); + /** + * Delete this object in the DB. + * @param conn the JDBC Connection to use + * @return true if the DELETE succeeded, false otherwise + */ + boolean doDelete(Connection conn); }