Module com.aoindustries.web.struts
Class MakePaymentSelectCardAction
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.MakePaymentSelectCardAction
Gets the list of accounts or redirects to next step if only one account accessible.
- Author:
- AO Industries, Inc.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ActionForward
executePermissionDenied
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn, List<Permission> permissions) When permission denied, redirect straight to the new card step.final ActionForward
executePermissionGranted
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn) Called when permission has been granted.Gets the set of permissions that are required for this action.Methods inherited from class com.aoindustries.web.struts.PermissionAction
execute
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
-
MakePaymentSelectCardAction
public MakePaymentSelectCardAction()
-
-
Method Details
-
executePermissionDenied
public final ActionForward executePermissionDenied(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn, List<Permission> permissions) throws Exception When permission denied, redirect straight to the new card step.- Overrides:
executePermissionDenied
in classPermissionAction
- Throws:
Exception
-
executePermissionGranted
public final 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
-
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:
-