| org.kuali.module.pdp.action.BaseAction
All known Subclasses: org.kuali.module.pdp.action.paymentdetail.EpicPaymentDetailAction, org.kuali.module.pdp.action.ChannelAction, org.kuali.module.pdp.action.disbursementnumbermaintenance.DisbursementNumberMaintenanceAction, org.kuali.module.pdp.action.format.FormatPrepareAction, org.kuali.module.pdp.action.paymentdetail.PaymentDetailAction, org.kuali.module.pdp.action.bank.BankAction, org.kuali.module.pdp.action.format.FormatAction, org.kuali.module.pdp.action.paymentsearch.BatchSearchAction, org.kuali.module.pdp.action.paymentmaintenance.PaymentMaintenanceAction, org.kuali.module.pdp.action.format.FormatSelectionAction, org.kuali.module.pdp.action.SessionTestAction, org.kuali.module.pdp.action.upload.ManualUploadFileAction, org.kuali.module.pdp.action.paymentmaintenance.BatchMaintenanceAction, org.kuali.module.pdp.action.paymentdetail.PaymentDetailListAction, org.kuali.module.pdp.action.disbursementnumbermaintenance.DisbursementNumberMaintenanceSaveAction, org.kuali.module.pdp.action.format.FormatSummaryAction, org.kuali.module.pdp.action.paymentdetail.EpicPaymentDetailListAction, org.kuali.module.pdp.action.paymentsearch.PaymentSearchAction, org.kuali.module.pdp.action.upload.ManualUploadAction, org.kuali.module.pdp.action.customerprofile.CustomerProfileSaveAction, org.kuali.module.pdp.action.customerprofile.CustomerProfileAction, org.kuali.module.pdp.action.format.FormatResetAction, org.kuali.module.pdp.action.bank.BankSaveAction,
BaseAction | abstract public class BaseAction extends Action (Code) | | This Action will do most request processing for the PDP part of appliation. Your action should override the proper methods to do
it's work. This idea and most of the concepts were stolen from the Scafold base action mentioned in Struts in Action. The bugs
are probably entirely mine. This should be refactored out of the application to make full use of the Kuali Request Processor.
|
Method Summary | |
protected ActionForward | catchException(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, Exception exception) Process the exception handling for this Action. | protected ActionForward | doAuthentication(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) This method does authentication. | public ActionForward | execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Struts execute method. | abstract protected ActionForward | executeLogic(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Execute the business logic for this Action. | protected Timestamp | getDisbursementActionExpirationDate(HttpServletRequest request) | protected Timestamp | getLastGoodDisbursementActionDate() | protected String | getNetworkId(HttpServletRequest request) This method returns the network id of the user accessing this action. | protected SecurityRecord | getSecurityRecord(HttpServletRequest request) Get the security record for the user that is logged in. | protected PdpUser | getUser(HttpServletRequest request) Get the user object for the user that is logged in. | protected boolean | isAuthorized(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) This group authorization. | protected void | postProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Optional extension point for post-processing. | protected ActionForward | preProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Optional extension point for pre-processing. | public void | setKualiConfigurationService(KualiConfigurationService kcs) | public void | setSecurityService(PdpSecurityService ss) | public void | setUniversalUserService(UniversalUserService us) | public void | setWebAuthenticationService(WebAuthenticationService was) | public String | whichButtonWasPressed(HttpServletRequest request) |
BaseAction | public BaseAction()(Code) | | |
catchException | protected ActionForward catchException(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, Exception exception)(Code) | | Process the exception handling for this Action. Default method just returns a standard system error page.
Parameters: mapping - The ActionMapping used to select this instance Parameters: actionForm - The optional ActionForm bean for this request Parameters: request - The HTTP request we are processing Parameters: response - The response we are creating |
doAuthentication | protected ActionForward doAuthentication(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)(Code) | | This method does authentication. Override if you want to do a different authentication or none.
Parameters: mapping - Parameters: form - Parameters: request - Parameters: response - |
execute | public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Struts execute method. Don't override this unless you want to completely replace the functionality of base action.
|
executeLogic | abstract protected ActionForward executeLogic(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Execute the business logic for this Action.
Parameters: mapping - The ActionMapping used to select this instance Parameters: form - The optional ActionForm bean for this request Parameters: request - The HTTP request we are processing Parameters: response - The resonse we are creating |
getDisbursementActionExpirationDate | protected Timestamp getDisbursementActionExpirationDate(HttpServletRequest request)(Code) | | Get the disbursement action expiration date where a disbursement date before this date is not allowed to be cancelled or
cancelled and reissued
Parameters: request - The last disbursement date that is allowed for cancel |
getLastGoodDisbursementActionDate | protected Timestamp getLastGoodDisbursementActionDate()(Code) | | |
getNetworkId | protected String getNetworkId(HttpServletRequest request)(Code) | | This method returns the network id of the user accessing this action.
Parameters: request - |
getSecurityRecord | protected SecurityRecord getSecurityRecord(HttpServletRequest request)(Code) | | Get the security record for the user that is logged in. This only works after doAuthentication() is run.
Parameters: request - The security record object |
getUser | protected PdpUser getUser(HttpServletRequest request)(Code) | | Get the user object for the user that is logged in. This only works after doAuthentication() has run for the first request
from a user.
Parameters: request - The user object |
isAuthorized | protected boolean isAuthorized(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)(Code) | | This group authorization. Override to change the authorization type.
Parameters: mapping - Parameters: form - Parameters: request - Parameters: response - throws: SharedException - |
postProcess | protected void postProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)(Code) | | Optional extension point for post-processing. Default method does nothing. This is called from a finally{} clause, and so is
guaranteed to be called after executeLogic() or catchException().
Parameters: mapping - The ActionMapping used to select this instance Parameters: actionForm - The optional ActionForm bean for this request Parameters: request - The HTTP request we are processing Parameters: response - The resonse we are creating |
preProcess | protected ActionForward preProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)(Code) | | Optional extension point for pre-processing. Default method does nothing.
Parameters: mapping - The ActionMapping used to select this instance Parameters: actionForm - The optional ActionForm bean for this request Parameters: request - The HTTP request we are processing Parameters: response - The resonse we are creating |
setKualiConfigurationService | public void setKualiConfigurationService(KualiConfigurationService kcs)(Code) | | Have the application settings service set for us
Parameters: ass - |
setSecurityService | public void setSecurityService(PdpSecurityService ss)(Code) | | Have the security service set for us
Parameters: ss - |
setUniversalUserService | public void setUniversalUserService(UniversalUserService us)(Code) | | Have the user service set for us
Parameters: us - |
setWebAuthenticationService | public void setWebAuthenticationService(WebAuthenticationService was)(Code) | | Have the web authentication service set for us
Parameters: was - |
|
|