A B C D E G I L M O P R S T U 

A

ACCESS_DENIED - Static variable in class org.appfuse.service.UserSecurityAdvice
Default "Access Denied" error message (not i18n-ized).
afterReturning(Object, Method, Object[], Object) - Method in class org.appfuse.service.UserSecurityAdvice
After returning, grab the user, check if they've been modified and reset the SecurityContext if they have.

B

BaseManagerMockTestCase - Class in org.appfuse.service.impl
A mock class for testing using Mockito.
BaseManagerMockTestCase() - Constructor for class org.appfuse.service.impl.BaseManagerMockTestCase
Default constructor will set the ResourceBundle if needed.
BaseManagerTestCase - Class in org.appfuse.service
 
BaseManagerTestCase() - Constructor for class org.appfuse.service.BaseManagerTestCase
Default constructor will set the ResourceBundle if needed.
before(Method, Object[], Object) - Method in class org.appfuse.service.UserSecurityAdvice
Method to enforce security and only allow administrators to modify users.
buildRecoveryPasswordUrl(User, String) - Method in class org.appfuse.service.impl.UserManagerImpl
 
buildRecoveryPasswordUrl(User, String) - Method in interface org.appfuse.service.UserManager
Builds a recovery password url by replacing placeholders with username and generated recovery token.

C

convert(Class, Object) - Method in class org.appfuse.util.CurrencyConverter
Convert a String to a Double and a Double to a String
convert(Class, Object) - Method in class org.appfuse.util.DateConverter
Convert a date to a String and a String to a Date
convertBundleToMap(ResourceBundle) - Static method in class org.appfuse.util.ConvertUtil
Method to convert a ResourceBundle to a Map object.
convertBundleToProperties(ResourceBundle) - Static method in class org.appfuse.util.ConvertUtil
Method to convert a ResourceBundle to a Properties object.
convertDateToString(Date) - Static method in class org.appfuse.util.DateUtil
This method generates a string representation of a date based on the System Property 'dateFormat' in the format you specify on input
convertListToMap(List<LabelValue>) - Static method in class org.appfuse.util.ConvertUtil
Convert a java.util.List of LabelValue objects to a LinkedHashMap.
convertStringToDate(String, String) - Static method in class org.appfuse.util.DateUtil
This method generates a string representation of a date/time in the format you specify on input
convertStringToDate(String) - Static method in class org.appfuse.util.DateUtil
This method converts a String to a date using the datePattern
convertToDate(Class<?>, Object, String) - Method in class org.appfuse.util.DateConverter
Convert a String to a Date with the specified pattern.
convertToDate(Class, Object) - Method in class org.appfuse.util.TimestampConverter
Convert a String to a date
convertToString(Object) - Method in class org.appfuse.util.DateConverter
Convert a java.util.Date or a java.sql.Timestamp to a String.
convertToString(Class, Object) - Method in class org.appfuse.util.TimestampConverter
Convert from a java.util.Date to a String
ConvertUtil - Class in org.appfuse.util
Utility class to convert one object to another.
CurrencyConverter - Class in org.appfuse.util
This class is converts a Double to a double-digit String (and vise-versa) by BeanUtils when copying properties.
CurrencyConverter() - Constructor for class org.appfuse.util.CurrencyConverter
 

D

dao - Variable in class org.appfuse.service.impl.GenericManagerImpl
GenericDao instance, set by constructor of child classes
DateConverter - Class in org.appfuse.util
This class converts a java.util.Date to a String and a String to a java.util.Date.
DateConverter() - Constructor for class org.appfuse.util.DateConverter
 
DateUtil - Class in org.appfuse.util
Date Utility Class used to convert Strings to Dates and Timestamps

E

exists(PK) - Method in interface org.appfuse.service.GenericManager
Checks for existence of an object of type T using the id arg.
exists(PK) - Method in class org.appfuse.service.impl.GenericManagerImpl
Checks for existence of an object of type T using the id arg.

G

generateRecoveryToken(User) - Method in interface org.appfuse.service.impl.PasswordTokenManager
generateRecoveryToken(User) - Method in class org.appfuse.service.impl.PasswordTokenManagerImpl
generateRecoveryToken(User) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
generateRecoveryToken(User) - Method in class org.appfuse.service.impl.UserManagerImpl
 
generateRecoveryToken(User) - Method in interface org.appfuse.service.UserManager
 
