Module com.aoindustries.web.struts
Class AddCreditCardAction
java.lang.Object
org.apache.struts.action.Action
com.aoindustries.web.struts.PageAction
com.aoindustries.web.struts.AuthenticatedAction
com.aoindustries.web.struts.PermissionAction
com.aoindustries.web.struts.clientarea.accounting.AddCreditCardAction
- Direct Known Subclasses:
AddCreditCardCompletedAction
Gets the form for adding a credit card.
- Author:
- AO Industries, Inc.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecutePermissionGranted
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn) Called when permission has been granted.static String
getFirstName
(String name, Locale userLocale) Parses the first name in a locale-specific manner.static String
getLastName
(String name, Locale userLocale) Parses the last name in a locale-specific manner.Gets the set of permissions that are required for this action.protected void
initRequestAttributes
(HttpServletRequest request, ServletContext context) Methods inherited from class com.aoindustries.web.struts.PermissionAction
execute, executePermissionDenied
Methods inherited from class com.aoindustries.web.struts.AuthenticatedAction
execute, getAoConn, getAuthenticatedAoConn
Methods inherited from class com.aoindustries.web.struts.PageAction
execute
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
AddCreditCardAction
public AddCreditCardAction()
-
-
Method Details
-
getFirstName
Parses the first name in a locale-specific manner. -
getLastName
Parses the last name in a locale-specific manner. -
executePermissionGranted
public ActionForward executePermissionGranted(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn) throws Exception Description copied from class:PermissionAction
Called when permission has been granted. By default, returns mapping for "success".- Overrides:
executePermissionGranted
in classPermissionAction
- Throws:
Exception
-
initRequestAttributes
protected void initRequestAttributes(HttpServletRequest request, ServletContext context) throws SQLException, IOException - Throws:
SQLException
IOException
-
getPermissions
Description copied from class:PermissionAction
Gets the set of permissions that are required for this action. Returning a null or empty set will result in nothing being allowed.- Specified by:
getPermissions
in classPermissionAction
- See Also:
-