B E F G H L O P R S U

B

BaseDaoTestCase - Class in org.appfuse.dao
Base class for running DAO tests.
BaseDaoTestCase() - Constructor for class org.appfuse.dao.BaseDaoTestCase
Default constructor - populates "rb" variable if properties file exists for the class in src/test/resources.

E

exists(PK) - Method in interface org.appfuse.dao.GenericDao
Checks for existence of an object of type T using the id arg.
exists(PK) - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Checks for existence of an object of type T using the id arg.

F

flushSearchIndexes() - Method in class org.appfuse.dao.BaseDaoTestCase
Flush search indexes, to be done after a reindex() or reindexAll() operation

G

generateQuery(String, Class, EntityManager, Analyzer) - Static method in class org.appfuse.dao.jpa.HibernateSearchJpaTools
Generates a lucene query to search for a given term in all the indexed fields of a class
GenericDao<T,PK extends Serializable> - Interface in org.appfuse.dao
Generic DAO (Data Access Object) with common methods to CRUD POJOs.
GenericDaoJpa<T,PK extends Serializable> - Class in org.appfuse.dao.jpa
This class serves as the Base class for all other DAOs - namely to hold common CRUD methods that they might all use.
GenericDaoJpa(Class<T>) - Constructor for class org.appfuse.dao.jpa.GenericDaoJpa
Constructor that takes in a class to see which type of entity to persist.
GenericDaoJpa(Class<T>, EntityManager) - Constructor for class org.appfuse.dao.jpa.GenericDaoJpa
Constructor that takes in a class to see which type of entity to persist.
get(PK) - Method in interface org.appfuse.dao.GenericDao
Generic method to get an object based on class and identifier.
get(PK) - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Generic method to get an object based on class and identifier.
getAll() - Method in interface org.appfuse.dao.GenericDao
Generic method used to get all objects of a particular type.
getAll() - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Generic method used to get all objects of a particular type.
getAllDistinct() - Method in interface org.appfuse.dao.GenericDao
Gets all records without duplicates.
getAllDistinct() - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Gets all records without duplicates.
getEntityManager() - Method in class org.appfuse.dao.jpa.GenericDaoJpa
 
getRoleByName(String) - Method in class org.appfuse.dao.jpa.RoleDaoJpa
Gets role information based on rolename
getRoleByName(String) - Method in interface org.appfuse.dao.RoleDao
Gets role information based on rolename
getRoles() - Method in class org.appfuse.dao.jpa.LookupDaoJpa
Returns all Roles ordered by name
getRoles() - Method in interface org.appfuse.dao.LookupDao
Returns all Roles ordered by name
getUserPassword(Long) - Method in class org.appfuse.dao.jpa.UserDaoJpa
Retrieves the password in DB for a user
getUserPassword(Long) - Method in interface org.appfuse.dao.UserDao
Retrieves the password in DB for a user
getUsers() - Method in class org.appfuse.dao.jpa.UserDaoJpa
Gets a list of users ordered by the uppercase version of their username.
getUsers() - Method in interface org.appfuse.dao.UserDao
Gets a list of users ordered by the uppercase version of their username.

H

HibernateSearchJpaTools - Class in org.appfuse.dao.jpa
Utility class to generate lucene queries for hibernate search and perform full reindexing.
HibernateSearchJpaTools() - Constructor for class org.appfuse.dao.jpa.HibernateSearchJpaTools
 

L

loadUserByUsername(String) - Method in class org.appfuse.dao.jpa.UserDaoJpa
Gets users information based on login name.
loadUserByUsername(String) - Method in interface org.appfuse.dao.UserDao
Gets users information based on login name.
log - Variable in class org.appfuse.dao.BaseDaoTestCase
Log variable for all child classes.
log - Variable in class org.appfuse.dao.jpa.GenericDaoJpa
Log variable for all child classes.
log - Static variable in class org.appfuse.dao.jpa.HibernateSearchJpaTools
 
LookupDao - Interface in org.appfuse.dao
Lookup Data Access Object (GenericDao) interface.
LookupDaoJpa - Class in org.appfuse.dao.jpa
JPA implementation of LookupDao.
LookupDaoJpa() - Constructor for class org.appfuse.dao.jpa.LookupDaoJpa
 

O

org.appfuse.dao - package org.appfuse.dao
 
org.appfuse.dao.jpa - package org.appfuse.dao.jpa
 

P

PERSISTENCE_UNIT_NAME - Static variable in class org.appfuse.dao.jpa.GenericDaoJpa
 
populate(Object) - Method in class org.appfuse.dao.BaseDaoTestCase
Utility method to populate a javabean-style object with values from a Properties file

R

rb - Variable in class org.appfuse.dao.BaseDaoTestCase
ResourceBundle loaded from src/test/resources/${package.name}/ClassName.properties (if exists)
reindex() - Method in interface org.appfuse.dao.GenericDao
Generic method to regenerate full text index of the persistent class T
reindex() - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Generic method to regenerate full text index of the persistent class T
reindex(Class, EntityManager) - Static method in class org.appfuse.dao.jpa.HibernateSearchJpaTools
Regenerates the index for a given class
reindexAll(boolean) - Method in interface org.appfuse.dao.GenericDao
Generic method to regenerate full text index of all indexed classes
reindexAll(boolean) - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Generic method to regenerate full text index of all indexed classes
reindexAll(boolean, EntityManager) - Static method in class org.appfuse.dao.jpa.HibernateSearchJpaTools
Regenerates all the indexed class indexes
remove(T) - Method in interface org.appfuse.dao.GenericDao
Generic method to delete an object
remove(PK) - Method in interface org.appfuse.dao.GenericDao
Generic method to delete an object
remove(T) - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Generic method to delete an object
remove(PK) - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Generic method to delete an object
removeRole(String) - Method in class org.appfuse.dao.jpa.RoleDaoJpa
Removes a role from the database by name
removeRole(String) - Method in interface org.appfuse.dao.RoleDao
Removes a role from the database by name
RoleDao - Interface in org.appfuse.dao
Role Data Access Object (DAO) interface.
RoleDaoJpa - Class in org.appfuse.dao.jpa
This class interacts with Spring's HibernateTemplate to save/delete and retrieve Role objects.
RoleDaoJpa() - Constructor for class org.appfuse.dao.jpa.RoleDaoJpa
Constructor to create a Generics-based version using Role as the entity

S

save(T) - Method in interface org.appfuse.dao.GenericDao
Generic method to save an object - handles both update and insert.
save(T) - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Generic method to save an object - handles both update and insert.
saveUser(User) - Method in class org.appfuse.dao.jpa.UserDaoJpa
Save user and flush entityManager
saveUser(User) - Method in interface org.appfuse.dao.UserDao
Saves a user's information.
search(String) - Method in interface org.appfuse.dao.GenericDao
Gets all records that match a search term.
search(String) - Method in class org.appfuse.dao.jpa.GenericDaoJpa
 
SearchException - Exception in org.appfuse.dao
 
SearchException(Throwable) - Constructor for exception org.appfuse.dao.SearchException
 

U

UserDao - Interface in org.appfuse.dao
User Data Access Object (GenericDao) interface.
UserDaoJpa - Class in org.appfuse.dao.jpa
This class interacts with Spring's HibernateTemplate to save/delete and retrieve User objects.
UserDaoJpa() - Constructor for class org.appfuse.dao.jpa.UserDaoJpa
Constructor that sets the entity to User.class.

B E F G H L O P R S U

Copyright © 2003-2012. All Rights Reserved.