GenericManager<T,PK extends Serializable> - Interface in org.appfuse.service
Generic Manager that talks to GenericDao to CRUD POJOs.
GenericManagerImpl<T,PK extends Serializable> - Class in org.appfuse.service.impl
This class serves as the Base class for all other Managers - namely to hold common CRUD methods that they might all use.
GenericManagerImpl() - Constructor for class org.appfuse.service.impl.GenericManagerImpl
 
GenericManagerImpl(GenericDao<T, PK>) - Constructor for class org.appfuse.service.impl.GenericManagerImpl
 
get(PK) - Method in interface org.appfuse.service.GenericManager
Generic method to get an object based on class and identifier.
get(PK) - Method in class org.appfuse.service.impl.GenericManagerImpl
Generic method to get an object based on class and identifier.
getAll() - Method in interface org.appfuse.service.GenericManager
Generic method used to get all objects of a particular type.
getAll() - Method in class org.appfuse.service.impl.GenericManagerImpl
Generic method used to get all objects of a particular type.
getAllRoles() - Method in class org.appfuse.service.impl.LookupManagerImpl
Retrieves all possible roles from persistence layer
getAllRoles() - Method in interface org.appfuse.service.LookupManager
Retrieves all possible roles from persistence layer
getDate(Date) - Static method in class org.appfuse.util.DateUtil
This method attempts to convert an Oracle-formatted date in the form dd-MMM-yyyy to mm/dd/yyyy.
getDatePattern() - Static method in class org.appfuse.util.DateUtil
Return default datePattern (MM/dd/yyyy)
getDateTime(String, Date) - Static method in class org.appfuse.util.DateUtil
This method generates a string representation of a date's date/time in the format you specify on input
getDateTimePattern() - Static method in class org.appfuse.util.DateUtil
 
getMailSender() - Method in class org.appfuse.service.MailEngine
 
getRole(String) - Method in class org.appfuse.service.impl.RoleManagerImpl
getRole(String) - Method in interface org.appfuse.service.RoleManager
getRoles(Role) - Method in class org.appfuse.service.impl.RoleManagerImpl
getRoles(Role) - Method in interface org.appfuse.service.RoleManager
getTimeNow(Date) - Static method in class org.appfuse.util.DateUtil
This method returns the current date time in the format: MM/dd/yyyy HH:MM a
getToday() - Static method in class org.appfuse.util.DateUtil
This method returns the current date in the format: MM/dd/yyyy
getUser(String) - Method in class org.appfuse.service.impl.UserManagerImpl
Retrieves a user by userId.
getUser(String) - Method in interface org.appfuse.service.UserManager
Retrieves a user by userId.
getUser(String) - Method in interface org.appfuse.service.UserService
Retrieves a user by userId.
getUserByUsername(String) - Method in class org.appfuse.service.impl.UserManagerImpl
Finds a user by their username.
getUserByUsername(String) - Method in interface org.appfuse.service.UserManager
Finds a user by their username.
getUserByUsername(String) - Method in interface org.appfuse.service.UserService
Finds a user by their username.
getUsers() - Method in class org.appfuse.service.impl.UserManagerImpl
Retrieves a list of all users.
getUsers() - Method in interface org.appfuse.service.UserManager
Retrieves a list of all users.
getUsers() - Method in interface org.appfuse.service.UserService
Retrieves a list of all users.

I

invalidateRecoveryToken(User, String) - Method in interface org.appfuse.service.impl.PasswordTokenManager
 
invalidateRecoveryToken(User, String) - Method in class org.appfuse.service.impl.PasswordTokenManagerImpl
invalidateRecoveryToken(User, String) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
isRecoveryTokenPersisted(User, String) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
isRecoveryTokenValid(User, String) - Method in interface org.appfuse.service.impl.PasswordTokenManager
isRecoveryTokenValid(User, String) - Method in class org.appfuse.service.impl.PasswordTokenManagerImpl
isRecoveryTokenValid(User, String) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
isRecoveryTokenValid(String, String) - Method in class org.appfuse.service.impl.UserManagerImpl
isRecoveryTokenValid(User, String) - Method in class org.appfuse.service.impl.UserManagerImpl
 
isRecoveryTokenValid(String, String) - Method in interface org.appfuse.service.UserManager
 
isRecoveryTokenValid(User, String) - Method in interface org.appfuse.service.UserManager
 

L

