A B C D E F G H I J P R S T U W

A

addSortCriteria(Criteria) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Invokes readableDAO.addSortCriteria().
addSortCriteria(Criteria, SortCriterion...) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Invokes delegate.addSortCriteria().
addSortCriteria(Criteria, SortCriterion...) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Adds sortCriteria to a Criteria instance.
addSortCriteria(Criteria) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Adds the default sort criteria to a Criteria instance.

B

BaseHibernateDAO<T,K extends Serializable> - Class in br.com.arsmachina.dao.hibernate
Superclass of both ReadableDAOImpl and WriteableDAOImpl.
BaseHibernateDAO(SessionFactory) - Constructor for class br.com.arsmachina.dao.hibernate.BaseHibernateDAO
Constructor that takes a Class and a SessionFactory.
BaseHibernateDAO(Class<T>, SessionFactory) - Constructor for class br.com.arsmachina.dao.hibernate.BaseHibernateDAO
Constructor that takes a Class and a SessionFactory.
br.com.arsmachina.dao.hibernate - package br.com.arsmachina.dao.hibernate
 
br.com.arsmachina.dao.hibernate.dialect - package br.com.arsmachina.dao.hibernate.dialect
 
br.com.arsmachina.dao.hibernate.ioc - package br.com.arsmachina.dao.hibernate.ioc
 

C

ConcreteDAOImpl<T,K extends Serializable> - Class in br.com.arsmachina.dao.hibernate
A concrete GenericDAOImpl subclass.
ConcreteDAOImpl(Class<T>, SessionFactory) - Constructor for class br.com.arsmachina.dao.hibernate.ConcreteDAOImpl
Single constructor.
countAll() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
countAll() - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
 
