Finder.java :  » Database-ORM » jaxor-3.5 » net » sourceforge » jaxor » api » Java Open Source

Java Open Source » Database ORM » jaxor 3.5 
jaxor 3.5 » net » sourceforge » jaxor » api » Finder.java
package net.sourceforge.jaxor.api;

import net.sourceforge.jaxor.MetaRow;
import net.sourceforge.jaxor.QueryParams;

import java.io.Serializable;
import java.sql.ResultSet;
import java.util.List;


public interface Finder extends Serializable {

    public MetaRow getMetaRow();

    public EntityInterface newInstance();

    public EntityInterface load(ResultSet rs);

    public void registerNew(EntityInterface entity);

    public boolean entityExists(QueryParams ps);

    public String getBaseQuerySQL();

    public List selectAll();

    public EntityInterface selectByPrimaryKey(QueryParams key, boolean lazy);

    public QueryResult query(String sql);

    public QueryResult query(String sql, QueryParams args);

    public QueryResult find(String whereClause);

    public QueryResult find(String whereClause, QueryParams p);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.