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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ActionForwardexecutePermissionDenied(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn, List<Permission> permissions) When permission denied, redirect straight to the new card step.final ActionForwardexecutePermissionGranted(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
executeMethods inherited from class com.aoindustries.web.struts.AuthenticatedAction
execute, getAoConn, getAuthenticatedAoConnMethods inherited from class com.aoindustries.web.struts.PageAction
executeMethods 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:
executePermissionDeniedin classPermissionAction- Throws:
Exception
-
executePermissionGranted
public final ActionForward executePermissionGranted(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn) throws Exception Description copied from class:PermissionActionCalled when permission has been granted. By default, returns mapping for "success".- Overrides:
executePermissionGrantedin classPermissionAction- Throws:
Exception
-
getPermissions
Description copied from class:PermissionActionGets the set of permissions that are required for this action. Returning a null or empty set will result in nothing being allowed.- Specified by:
getPermissionsin classPermissionAction- See Also:
-