createCriteria() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Invokes readableDAO.createCriteria().
createCriteria(SortCriterion...) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Invokes delegate.createCriteria().
createCriteria(int, int, SortCriterion...) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Invokes delegate.createCriteria().
createCriteria() - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Creates a Criteria for this entity class.
createCriteria(SortCriterion...) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Creates a Criteria for this entity class with given sort criteria.
createCriteria(int, int, SortCriterion...) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Creates a Criteria for this entity class with given sort criteria, first result index and maximum number of results.
createExample(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Invokes readableDAO.createExample().
createExample(T) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Used by ReadableDAOImpl.findByExample(Object) to create an Example instance.

D

DATABASE_PASSWORD - Static variable in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Property used to define the database user password.
DATABASE_URL - Static variable in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Property used to define the database url.
DATABASE_USERNAME - Static variable in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Property used to define the database user name.
dataSource() - Method in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Creates a DataSource.
delete(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
delete(K) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
delete(K) - Method in class br.com.arsmachina.dao.hibernate.WriteableDAOImpl
 
delete(T) - Method in class br.com.arsmachina.dao.hibernate.WriteableDAOImpl
 

E

EMPTY_SORTING_CRITERIA - Static variable in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
A SortCriterion array with no elements.
evict(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
evict(T) - Method in class br.com.arsmachina.dao.hibernate.WriteableDAOImpl
 

F

findAll() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
findAll(int, int, SortCriterion...) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
findAll() - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Returns all the entity class' objects.
findAll(int, int, SortCriterion...) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
If sortingConstraints is null or empty, this implementation sort the results by the SortCriterions returned by #getDefaultSortCriterions().
findByExample(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
findByExample(T) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
 
findById(K) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
findById(K) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
 
findByIds(K...) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
findByIds(K...) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
 

G

GenericDAOImpl<T,K extends Serializable> - Class in br.com.arsmachina.dao.hibernate
AbstractDAO implementation using Hibernate.
GenericDAOImpl(SessionFactory) - Constructor for class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Single public constructor.
getClassMetadata() - Method in class br.com.arsmachina.dao.hibernate.BaseHibernateDAO
Returns the ClassMetadata for the corresponding entity class.
getClassMetadata() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Returns the ClassMetadata for the corresponding entity class.
getDatabasePassword() - Method in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Returns the database user password.
getDatabaseURL() - Method in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Returns the JDBC driver class name.
getDatabaseUsername() - Method in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Returns the database user name.
getDefaultHqlOrderBy() - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Returns the value of the defaultHqlOrderBy property.
getDefaultSortCriteria() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
getDefaultSortCriteria() - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Returns the default SortCriterions to be used to sort the objects lists returned by methods like ReadableDAOImpl.findAll() and ReadableDAOImpl.findAll(int, int, SortCriterion...) when no sorting constraints are given.
getEntityClass() - Method in class br.com.arsmachina.dao.hibernate.BaseHibernateDAO
Returns the entity class handled by this DAO.
getEntityClass() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Returns the entity class handled by this DAO.
getIdentitySelectString(String, String, int) - Method in class br.com.arsmachina.dao.hibernate.dialect.IdentityPostresqlDialect
Removes the backtickes from the sequenceName and then returns super.getSequenceNextValString(sequenceName).
getJDBCDriver() - Method in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Returns the JDBC driver class name.
getNativeIdentifierGeneratorClass() - Method in class br.com.arsmachina.dao.hibernate.dialect.IdentityPostresqlDialect
Returns IdentityGenerator instead of SequenceGenerator.
getPrimaryKeyPropertyName() - Method in class br.com.arsmachina.dao.hibernate.BaseHibernateDAO
Returns the name of the id property.
getPrimaryKeyPropertyName() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Returns the name of the property.
getSession() - Method in class br.com.arsmachina.dao.hibernate.BaseHibernateDAO
Returns a Session.
getSession() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Returns a Session.
getSessionFactory() - Method in class br.com.arsmachina.dao.hibernate.BaseHibernateDAO
Returns this DAO's SessionFactory.
getSessionFactory() - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
Returns this DAO's SessionFactory.

H

HIBERNATE_CONFIGURATION_FILE - Static variable in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Location, in the classpath, of the Hibernate configuration file.

I

IdentityPostresqlDialect - Class in br.com.arsmachina.dao.hibernate.dialect
PostgreSQLDialect that defines IdentityGenerator as the default id value generator instead of SequenceGenerator.
IdentityPostresqlDialect() - Constructor for class br.com.arsmachina.dao.hibernate.dialect.IdentityPostresqlDialect
 
isPersistent(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
isPersistent(T) - Method in class br.com.arsmachina.dao.hibernate.WriteableDAOImpl
Returns true if the primary key field (identifier) of the given object is not null.

J

JDBC_DRIVER - Static variable in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Property used to define the database JDBC driver class name.

P

PersistenceConfiguration - Class in br.com.arsmachina.dao.hibernate.ioc
Class that configures the persistence layer for Spring.
PersistenceConfiguration() - Constructor for class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Single constructor of this class.

R

ReadableDAOImpl<T,K extends Serializable> - Class in br.com.arsmachina.dao.hibernate
ReadableDAO implementation using Hibernate.
ReadableDAOImpl(SessionFactory) - Constructor for class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Constructor that takes a Class and a SessionFactory.
ReadableDAOImpl(Class<T>, SessionFactory) - Constructor for class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Constructor that takes a Class and a SessionFactory.
reattach(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
reattach(T) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Reattaches the object to the current Session using Session.lock(object, LockMode.NONE) and then returns the object.
refresh(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
refresh(T) - Method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
 

S

save(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
save(T) - Method in class br.com.arsmachina.dao.hibernate.WriteableDAOImpl
 
sessionFactory() - Method in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Creates a SessionFactory that uses annotations and/or XML for mapping classes.

T

toHqlOrderBy(SortCriterion...) - Static method in class br.com.arsmachina.dao.hibernate.ReadableDAOImpl
Returns a HQL order by clause given some SortCriterions.
transactionManager() - Method in class br.com.arsmachina.dao.hibernate.ioc.PersistenceConfiguration
Creates the PlatformTransactionManager to be used by Spring.

U

update(T) - Method in class br.com.arsmachina.dao.hibernate.GenericDAOImpl
 
update(T) - Method in class br.com.arsmachina.dao.hibernate.WriteableDAOImpl
 

W

WriteableDAOImpl<T,K extends Serializable> - Class in br.com.arsmachina.dao.hibernate
WriteableDAO implementation using Hibernate.
WriteableDAOImpl(SessionFactory) - Constructor for class br.com.arsmachina.dao.hibernate.WriteableDAOImpl
Constructor that takes a Class and a SessionFactory.
WriteableDAOImpl(Class<T>, SessionFactory) - Constructor for class br.com.arsmachina.dao.hibernate.WriteableDAOImpl
Constructor that takes a Class and a SessionFactory.

A B C D E F G H I J P R S T U W

Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.