B C D E F G I J M P R S _ 

B

BaseDAODispatcher - Class in com.googlecode.genericdao.dao
This class has some helpful properties and methods for use in making DAODispatchers for various DAO implementations.
BaseDAODispatcher() - Constructor for class com.googlecode.genericdao.dao.BaseDAODispatcher
 

C

callMethod(Object, String, Object...) - Method in class com.googlecode.genericdao.dao.BaseDAODispatcher
 
callMethod(Object, String, Class<?>[], Object...) - Method in class com.googlecode.genericdao.dao.BaseDAODispatcher
 
callMethod(Object, String, Object...) - Static method in class com.googlecode.genericdao.dao.DAOUtil
This is a helper method to call a method on an Object with the given parameters.
callMethod(Object, String, Class<?>[], Object...) - Static method in class com.googlecode.genericdao.dao.DAOUtil
This is a helper method to call a method on an Object with the given parameters.
com.googlecode.genericdao.dao - package com.googlecode.genericdao.dao
 
com.googlecode.genericdao.dao.jpa - package com.googlecode.genericdao.dao.jpa
 
count(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
count(ISearch) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResults limits.
count(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
count(ISearch) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResults limits.
count(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 

D

DAODispatcher - Class in com.googlecode.genericdao.dao.jpa
This is an implementation of GeneralDAO that delegates to other DAOs depending on what entity class is being processed.
DAODispatcher() - Constructor for class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
DAODispatcherException - Exception in com.googlecode.genericdao.dao
A runtime exception to be thrown by DAODispatchers when things go wrong in the dispatching process.
DAODispatcherException(String) - Constructor for exception com.googlecode.genericdao.dao.DAODispatcherException
 
DAODispatcherException(Throwable) - Constructor for exception com.googlecode.genericdao.dao.DAODispatcherException
 
DAOUtil - Class in com.googlecode.genericdao.dao
Utility methods for Hibernate Genereic DAO.
DAOUtil() - Constructor for class com.googlecode.genericdao.dao.DAOUtil
 

E

em() - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Get the current EntityManager

F

find(Class<T>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
find(Class<T>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
find(Class<T>, Serializable) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Get the entity with the specified type and id from the datastore.
find(Class<T>, Serializable...) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Get all entities of the specified type from the datastore that have one of these ids.
find(Class<T>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
find(Class<T>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
find(ID) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Get the entity with the specified type and id from the datastore.
find(ID...) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Get all entities of the specified type from the datastore that have one of these ids.
find(ID) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
find(ID...) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
findAll(Class<T>) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
findAll(Class<T>) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Get a list of all the objects of the specified type.
findAll(Class<T>) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
findAll() - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Get a list of all the objects of the specified type.
findAll() - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
flush() - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
Deprecated.
use flush(Class)
flush(Class<?>) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
flush() - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Flushes changes in the Hibernate session to the datastore.
flush() - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
flush() - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Flushes changes in the Hibernate session to the datastore.
flush() - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 

G

generalDAO - Variable in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
GeneralDAO - Interface in com.googlecode.genericdao.dao.jpa
Interface for general Data Access Object that can be used for any type domain object.
GeneralDAOImpl - Class in com.googlecode.genericdao.dao.jpa
Implementation of GeneralDAO using Hibernate.
GeneralDAOImpl() - Constructor for class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
GenericDAO<T,ID extends Serializable> - Interface in com.googlecode.genericdao.dao.jpa
Interface for a Data Access Object that can be used for a single specified type domain object.
GenericDAOImpl<T,ID extends Serializable> - Class in com.googlecode.genericdao.dao.jpa
Implementation of GenericDAO using Hibernate.
GenericDAOImpl() - Constructor for class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
getFilterFromExample(Object) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
getFilterFromExample(Object, ExampleOptions) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
getFilterFromExample(Object) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Generates a search filter from the given example using default options.
getFilterFromExample(Object, ExampleOptions) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Generates a search filter from the given example using the specified options.
getFilterFromExample(Object) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
getFilterFromExample(Object, ExampleOptions) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
getFilterFromExample(T) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Generates a search filter from the given example using default options.
getFilterFromExample(T, ExampleOptions) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Generates a search filter from the given example using the specified options.
getFilterFromExample(T) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
getFilterFromExample(T, ExampleOptions) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
getMetadataUtil() - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
getMethod(Class<?>, String, Class<?>...) - Static method in class com.googlecode.genericdao.dao.DAOUtil
 
getReference(Class<T>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
getReference(Class<T>, Serializable) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Get a reference to the entity with the specified type and id from the datastore.
getReference(Class<T>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
getReference(ID) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Get a reference to the entity with the specified type and id from the datastore.
getReference(ID) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
getReferences(Class<T>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
getReferences(Class<T>, Serializable...) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Get a reference to the entities of the specified type with the given ids from the datastore.
getReferences(Class<T>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
getReferences(ID...) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Get a reference to the entities of the specified type with the given ids from the datastore.
getReferences(ID...) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
getSearchProcessor() - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
getSpecificDAO(String) - Method in class com.googlecode.genericdao.dao.BaseDAODispatcher
 
getTypeArguments(Class<T>, Class<? extends T>) - Static method in class com.googlecode.genericdao.dao.DAOUtil
Get the actual type arguments a child class has used to extend a generic base class.
getTypeFromArray(Object[]) - Static method in class com.googlecode.genericdao.dao.BaseDAODispatcher
Get the type of an array's elements.
getUniformArrayType(Object[]) - Static method in class com.googlecode.genericdao.dao.BaseDAODispatcher
If array is null, empty or has no non-null elements, return null If array contains all elements of the same type, return that type If array contains several different element types, return Object.class

I

isAttached(Object) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
isAttached(Object) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Returns true if the object is connected to the current Hibernate session.
isAttached(Object) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
isAttached(T) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Returns true if the object is connected to the current Hibernate session.
isAttached(T) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 

J

JPABaseDAO - Class in com.googlecode.genericdao.dao.jpa
Base class for DAOs that uses JPA EnityManagers and JPA Query Language.
JPABaseDAO() - Constructor for class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 

M

merge(T) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
merge(Object...) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
merge(T) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Copy the state of the given object onto the persistent object with the same identifier.
merge(Object...) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Copy the state of the given objects onto the persistent objects with the same identifier.
merge(T) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
merge(Object...) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
merge(T) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Copy the state of the given object onto the persistent object with the same identifier.
merge(T...) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Copy the state of the given objects onto the persistent objects with the same identifier.
merge(T) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
merge(T...) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 

P

persist(Object...) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
persist(Object...) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Make a transient instance persistent and add it to the datastore.
persist(Object...) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
persist(T...) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Make a transient instance persistent and add it to the datastore.
persist(T...) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
persistentClass - Variable in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 

R

refresh(Object...) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
refresh(Object...) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Refresh the content of the given entity from the current datastore state.
refresh(Object...) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
refresh(T...) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Refresh the content of the given entity from the current datastore state.
refresh(T...) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
remove(Object) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
remove(Object...) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
remove(Object) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Remove the specified entity from the datastore.
remove(Object...) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Remove all of the specified entities from the datastore.
remove(Object) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
remove(Object...) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
remove(T) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Remove the specified entity from the datastore.
remove(T...) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Remove all of the specified entities from the datastore.
remove(T) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
remove(T...) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
removeById(Class<?>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
removeById(Class<?>, Serializable) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Remove the entity with the specified type and id from the datastore.
removeById(Class<?>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
removeById(ID) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Remove the entity with the specified type and id from the datastore.
removeById(ID) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
removeByIds(Class<?>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
removeByIds(Class<?>, Serializable...) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Remove all the entities of the given type from the datastore that have one of these ids.
removeByIds(Class<?>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
removeByIds(ID...) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Remove all the entities of the given type from the datastore that have one of these ids.
removeByIds(ID...) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 

S

save(T) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
save(Object...) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
save(T) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
If an entity with the same ID already exists in the database, merge the changes into that entity.
save(Object...) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
For each entity: If an entity with the same ID already exists in the database, merge the changes into that entity.
save(T) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
save(Object...) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
save(T) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
If an entity with the same ID already exists in the database, merge the changes into that entity.
save(T...) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
For each entity: If an entity with the same ID already exists in the database, merge the changes into that entity.
save(T) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
save(T...) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
search(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
search(ISearch) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Search for objects given the search parameters in the specified ISearch object.
search(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
search(ISearch) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Search for entities given the search parameters in the specified ISearch object.
search(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
searchAndCount(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
searchAndCount(ISearch) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Returns a SearchResult object that includes both the list of results like search() and the total length like count().
searchAndCount(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
searchAndCount(ISearch) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Returns a SearchResult object that includes both the list of results like search() and the total length like count().
searchAndCount(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
searchUnique(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
 
searchUnique(ISearch) - Method in interface com.googlecode.genericdao.dao.jpa.GeneralDAO
Search for a single result using the given parameters.
searchUnique(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.GeneralDAOImpl
 
searchUnique(ISearch) - Method in interface com.googlecode.genericdao.dao.jpa.GenericDAO
Search for a single entity using the given parameters.
searchUnique(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.GenericDAOImpl
 
setEntityManager(EntityManager) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Set the current EntityManager
setGeneralDAO(GeneralDAO) - Method in class com.googlecode.genericdao.dao.jpa.DAODispatcher
GeneralDAO has default implementations for the standard DAO methods.
setSearchProcessor(JPASearchProcessor) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
setSpecificDAOs(Map<String, Object>) - Method in class com.googlecode.genericdao.dao.BaseDAODispatcher
In practice some DAOs could be put into this map using Spring.
specificDAOs - Variable in class com.googlecode.genericdao.dao.BaseDAODispatcher
 

_

_all(Class<T>) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Get a list of all the entities of the specified class.
_contains(Object) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Returns true if the object is connected to the current hibernate session.
_count(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits.
_count(Class<?>, ISearch) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Same as _count(ISearch) except that it uses the specified search class instead of getting it from the search object.
_count(Class<?>) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Returns the number of instances of this entity in the datastore.
_exists(Object) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
_exists(Class<?>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
_exists(Class<?>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
_find(Class<T>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance.
_find(Class<T>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Return the all the persistent instances of the given entity class with the given identifiers.
_flush() - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Flushes changes in the hibernate cache to the datastore.
_getFilterFromExample(Object) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
_getFilterFromExample(Object, ExampleOptions) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
_getReference(Class<T>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
_getReferences(Class<T>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
 
_merge(T) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Copy the state of the given object onto the persistent object with the same identifier.
_merge(Class<T>, T...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Copy the state of the given objects onto the persistent objects with the same identifier.
_persist(Object...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Make a transient instance persistent and add it to the datastore.
_persistOrMerge(T) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
If an entity with the same ID already exists in the database, merge the changes into that entity.
_persistOrMerge(Class<T>, T...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
For each entity: If an entity with the same ID already exists in the database, merge the changes into that entity.
_refresh(Object...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Refresh the content of the given entity from the current datastore state.
_removeById(Class<?>, Serializable) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Remove the entity of the specified class with the specified id from the datastore.
_removeByIds(Class<?>, Serializable...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Remove all the entities of the given type from the datastore that have one of these ids.
_removeEntities(Object...) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Remove the specified entities from the datastore.
_removeEntity(Object) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Remove the specified entity from the datastore.
_search(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Search for objects based on the search parameters in the specified ISearch object.
_search(Class<?>, ISearch) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Same as _search(ISearch) except that it uses the specified search class instead of getting it from the search object.
_searchAndCount(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Returns a SearchResult object that includes the list of results like search() and the total length like searchLength.
_searchAndCount(Class<?>, ISearch) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Same as _searchAndCount(ISearch) except that it uses the specified search class instead of getting it from the search object.
_searchUnique(ISearch) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Search for a single result using the given parameters.
_searchUnique(Class<?>, ISearch) - Method in class com.googlecode.genericdao.dao.jpa.JPABaseDAO
Same as _searchUnique(ISearch) except that it uses the specified search class instead of getting it from the search object.
B C D E F G I J M P R S _ 

Copyright © 2008-2013. All Rights Reserved.