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.hibernate.GenericDaoHibernate
Checks for existence of an object of type T using the id arg.

F

findByNamedQuery(String, Map<String, Object>) - Method in interface org.appfuse.dao.GenericDao
Find a list of records by using a named query
findByNamedQuery(String, Map<String, Object>) - Method in class org.appfuse.dao.hibernate.GenericDaoHibernate
Find a list of records by using a named query
flush() - Method in class org.appfuse.dao.BaseDaoTestCase
Create a HibernateTemplate from the SessionFactory and call flush() and clear() on it.
flushSearchIndexes() - Method in class org.appfuse.dao.BaseDaoTestCase
Flush search indexes, to be done after a reindex() or reindexAll() operation

G

GenericDao<T,PK extends Serializable> - Interface in org.appfuse.dao
Generic DAO (Data Access Object) with common methods to CRUD POJOs.
GenericDaoHibernate<T,PK extends Serializable> - Class in org.appfuse.dao.hibernate
This class serves as the Base class for all other DAOs - namely to hold common CRUD methods that they might all use.
GenericDaoHibernate(Class<T>) - Constructor for class org.appfuse.dao.hibernate.GenericDaoHibernate
Constructor that takes in a class to see which type of entity to persist.
GenericDaoHibernate(Class<T>, SessionFactory) - Constructor for class org.appfuse.dao.hibernate.GenericDaoHibernate
Constructor that takes in a class and sessionFactory for easy creation of DAO.
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.hibernate.GenericDaoHibernate
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.hibernate.GenericDaoHibernate
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.hibernate.GenericDaoHibernate
Gets all records without duplicates.
getRoleByName(String) - Method in class org.appfuse.dao.hibernate.RoleDaoHibernate
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.hibernate.LookupDaoHibernate
Returns all Roles ordered by name
getRoles() - Method in interface org.appfuse.dao.LookupDao
Returns all Roles ordered by name
getSession() - Method in class org.appfuse.dao.hibernate.GenericDaoHibernate
 
getSessionFactory() - Method in class org.appfuse.dao.hibernate.GenericDaoHibernate
 
getUserPassword(Long) - Method in class org.appfuse.dao.hibernate.UserDaoHibernate
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.hibernate.UserDaoHibernate
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

HibernateExtensionPostProcessor - Class in org.appfuse.dao.spring
Adds Hibernate persistent class definitions to an existing Spring Session Factory bean, possibly defined within a separate Spring configuration file in a separate jar file.
HibernateExtensionPostProcessor() - Constructor for class org.appfuse.dao.spring.HibernateExtensionPostProcessor
 

L

loadUserByUsername(String) - Method in class org.appfuse.dao.hibernate.UserDaoHibernate
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.hibernate.GenericDaoHibernate
Log variable for all child classes.
LookupDao - Interface in org.appfuse.dao
Lookup Data Access Object (GenericDao) interface.
LookupDaoHibernate - Class in org.appfuse.dao.hibernate
Hibernate implementation of LookupDao.
LookupDaoHibernate(SessionFactory) - Constructor for class org.appfuse.dao.hibernate.LookupDaoHibernate
Initialize LookupDaoHibernate with Hibernate SessionFactory.

O

org.appfuse.dao - package org.appfuse.dao
 
org.appfuse.dao.hibernate - package org.appfuse.dao.hibernate
 
org.appfuse.dao.spring - package org.appfuse.dao.spring
 

P

populate(Object) - Method in class org.appfuse.dao.BaseDaoTestCase
Utility method to populate a javabean-style object with values from a Properties file
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.appfuse.dao.spring.HibernateExtensionPostProcessor
Adds the annotated classes and the mapping resources to the existing Session Factory configuration.

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.hibernate.GenericDaoHibernate
Generic method to regenerate full text index of the persistent class T
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.hibernate.GenericDaoHibernate
Generic method to regenerate full text index of all indexed classes
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.hibernate.GenericDaoHibernate
Generic method to delete an object
remove(PK) - Method in class org.appfuse.dao.hibernate.GenericDaoHibernate
Generic method to delete an object
removeRole(String) - Method in class org.appfuse.dao.hibernate.RoleDaoHibernate
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.
RoleDaoHibernate - Class in org.appfuse.dao.hibernate
This class interacts with hibernate session to save/delete and retrieve Role objects.
RoleDaoHibernate() - Constructor for class org.appfuse.dao.hibernate.RoleDaoHibernate
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.hibernate.GenericDaoHibernate
Generic method to save an object - handles both update and insert.
save(User) - Method in class org.appfuse.dao.hibernate.UserDaoHibernate
Overridden simply to call the saveUser method.
saveUser(User) - Method in class org.appfuse.dao.hibernate.UserDaoHibernate
Saves a user's information.
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.hibernate.GenericDaoHibernate
Gets all records that match a search term.
SearchException - Exception in org.appfuse.dao
 
SearchException(Throwable) - Constructor for exception org.appfuse.dao.SearchException
 
setAnnotatedClasses(List) - Method in class org.appfuse.dao.spring.HibernateExtensionPostProcessor
The list of annotated classes to add to the session factory.
setConfigLocations(List) - Method in class org.appfuse.dao.spring.HibernateExtensionPostProcessor
The list of configuration locations (i.e.
setHibernateProperties(Properties) - Method in class org.appfuse.dao.spring.HibernateExtensionPostProcessor
Hibernate properties to add to the session factory.
setMappingResources(List) - Method in class org.appfuse.dao.spring.HibernateExtensionPostProcessor
Set the list of mapping resources (.hbm.xml files) to be added to the session factory.
setSessionFactory(SessionFactory) - Method in class org.appfuse.dao.hibernate.GenericDaoHibernate
 
setSessionFactoryBeanName(String) - Method in class org.appfuse.dao.spring.HibernateExtensionPostProcessor
Set the name of the SessionFactory bean.

U

UserDao - Interface in org.appfuse.dao
User Data Access Object (GenericDao) interface.
UserDaoHibernate - Class in org.appfuse.dao.hibernate
This class interacts with Hibernate session to save/delete and retrieve User objects.
UserDaoHibernate() - Constructor for class org.appfuse.dao.hibernate.UserDaoHibernate
Constructor that sets the entity to User.class.
B E F G H L O P R S U 

Copyright © 2003–2013. All rights reserved.