log - Variable in class org.appfuse.service.BaseManagerTestCase
A simple logger
log - Variable in class org.appfuse.service.impl.BaseManagerMockTestCase
A logger
log - Variable in class org.appfuse.service.impl.GenericManagerImpl
Log variable for all child classes.
LookupManager - Interface in org.appfuse.service
Business Service Interface to talk to persistence layer and retrieve values for drop-down choice lists.
LookupManagerImpl - Class in org.appfuse.service.impl
Implementation of LookupManager interface to talk to the persistence layer.
LookupManagerImpl() - Constructor for class org.appfuse.service.impl.LookupManagerImpl
 

M

MailEngine - Class in org.appfuse.service
Class for sending e-mail messages based on Velocity templates or with attachments.
MailEngine() - Constructor for class org.appfuse.service.MailEngine
 

O

org.appfuse.service - package org.appfuse.service
 
org.appfuse.service.impl - package org.appfuse.service.impl
 
org.appfuse.util - package org.appfuse.util
 

P

PasswordTokenManager - Interface in org.appfuse.service.impl
 
PasswordTokenManagerImpl - Class in org.appfuse.service.impl
 
PasswordTokenManagerImpl() - Constructor for class org.appfuse.service.impl.PasswordTokenManagerImpl
 
PersistentPasswordTokenManagerImpl - Class in org.appfuse.service.impl
Provides PasswordTokenManager functionality generating and persisting random tokens to the db as an extra security check.
PersistentPasswordTokenManagerImpl() - Constructor for class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
persistToken(User, String) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
populate(Object) - Method in class org.appfuse.service.BaseManagerTestCase
Utility method to populate an object with values from a properties file
populate(Object) - Method in class org.appfuse.service.impl.BaseManagerMockTestCase
Utility method to populate a javabean-style object with values from a Properties file
populateObject(Object, ResourceBundle) - Static method in class org.appfuse.util.ConvertUtil
Convenience method used by tests to populate an object from a ResourceBundle

R

rb - Variable in class org.appfuse.service.BaseManagerTestCase
The resourceBundle
rb - Variable in class org.appfuse.service.impl.BaseManagerMockTestCase
The resourceBundle
reindex() - Method in interface org.appfuse.service.GenericManager
Generic method to regenerate full text index of the persistent class T
reindex() - Method in class org.appfuse.service.impl.GenericManagerImpl
Generic method to regenerate full text index of the persistent class T
reindexAll(boolean) - Method in interface org.appfuse.service.GenericManager
Generic method to regenerate full text index of all indexed classes
reindexAll(boolean) - Method in class org.appfuse.service.impl.GenericManagerImpl
Generic method to regenerate full text index of all indexed classes
remove(T) - Method in interface org.appfuse.service.GenericManager
Generic method to delete an object
remove(PK) - Method in interface org.appfuse.service.GenericManager
Generic method to delete an object based on class and id
remove(T) - Method in class org.appfuse.service.impl.GenericManagerImpl
Generic method to delete an object
remove(PK) - Method in class org.appfuse.service.impl.GenericManagerImpl
Generic method to delete an object based on class and id
removeRole(String) - Method in class org.appfuse.service.impl.RoleManagerImpl
removeRole(String) - Method in interface org.appfuse.service.RoleManager
removeUser(User) - Method in class org.appfuse.service.impl.UserManagerImpl
Removes a user from the database
removeUser(String) - Method in class org.appfuse.service.impl.UserManagerImpl
Removes a user from the database by their userId
removeUser(User) - Method in interface org.appfuse.service.UserManager
Removes a user from the database
removeUser(String) - Method in interface org.appfuse.service.UserManager
Removes a user from the database by their userId
removeUser(String) - Method in interface org.appfuse.service.UserService
Removes a user from the database by their userId
RoleManager - Interface in org.appfuse.service
Business Service Interface to handle communication between web and persistence layer.
RoleManagerImpl - Class in org.appfuse.service.impl
Implementation of RoleManager interface.
RoleManagerImpl(RoleDao) - Constructor for class org.appfuse.service.impl.RoleManagerImpl
 

S

