/* * @(#)ProtocolCriteria.java 1.7.1,126 custom 2014-06-15T22:00:00Z UTC * Built automatically by REVERSER */ package it.softecspa.fileproxy.db.criterias; import it.softecspa.database.dbconnect.ConnectionManager; import it.softecspa.fileproxy.db.Protocol; import it.softecspa.fileproxy.db.skins.criterias.ProtocolCSkin; import it.softecspa.kahuna.sql.SqlWriter; import java.sql.SQLException; /** * Customizable criteria filter for table T015_PROTOCOL * Class auto generated by REVERSER, version 1.7.1,126 custom * * @author il Vera */ public class ProtocolCriteria extends ProtocolCSkin { public ProtocolCriteria(ConnectionManager cm) { super(cm); } /** * Customizable build select * with filter */ public SqlWriter getSelect() { SqlWriter sql = super.getSelect(); // Insert here your custom code // sql.addTable(...); // sql.addColumn(...); // sql.addWhere(...); // sql.addOption(...); return sql; } /** * Execute select * with filter * A zero length array is returned if no record found * @throws SQLException if there is an error in your query */ public Protocol[] select() throws SQLException { return Protocol.select(this); } }