Public Member Functions | |
Dao () | |
Query | createQuery (String query) |
Query | createNamedQuery (String name) |
void | close () |
Dao | clear () |
void | persistObject (Object obj) |
void | saveEntities (Collection<? extends IDaoEntity > entities) |
void | saveCollection (Collection objs) |
void | saveCollection (Collection objs, DaoCallback callback) |
void | deleteObject (Object obj) |
void | deleteEntity (IDaoEntity entity) |
void | deleteCollection (Collection objs) |
void | deleteCollection (Collection objs, DaoCallback callback) |
void | deleteEntities (Collection< IDaoEntity > entities) |
EntityManager | getEntityManager () |
EntityManager | getCachedEntityManager () |
boolean | isLoaded (Object o, String attribute) |
boolean | isNotLoaded (Object o, String attribute) |
boolean | isLoaded (Object o) |
boolean | isNotLoaded (Object o) |
List | getResultList (WhereClause wc) |
List | getResultList (WhereClause wc, int max) |
List | getResultList (WhereClause wc, int start, int max) |
List | getResultList (SqlClause sc) |
List | getResultList (SqlClause sc, int max) |
List | getResultList (SqlClause sc, int start, int max) |
List | getResultList (String query) |
List | getResultList (String query, int max) |
List | getResultList (String query, Object[] pars) |
List | getResultList (String query, Object[] pars, int max) |
Object | getSingleResult (WhereClause wc) |
Object | getSingleResult (SqlClause sc) |
Object | getSingleResult (String query) |
Object | getSingleResult (String query, Object[] pars) |
Object | getSingleResultOrNull (SqlClause sc) |
Object | getSingleResultOrNull (WhereClause wc) |
Object | getSingleResultOrNull (String query) |
Object | getSingleResultOrNull (String query, Object[] pars) |
Object | getSingleNativeResult (String query) |
Object | getSingleNativeResult (String query, Object[] pars) |
int | executeUpdate (String query) |
int | executeUpdate (String query, Object[] pars) |
int | executeDelete (JpaCriteriaDelete jpaCriteriaDelete) |
int | executeDelete (Collection< JpaCriteriaDelete > jpaCriteriaDeletes) |
int | executeUpdate (JpaCriteriaUpdate jpaCriteriaUpdate) |
int | executeUpdate (Collection< JpaCriteriaUpdate > jpaCriteriaUpdates) |
int | executeUpdate (WhereClause wc) |
int | executeUpdate (SqlClause sc) |
int | executeNativeUpdate (SqlClause sc, Object... pars) |
int | executeNativeUpdate (String query, Object... pars) |
abstract String | getPath (Object object) |
void | poolObject (Object obj, int poolSize) |
void | finishPool () |
Static Public Member Functions | |
static String | toJpaPositional (String query) |
static Dao | getDaoByPU (String pu) |
Protected Member Functions | |
abstract EntityManagerFactory | getFactory () |
abstract EntityManager | createEntityManager () |
abstract EntityManager | createCachedEntityManager () |
org.turro.jpa.Dao.Dao | ( | ) |
Dao org.turro.jpa.Dao.clear | ( | ) |
void org.turro.jpa.Dao.close | ( | ) |
|
abstractprotected |
Reimplemented in org.turro.students.db.StudentsPU, org.turro.elephant.db.ElephantPU, org.turro.alliance.db.AlliancePU, org.turro.publication.db.PublicationPU, org.turro.dossier.db.DossierPU, org.turro.crm.db.CrmPU, org.turro.attach.db.AttachPU, org.turro.contacts.db.ContactsPU, org.turro.financials.db.FinancialsPU, and org.turro.erp.db.ErpPU.
|
abstractprotected |
Reimplemented in org.turro.students.db.StudentsPU, org.turro.elephant.db.ElephantPU, org.turro.alliance.db.AlliancePU, org.turro.publication.db.PublicationPU, org.turro.dossier.db.DossierPU, org.turro.crm.db.CrmPU, org.turro.attach.db.AttachPU, org.turro.contacts.db.ContactsPU, org.turro.financials.db.FinancialsPU, and org.turro.erp.db.ErpPU.
Query org.turro.jpa.Dao.createNamedQuery | ( | String | name | ) |
Query org.turro.jpa.Dao.createQuery | ( | String | query | ) |
void org.turro.jpa.Dao.deleteCollection | ( | Collection | objs | ) |
void org.turro.jpa.Dao.deleteCollection | ( | Collection | objs, |
DaoCallback | callback | ||
) |
void org.turro.jpa.Dao.deleteEntities | ( | Collection< IDaoEntity > | entities | ) |
void org.turro.jpa.Dao.deleteEntity | ( | IDaoEntity | entity | ) |
void org.turro.jpa.Dao.deleteObject | ( | Object | obj | ) |
int org.turro.jpa.Dao.executeDelete | ( | Collection< JpaCriteriaDelete > | jpaCriteriaDeletes | ) |
int org.turro.jpa.Dao.executeDelete | ( | JpaCriteriaDelete | jpaCriteriaDelete | ) |
Definition at line 480 of file Dao.java.
int org.turro.jpa.Dao.executeNativeUpdate | ( | SqlClause | sc, |
Object... | pars | ||
) |
Definition at line 536 of file Dao.java.
int org.turro.jpa.Dao.executeNativeUpdate | ( | String | query, |
Object... | pars | ||
) |
Definition at line 540 of file Dao.java.
int org.turro.jpa.Dao.executeUpdate | ( | Collection< JpaCriteriaUpdate > | jpaCriteriaUpdates | ) |
int org.turro.jpa.Dao.executeUpdate | ( | JpaCriteriaUpdate | jpaCriteriaUpdate | ) |
int org.turro.jpa.Dao.executeUpdate | ( | SqlClause | sc | ) |
int org.turro.jpa.Dao.executeUpdate | ( | String | query | ) |
int org.turro.jpa.Dao.executeUpdate | ( | String | query, |
Object[] | pars | ||
) |
int org.turro.jpa.Dao.executeUpdate | ( | WhereClause | wc | ) |
void org.turro.jpa.Dao.finishPool | ( | ) |
EntityManager org.turro.jpa.Dao.getCachedEntityManager | ( | ) |
|
static |
EntityManager org.turro.jpa.Dao.getEntityManager | ( | ) |
|
abstractprotected |
Reimplemented in org.turro.students.db.StudentsPU, org.turro.elephant.db.ElephantPU, org.turro.alliance.db.AlliancePU, org.turro.publication.db.PublicationPU, org.turro.dossier.db.DossierPU, org.turro.crm.db.CrmPU, org.turro.attach.db.AttachPU, org.turro.contacts.db.ContactsPU, and org.turro.financials.db.FinancialsPU.
|
abstract |
Reimplemented in org.turro.students.db.StudentsPU, org.turro.elephant.db.ElephantPU, org.turro.alliance.db.AlliancePU, org.turro.publication.db.PublicationPU, org.turro.dossier.db.DossierPU, org.turro.crm.db.CrmPU, org.turro.attach.db.AttachPU, org.turro.contacts.db.ContactsPU, org.turro.financials.db.FinancialsPU, and org.turro.erp.db.ErpPU.
List org.turro.jpa.Dao.getResultList | ( | SqlClause | sc | ) |
List org.turro.jpa.Dao.getResultList | ( | SqlClause | sc, |
int | max | ||
) |
List org.turro.jpa.Dao.getResultList | ( | SqlClause | sc, |
int | start, | ||
int | max | ||
) |
List org.turro.jpa.Dao.getResultList | ( | String | query | ) |
List org.turro.jpa.Dao.getResultList | ( | String | query, |
int | max | ||
) |
List org.turro.jpa.Dao.getResultList | ( | String | query, |
Object[] | pars | ||
) |
List org.turro.jpa.Dao.getResultList | ( | String | query, |
Object[] | pars, | ||
int | max | ||
) |
List org.turro.jpa.Dao.getResultList | ( | WhereClause | wc | ) |
List org.turro.jpa.Dao.getResultList | ( | WhereClause | wc, |
int | max | ||
) |
List org.turro.jpa.Dao.getResultList | ( | WhereClause | wc, |
int | start, | ||
int | max | ||
) |
Object org.turro.jpa.Dao.getSingleNativeResult | ( | String | query | ) |
Definition at line 447 of file Dao.java.
Object org.turro.jpa.Dao.getSingleNativeResult | ( | String | query, |
Object[] | pars | ||
) |
Object org.turro.jpa.Dao.getSingleResult | ( | SqlClause | sc | ) |
Object org.turro.jpa.Dao.getSingleResult | ( | String | query | ) |
Object org.turro.jpa.Dao.getSingleResult | ( | String | query, |
Object[] | pars | ||
) |
Object org.turro.jpa.Dao.getSingleResult | ( | WhereClause | wc | ) |
Object org.turro.jpa.Dao.getSingleResultOrNull | ( | SqlClause | sc | ) |
Object org.turro.jpa.Dao.getSingleResultOrNull | ( | String | query | ) |
Definition at line 435 of file Dao.java.
Object org.turro.jpa.Dao.getSingleResultOrNull | ( | String | query, |
Object[] | pars | ||
) |
Object org.turro.jpa.Dao.getSingleResultOrNull | ( | WhereClause | wc | ) |
boolean org.turro.jpa.Dao.isLoaded | ( | Object | o | ) |
boolean org.turro.jpa.Dao.isLoaded | ( | Object | o, |
String | attribute | ||
) |
boolean org.turro.jpa.Dao.isNotLoaded | ( | Object | o | ) |
boolean org.turro.jpa.Dao.isNotLoaded | ( | Object | o, |
String | attribute | ||
) |
void org.turro.jpa.Dao.persistObject | ( | Object | obj | ) |
void org.turro.jpa.Dao.poolObject | ( | Object | obj, |
int | poolSize | ||
) |
void org.turro.jpa.Dao.saveCollection | ( | Collection | objs | ) |
void org.turro.jpa.Dao.saveCollection | ( | Collection | objs, |
DaoCallback | callback | ||
) |
void org.turro.jpa.Dao.saveEntities | ( | Collection<? extends IDaoEntity > | entities | ) |
|
static |