Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
V
A
AccessDeniedInterceptor
- Class in
org.appfuse.webapp.interceptor
Correctly report spring-security's AccessDeniedException thrown from within Struts actions as 403 error.
AccessDeniedInterceptor()
- Constructor for class org.appfuse.webapp.interceptor.
AccessDeniedInterceptor
B
BaseAction
- Class in
org.appfuse.webapp.action
Implementation of
ActionSupport
that contains convenience methods for subclasses.
BaseAction()
- Constructor for class org.appfuse.webapp.action.
BaseAction
buildCountryList(Locale)
- Method in class org.appfuse.webapp.taglib.
CountryTag
Build a List of LabelValues for all the available countries.
C
CANCEL
- Static variable in class org.appfuse.webapp.action.
BaseAction
Constant for cancel result String
cancel
- Variable in class org.appfuse.webapp.action.
BaseAction
Indicator if the user clicked cancel
cancel()
- Method in class org.appfuse.webapp.action.
BaseAction
Simple method that returns "cancel" result
cancel()
- Method in class org.appfuse.webapp.action.
UserAction
Sends users to "mainMenu" when !from.equals("list").
compare(Object, Object)
- Method in class org.appfuse.webapp.taglib.
CountryTag.LabelValueComparator
Compares the localized labels of two LabelValues.
convertFromString(Map, String[], Class)
- Method in class org.appfuse.webapp.action.
DateConverter
convertToString(Map, Object)
- Method in class org.appfuse.webapp.action.
DateConverter
CountryTag
- Class in
org.appfuse.webapp.taglib
Tag for creating multiple <select> options for displaying a list of country names.
CountryTag()
- Constructor for class org.appfuse.webapp.taglib.
CountryTag
CountryTag.LabelValueComparator
- Class in
org.appfuse.webapp.taglib
Class to compare LabelValues using their labels with locale-sensitive behaviour.
CountryTag.LabelValueComparator(Locale)
- Constructor for class org.appfuse.webapp.taglib.
CountryTag.LabelValueComparator
Creates a new LabelValueComparator object.
D
DateConverter
- Class in
org.appfuse.webapp.action
This class implements a Struts Type Converter and can be used by struts to convert Date's to Strings
DateConverter()
- Constructor for class org.appfuse.webapp.action.
DateConverter
delete
- Variable in class org.appfuse.webapp.action.
BaseAction
Set to "delete" when a "delete" request parameter is passed in
delete()
- Method in class org.appfuse.webapp.action.
UserAction
Delete the user passed in.
destroy()
- Method in class org.appfuse.webapp.interceptor.
AccessDeniedInterceptor
This method currently does nothing.
destroy()
- Method in class org.appfuse.webapp.interceptor.
UserRoleAuthorizationInterceptor
This method currently does nothing.
doDefault()
- Method in class org.appfuse.webapp.action.
SignupAction
Returns "input"
doStartTag()
- Method in class org.appfuse.webapp.taglib.
CountryTag
Process the start of this tag.
E
edit()
- Method in class org.appfuse.webapp.action.
UserAction
Grab the user from the database based on the "id" passed in.
execute()
- Method in class org.appfuse.webapp.action.
FileUploadAction
Default method - returns "input"
execute()
- Method in class org.appfuse.webapp.action.
PasswordHintAction
Execute sending the password hint via e-mail.
execute()
- Method in class org.appfuse.webapp.action.
ReloadAction
Method that calls StartupListener.setContext() and returns user to referrer location (or does a popup if none found).
execute()
- Method in class org.appfuse.webapp.action.
SignupAction
When method=GET, "input" is returned.
execute()
- Method in class org.appfuse.webapp.action.
UserAction
Default: just returns "success"
F
FileUploadAction
- Class in
org.appfuse.webapp.action
Sample action that shows how to do file upload with Struts 2.
FileUploadAction()
- Constructor for class org.appfuse.webapp.action.
FileUploadAction
from
- Variable in class org.appfuse.webapp.action.
BaseAction
Indicator for the page the user came from.
G
getConfiguration()
- Method in class org.appfuse.webapp.action.
BaseAction
Convenience method to get the Configuration HashMap from the servlet context.
getFile()
- Method in class org.appfuse.webapp.action.
FileUploadAction
getFileContentType()
- Method in class org.appfuse.webapp.action.
FileUploadAction
getFileFileName()
- Method in class org.appfuse.webapp.action.
FileUploadAction
getName()
- Method in class org.appfuse.webapp.action.
FileUploadAction
getRequest()
- Method in class org.appfuse.webapp.action.
BaseAction
Convenience method to get the request
getResponse()
- Method in class org.appfuse.webapp.action.
BaseAction
Convenience method to get the response
getSession()
- Method in class org.appfuse.webapp.action.
BaseAction
Convenience method to get the session.
getUser()
- Method in class org.appfuse.webapp.action.
SignupAction
Return an instance of the user - to display when validation errors occur
getUser()
- Method in class org.appfuse.webapp.action.
UserAction
getUsers()
- Method in class org.appfuse.webapp.action.
UserAction
Holder for users to display on list screen
H
handleNotAuthorized(HttpServletRequest, HttpServletResponse)
- Method in class org.appfuse.webapp.interceptor.
UserRoleAuthorizationInterceptor
Handle a request that is not authorized according to this interceptor.
I
init()
- Method in class org.appfuse.webapp.interceptor.
AccessDeniedInterceptor
This method currently does nothing.
init()
- Method in class org.appfuse.webapp.interceptor.
UserRoleAuthorizationInterceptor
This method currently does nothing.
intercept(ActionInvocation)
- Method in class org.appfuse.webapp.interceptor.
AccessDeniedInterceptor
intercept(ActionInvocation)
- Method in class org.appfuse.webapp.interceptor.
UserRoleAuthorizationInterceptor
Intercept the action invocation and check to see if the user has the proper role.
L
list()
- Method in class org.appfuse.webapp.action.
UserAction
Fetch all users from database and put into local "users" variable for retrieval in the UI.
log
- Variable in class org.appfuse.webapp.action.
BaseAction
Transient log to prevent session synchronization issues - children can use instance for logging.
M
mailEngine
- Variable in class org.appfuse.webapp.action.
BaseAction
MailEngine for sending e-mail
mailMessage
- Variable in class org.appfuse.webapp.action.
BaseAction
A message pre-populated with default data
O
org.appfuse.webapp.action
- package org.appfuse.webapp.action
org.appfuse.webapp.interceptor
- package org.appfuse.webapp.interceptor
org.appfuse.webapp.taglib
- package org.appfuse.webapp.taglib
P
PasswordHintAction
- Class in
org.appfuse.webapp.action
Action class to send password hints to registered users.
PasswordHintAction()
- Constructor for class org.appfuse.webapp.action.
PasswordHintAction
prepare()
- Method in class org.appfuse.webapp.action.
UserAction
Grab the entity from the database before populating with request parameters
R
ReloadAction
- Class in
org.appfuse.webapp.action
This class is used to reload the drop-downs initialized in the StartupListener.
ReloadAction()
- Constructor for class org.appfuse.webapp.action.
ReloadAction
roleManager
- Variable in class org.appfuse.webapp.action.
BaseAction
The RoleManager
S
save
- Variable in class org.appfuse.webapp.action.
BaseAction
Set to "save" when a "save" request parameter is passed in
save()
- Method in class org.appfuse.webapp.action.
SignupAction
Save the user, encrypting their passwords if necessary
save()
- Method in class org.appfuse.webapp.action.
UserAction
Save user
saveMessage(String)
- Method in class org.appfuse.webapp.action.
BaseAction
Save the message in the session, appending if messages already exist
sendUserMessage(User, String, String)
- Method in class org.appfuse.webapp.action.
BaseAction
Convenience method to send e-mail to users
setAuthorizedRoles(String[])
- Method in class org.appfuse.webapp.interceptor.
UserRoleAuthorizationInterceptor
Set the roles that this interceptor should treat as authorized.
setCancel(String)
- Method in class org.appfuse.webapp.action.
SignupAction
setDefault(String)
- Method in class org.appfuse.webapp.taglib.
CountryTag
setDelete(String)
- Method in class org.appfuse.webapp.action.
BaseAction
setFile(File)
- Method in class org.appfuse.webapp.action.
FileUploadAction
setFileContentType(String)
- Method in class org.appfuse.webapp.action.
FileUploadAction
setFileFileName(String)
- Method in class org.appfuse.webapp.action.
FileUploadAction
setFrom(String)
- Method in class org.appfuse.webapp.action.
BaseAction
Convenience method for setting a "from" parameter to indicate the previous page.
setId(String)
- Method in class org.appfuse.webapp.action.
UserAction
setMailEngine(MailEngine)
- Method in class org.appfuse.webapp.action.
BaseAction
setMailMessage(SimpleMailMessage)
- Method in class org.appfuse.webapp.action.
BaseAction
setName(String)
- Method in class org.appfuse.webapp.action.
FileUploadAction
setName(String)
- Method in class org.appfuse.webapp.taglib.
CountryTag
setPrompt(String)
- Method in class org.appfuse.webapp.taglib.
CountryTag
setQ(String)
- Method in class org.appfuse.webapp.action.
UserAction
setRoleManager(RoleManager)
- Method in class org.appfuse.webapp.action.
BaseAction
setSave(String)
- Method in class org.appfuse.webapp.action.
BaseAction
setTemplateName(String)
- Method in class org.appfuse.webapp.action.
BaseAction
setToScope(String)
- Method in class org.appfuse.webapp.taglib.
CountryTag
setUser(User)
- Method in class org.appfuse.webapp.action.
SignupAction
setUser(User)
- Method in class org.appfuse.webapp.action.
UserAction
setUserManager(UserManager)
- Method in class org.appfuse.webapp.action.
BaseAction
setUsername(String)
- Method in class org.appfuse.webapp.action.
PasswordHintAction
SignupAction
- Class in
org.appfuse.webapp.action
Action to allow new users to sign up.
SignupAction()
- Constructor for class org.appfuse.webapp.action.
SignupAction
T
templateName
- Variable in class org.appfuse.webapp.action.
BaseAction
Velocity template to use for e-mailing
U
upload()
- Method in class org.appfuse.webapp.action.
FileUploadAction
Upload the file
UserAction
- Class in
org.appfuse.webapp.action
Action for facilitating User Management feature.
UserAction()
- Constructor for class org.appfuse.webapp.action.
UserAction
userManager
- Variable in class org.appfuse.webapp.action.
BaseAction
The UserManager
UserRoleAuthorizationInterceptor
- Class in
org.appfuse.webapp.interceptor
Security interceptor checks to see if users are in the specified roles before proceeding.
UserRoleAuthorizationInterceptor()
- Constructor for class org.appfuse.webapp.interceptor.
UserRoleAuthorizationInterceptor
V
validate()
- Method in class org.appfuse.webapp.action.
FileUploadAction
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2012. All Rights Reserved.