B E G 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.

G

GenericDao<T,PK extends java.io.Serializable> - Interface in org.appfuse.dao
Generic DAO (Data Access Object) with common methods to CRUD POJOs.
GenericDaoJpa<T,PK extends java.io.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(String) - Method in class org.appfuse.dao.jpa.UserDaoJpa
Retrieves the password in DB for a user
getUserPassword(String) - 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.

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.
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)
remove(PK) - Method in interface org.appfuse.dao.GenericDao
Generic method to delete an object based on class and id
remove(PK) - Method in class org.appfuse.dao.jpa.GenericDaoJpa
Generic method to delete an object based on class and id
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.

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 G L O P R S U

Copyright © 2003-2009. All Rights Reserved.