save(T) - Method in interface org.appfuse.service.GenericManager
Generic method to save an object - handles both update and insert.
save(T) - Method in class org.appfuse.service.impl.GenericManagerImpl
Generic method to save an object - handles both update and insert.
saveRole(Role) - Method in class org.appfuse.service.impl.RoleManagerImpl
saveRole(Role) - Method in interface org.appfuse.service.RoleManager
saveUser(User) - Method in class org.appfuse.service.impl.UserManagerImpl
Saves a user's information.
saveUser(User) - Method in interface org.appfuse.service.UserManager
Saves a user's information.
saveUser(User) - Method in interface org.appfuse.service.UserService
Saves a user's information
search(String, Class) - Method in interface org.appfuse.service.GenericManager
Generic method to search for an object.
search(String, Class) - Method in class org.appfuse.service.impl.GenericManagerImpl
Generic method to search for an object.
search(String) - Method in class org.appfuse.service.impl.UserManagerImpl
Search a user for search terms.
search(String) - Method in interface org.appfuse.service.UserManager
Search a user for search terms.
send(SimpleMailMessage) - Method in class org.appfuse.service.MailEngine
Send a simple message with pre-populated values.
sendMessage(SimpleMailMessage, String, Map) - Method in class org.appfuse.service.MailEngine
Send a simple message based on a Velocity template.
sendMessage(String[], String, ClassPathResource, String, String, String) - Method in class org.appfuse.service.MailEngine
Convenience method for sending messages with attachments.
sendPasswordRecoveryEmail(String, String) - Method in class org.appfuse.service.impl.UserManagerImpl
Sends a password recovery email to username.
sendPasswordRecoveryEmail(String, String) - Method in interface org.appfuse.service.UserManager
Sends a password recovery email to username.
setDataSource(DataSource) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
setDecimalFormatter(DecimalFormat) - Method in class org.appfuse.util.CurrencyConverter
 
setDeleteTokenSql(String) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
setFrom(String) - Method in class org.appfuse.service.MailEngine
 
setInsertTokenSql(String) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
setMailEngine(MailEngine) - Method in class org.appfuse.service.impl.UserManagerImpl
 
setMailMessage(SimpleMailMessage) - Method in class org.appfuse.service.impl.UserManagerImpl
 
setMailSender(MailSender) - Method in class org.appfuse.service.MailEngine
 
setPasswordEncoder(PasswordEncoder) - Method in class org.appfuse.service.impl.UserManagerImpl
 
setPasswordEncoder(PasswordEncoder) - Method in interface org.appfuse.service.UserManager
Convenience method for testing - allows you to mock the PasswordEncoder and set it on an interface.
setPasswordRecoveryTemplate(String) - Method in class org.appfuse.service.impl.UserManagerImpl
Velocity template name to send users a password recovery mail (default passwordRecovery.vm).
setPasswordTokenManager(PasswordTokenManager) - Method in class org.appfuse.service.impl.UserManagerImpl
 
setPasswordUpdatedTemplate(String) - Method in class org.appfuse.service.impl.UserManagerImpl
Velocity template name to inform users their password was updated (default passwordUpdated.vm).
setSelectTokenSql(String) - Method in class org.appfuse.service.impl.PersistentPasswordTokenManagerImpl
 
setUserDao(UserDao) - Method in class org.appfuse.service.impl.UserManagerImpl
 
setUserDao(UserDao) - Method in interface org.appfuse.service.UserManager
Convenience method for testing - allows you to mock the DAO and set it on an interface.
setVelocityEngine(VelocityEngine) - Method in class org.appfuse.service.MailEngine
 

T

TimestampConverter - Class in org.appfuse.util
This class is converts a java.util.Date to a String and a String to a java.util.Date for use as a Timestamp.
TimestampConverter() - Constructor for class org.appfuse.util.TimestampConverter
 
TS_FORMAT - Static variable in class org.appfuse.util.TimestampConverter
i18n-ized timestamp format - based on values in ApplicationResources.properties

U

updatePassword(String, String, String, String, String) - Method in class org.appfuse.service.impl.UserManagerImpl
updatePassword(String, String, String, String, String) - Method in interface org.appfuse.service.UserManager
 
UserExistsException - Exception in org.appfuse.service
An exception that is thrown by classes wanting to trap unique constraint violations.
UserExistsException(String) - Constructor for exception org.appfuse.service.UserExistsException
Constructor for UserExistsException.
UserManager - Interface in org.appfuse.service
Business Service Interface to handle communication between web and persistence layer.
UserManagerImpl - Class in org.appfuse.service.impl
Implementation of UserManager interface.
UserManagerImpl() - Constructor for class org.appfuse.service.impl.UserManagerImpl
 
UserSecurityAdvice - Class in org.appfuse.service
This advice is responsible for enforcing security and only allowing administrators to modify users.
UserSecurityAdvice() - Constructor for class org.appfuse.service.UserSecurityAdvice
 
UserService - Interface in org.appfuse.service
Web Service interface so hierarchy of Generic Manager isn't carried through.
A B C D E G I L M O P R S T U 

Copyright © 2003–2013. All rights reserved.