Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
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
entityManager
- Variable in class org.appfuse.dao.jpa.
GenericDaoJpa
Entity manager, injected by Spring using @PersistenceContext annotation on setEntityManager()
entityManager
- Variable in class org.appfuse.dao.jpa.
UniversalDaoJpa
Entity manager, injected by Spring using @PersistenceContext annotation on setEntityManager()
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
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.
get(Class, Serializable)
- Method in class org.appfuse.dao.jpa.
UniversalDaoJpa
Generic method to get an object based on class and identifier.
get(Class, Serializable)
- Method in interface org.appfuse.dao.
UniversalDao
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.
getAll(Class)
- Method in class org.appfuse.dao.jpa.
UniversalDaoJpa
Generic method used to get all objects of a particular type.
getAll(Class)
- Method in interface org.appfuse.dao.
UniversalDao
Generic method used to get all objects of a particular type.
getConfigLocations()
- Method in class org.appfuse.dao.
BaseDaoTestCase
Sets AutowireMode to AUTOWIRE_BY_NAME and configures all context files needed to tests DAOs.
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.
log
- Variable in class org.appfuse.dao.jpa.
UniversalDaoJpa
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
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
remove(Class, Serializable)
- Method in class org.appfuse.dao.jpa.
UniversalDaoJpa
Generic method to delete an object based on class and id
remove(Class, Serializable)
- Method in interface org.appfuse.dao.
UniversalDao
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.
save(Object)
- Method in class org.appfuse.dao.jpa.
UniversalDaoJpa
Generic method to save an object - handles both update and insert.
save(Object)
- Method in interface org.appfuse.dao.
UniversalDao
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.
setEntityManager(EntityManager)
- Method in class org.appfuse.dao.jpa.
GenericDaoJpa
setEntityManager(EntityManager)
- Method in class org.appfuse.dao.jpa.
UniversalDaoJpa
U
UniversalDao
- Interface in
org.appfuse.dao
Data Access Object (DAO) interface.
UniversalDaoJpa
- Class in
org.appfuse.dao.jpa
This class serves as the a class that can CRUD any object witout any Spring configuration.
UniversalDaoJpa()
- Constructor for class org.appfuse.dao.jpa.
UniversalDaoJpa
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(DataSource)
- 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
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2007. All Rights Reserved.