* * Licensed under the Apache License, Version 2.0 (the "License");\r
* * you may not use this file except in compliance with the License.\r
* * You may obtain a copy of the License at\r
- * * \r
+ * *\r
* * http://www.apache.org/licenses/LICENSE-2.0\r
- * * \r
+ * *\r
* * Unless required by applicable law or agreed to in writing, software\r
* * distributed under the License is distributed on an "AS IS" BASIS,\r
* * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
package org.onap.dmaap.datarouter.provisioning.beans;\r
\r
import java.sql.Connection;\r
-\r
/**\r
* An object that can be DELETE-ed from the database.\r
* @author Robert Eby\r
* @version $Id: Deleteable.java,v 1.2 2013/05/29 14:44:36 eby Exp $\r
*/\r
+\r
public interface Deleteable {\r
- /**\r
- * Delete this object in the DB.\r
- * @param c the JDBC Connection to use\r
- * @return true if the DELETE succeeded, false otherwise\r
- */\r
- public boolean doDelete(Connection c);\r
+ /**\r
+ * Delete this object in the DB.\r
+ * @param conn the JDBC Connection to use\r
+ * @return true if the DELETE succeeded, false otherwise\r
+ */\r
+ boolean doDelete(Connection conn);\r
}\r