ConfigPropertiesCriteria.java 1.29 KB
/*
 * @(#)ConfigPropertiesCriteria.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.ConfigProperties;
import it.softecspa.fileproxy.db.skins.criterias.ConfigPropertiesCSkin;
import it.softecspa.kahuna.sql.SqlWriter;

import java.sql.SQLException;


/**
 * Customizable criteria filter for table T001_CONFIG_PROPERTIES
 * Class auto generated by REVERSER, version 1.7.1,126 custom
 * 
 * @author il Vera
 */
public class ConfigPropertiesCriteria extends ConfigPropertiesCSkin {



	public ConfigPropertiesCriteria(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 ConfigProperties[] select() throws SQLException {
		return ConfigProperties.select(this);
	}


}