|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.kuali.rice.kns.web.struts.action.KualiAction
org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase
org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentActionBase
org.kuali.kfs.module.ar.document.web.struts.PaymentApplicationDocumentAction
public class PaymentApplicationDocumentAction
Field Summary | |
---|---|
protected org.kuali.rice.kns.service.BusinessObjectService |
businessObjectService
|
protected CustomerInvoiceDetailService |
customerInvoiceDetailService
|
protected CustomerInvoiceDocumentService |
customerInvoiceDocumentService
|
protected org.kuali.rice.kns.service.DocumentService |
documentService
|
protected static org.apache.log4j.Logger |
LOG
|
protected NonAppliedHoldingService |
nonAppliedHoldingService
|
protected PaymentApplicationDocumentService |
paymentApplicationDocumentService
|
protected org.kuali.rice.kns.workflow.service.WorkflowDocumentService |
workflowDocumentService
|
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase |
---|
DOCUMENT_LOAD_COMMANDS |
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiAction |
---|
FORM_ACTION, FORWARD_NEXT, FORWARD_TEXT_AREA_UPDATE, METHOD_TO_CALL, POST_TEXT_AREA_TO_PARENT, TEXT_AREA_FIELD_ANCHOR, TEXT_AREA_FIELD_LABEL, TEXT_AREA_FIELD_NAME, TEXT_AREA_MAX_LENGTH, TEXT_AREA_READ_ONLY |
Fields inherited from class org.apache.struts.actions.DispatchAction |
---|
clazz, log, messages, methods, types |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
PaymentApplicationDocumentAction()
Constructs a PaymentApplicationDocumentAction.java. |
Method Summary | |
---|---|
protected void |
addFieldError(String errorPathToAdd,
String propertyName,
String errorKey)
Get an error to display in the UI for a certain field. |
protected void |
addGlobalError(String errorKey)
Get an error to display at the global level, for the whole document. |
org.apache.struts.action.ActionForward |
applyAllAmounts(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected NonInvoiced |
applyNonInvoiced(PaymentApplicationDocumentForm payAppForm)
|
protected List<InvoicePaidApplied> |
applyToIndividualCustomerInvoiceDetails(PaymentApplicationDocumentForm paymentApplicationDocumentForm)
|
protected NonAppliedHolding |
applyUnapplied(PaymentApplicationDocumentForm payAppForm)
|
org.apache.struts.action.ActionForward |
cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Cancel the document. |
protected void |
createDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
|
org.apache.struts.action.ActionForward |
deleteNonArLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doApplicationOfFunds(PaymentApplicationDocumentForm paymentApplicationDocumentForm)
|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
|
protected InvoicePaidApplied |
generateAndValidateNewPaidApplied(PaymentApplicationInvoiceDetailApply detailApplication,
String fieldName,
org.kuali.rice.kns.util.KualiDecimal totalFromControl)
Create an InvoicePaidApplied for a CustomerInvoiceDetail and validate it. |
org.apache.struts.action.ActionForward |
goToInvoice(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method updates the customer invoice details when a new invoice is selected |
org.apache.struts.action.ActionForward |
goToNextInvoice(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method updates customer invoice details when next invoice is selected |
org.apache.struts.action.ActionForward |
goToPreviousInvoice(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method updates customer invoice details when previous invoice is selected |
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
|
org.apache.struts.action.ActionForward |
loadInvoices(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Retrieve all invoices for the selected customer. |
protected void |
loadInvoices(PaymentApplicationDocumentForm payAppForm,
String selectedInvoiceNumber)
This method loads the invoices for currently selected customer |
protected List<InvoicePaidApplied> |
quickApplyToInvoices(PaymentApplicationDocumentForm paymentApplicationDocumentForm,
List<InvoicePaidApplied> appliedToIndividualDetails)
|
org.apache.struts.action.ActionForward |
route(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This is overridden in order to recalculate the invoice totals before doing the submit. |
org.apache.struts.action.ActionForward |
save(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentActionBase |
---|
correct |
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase |
---|
copy, populateAuthorizationFields |
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase |
---|
acknowledge, approve, attemptLockRelease, blanketApprove, buildAuthorizationException, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, convertSetToMap, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, doProcessingAfterPost, downloadBOAttachment, execute, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getIdentityManagementService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, insertBONote, isFormRepresentingLockObject, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, refresh, refreshAdHocRoutingWorkgroupLookups, releaseLocks, reload, returnToSender, selectedAttachmentIndex, sendAdHocRequests, sendNoteWorkflowNotification, setupDocumentExit, setupPessimisticLockMessages, showAllTabs, streamToResponse, supervisorFunctions, toggleTab |
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction |
---|
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, findMethodToCall, getApplicationBaseUrl, getBasePath, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, updateTextArea, validateLookupInquiryFullParameter |
Methods inherited from class org.apache.struts.actions.DispatchAction |
---|
cancelled, getMethod, getMethodName, getParameter, unspecified |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService
protected org.kuali.rice.kns.service.DocumentService documentService
protected org.kuali.rice.kns.workflow.service.WorkflowDocumentService workflowDocumentService
protected PaymentApplicationDocumentService paymentApplicationDocumentService
protected CustomerInvoiceDocumentService customerInvoiceDocumentService
protected CustomerInvoiceDetailService customerInvoiceDetailService
protected NonAppliedHoldingService nonAppliedHoldingService
Constructor Detail |
---|
public PaymentApplicationDocumentAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward save(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
save
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws Exception
execute
in class org.apache.struts.action.Action
Exception
public org.apache.struts.action.ActionForward route(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
route
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiDocumentActionBase.route(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward deleteNonArLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
protected InvoicePaidApplied generateAndValidateNewPaidApplied(PaymentApplicationInvoiceDetailApply detailApplication, String fieldName, org.kuali.rice.kns.util.KualiDecimal totalFromControl)
customerInvoiceDetail
- paymentApplicationDocument
- amount
- fieldName
-
org.kuali.rice.kew.exception.WorkflowException
public org.apache.struts.action.ActionForward applyAllAmounts(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
protected void doApplicationOfFunds(PaymentApplicationDocumentForm paymentApplicationDocumentForm) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
protected List<InvoicePaidApplied> applyToIndividualCustomerInvoiceDetails(PaymentApplicationDocumentForm paymentApplicationDocumentForm)
protected List<InvoicePaidApplied> quickApplyToInvoices(PaymentApplicationDocumentForm paymentApplicationDocumentForm, List<InvoicePaidApplied> appliedToIndividualDetails)
protected NonInvoiced applyNonInvoiced(PaymentApplicationDocumentForm payAppForm) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
protected NonAppliedHolding applyUnapplied(PaymentApplicationDocumentForm payAppForm) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
protected void loadInvoices(PaymentApplicationDocumentForm payAppForm, String selectedInvoiceNumber)
applicationDocumentForm
- public org.apache.struts.action.ActionForward goToInvoice(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
-
Exception
public org.apache.struts.action.ActionForward goToNextInvoice(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
-
Exception
public org.apache.struts.action.ActionForward goToPreviousInvoice(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
-
Exception
public org.apache.struts.action.ActionForward loadInvoices(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping
- form
- request
- response
-
Exception
public org.apache.struts.action.ActionForward cancel(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
cancel
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiDocumentActionBase.cancel(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void createDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.exception.WorkflowException
createDocument
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
org.kuali.rice.kew.exception.WorkflowException
KualiDocumentActionBase.createDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
protected void loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.exception.WorkflowException
loadDocument
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
org.kuali.rice.kew.exception.WorkflowException
KualiDocumentActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
protected void addFieldError(String errorPathToAdd, String propertyName, String errorKey)
propertyName
- errorKey
- protected void addGlobalError(String errorKey)
errorKey
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |