Package org.openqreg.bean

Examples of org.openqreg.bean.Servicegroupview


* @return A populated Servicegroupview
*
* @throws SQLException
*/
protected static Servicegroupview populate(ResultSet rs) throws SQLException {
Servicegroupview valueObject = new Servicegroupview();
valueObject.setServiceid((String)rs.getObject(1));
valueObject.setUsergroupid((String)rs.getObject(2));
valueObject.setCreatedby((String)rs.getObject(3));
valueObject.setTscreated((java.sql.Timestamp)rs.getObject(4));
valueObject.setStatus((Integer)rs.getObject(5));
return valueObject;
}
View Full Code Here


* @throws SQLException
*/
public static Collection<Servicegroupview> findAll(Connection con) throws SQLException {
PreparedStatement pStmt = null;
ResultSet rs = null;
Servicegroupview valueObject = null;
Collection<Servicegroupview> col = Collections.synchronizedList(new ArrayList<Servicegroupview>());
try{
pStmt = con.prepareStatement(FIND_ALL_STATEMENT);
rs = pStmt.executeQuery();
while (rs.next()){
View Full Code Here

TOP

Related Classes of org.openqreg.bean.Servicegroupview

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.