|
||||||||||
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.sys.web.struts.KualiAccountingDocumentActionBase
org.kuali.kfs.module.ar.document.web.struts.CustomerInvoiceDocumentAction
public class CustomerInvoiceDocumentAction
Field Summary |
---|
Fields inherited from class org.kuali.kfs.sys.web.struts.KualiAccountingDocumentActionBase |
---|
LOG, UPDATE_EVENT_ACTIONS |
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 | |
---|---|
CustomerInvoiceDocumentAction()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
copy(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method that will take the current document, copy it, replace all references to doc header id with a new one, clear pending entries, clear notes, and reset version numbers |
protected void |
createDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
Called when customer invoice document is initiated. |
protected void |
deleteAccountingLine(boolean isSource,
KualiAccountingDocumentFormBase financialDocumentForm,
int deleteIndex)
Overrides method to delete accounting line. |
org.apache.struts.action.ActionForward |
discountSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is used for inserting a discount line based on a selected source line. |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overriding to make it easier to distinguish discount lines and lines that are associated to discounts |
protected String |
getUrlForPrintInvoice(String basePath,
String docId,
String methodToCall)
Creates a URL to be used in printing the customer invoice document. |
org.apache.struts.action.ActionForward |
insertSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Removed salesTax checking. |
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
All document-load operations get routed through here |
protected org.apache.struts.action.ActionForward |
performInvoiceWithDiscountsCheck(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
CustomerInvoiceDocument customerInvoiceDocument)
This method checks if the user wants to copy a document that contains a discount line. |
org.apache.struts.action.ActionForward |
print(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method... |
org.apache.struts.action.ActionForward |
printInvoicePDF(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method... |
org.apache.struts.action.ActionForward |
recalculateSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is the action for recalculating the amount added line assuming that the unit price or quantity has changed |
org.apache.struts.action.ActionForward |
refresh(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Needed to override this to keep from losing Sales Tax information |
org.apache.struts.action.ActionForward |
refreshBillToAddress(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method refresh the ShipToAddress CustomerAddress object |
org.apache.struts.action.ActionForward |
refreshNewSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is the action for refreshing the added source line (or customer invoice detail) based off a provided invoice item code. |
org.apache.struts.action.ActionForward |
refreshShipToAddress(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method refresh the ShipToAddress CustomerAddress object |
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 |
---|
populateAuthorizationFields |
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase |
---|
acknowledge, attemptLockRelease, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, convertSetToMap, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, doProcessingAfterPost, downloadBOAttachment, 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, refreshAdHocRoutingWorkgroupLookups, releaseLocks, reload, returnToSender, selectedAttachmentIndex, sendAdHocRequests, sendNoteWorkflowNotification, setupDocumentExit, setupPessimisticLockMessages, showAllTabs, streamToResponse, supervisorFunctions |
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, 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, execute, 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 |
Constructor Detail |
---|
public CustomerInvoiceDocumentAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
execute
in class KualiAccountingDocumentActionBase
Exception
KualiAccountingDocumentActionBase.execute(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 KualiAccountingDocumentActionBase
org.kuali.rice.kew.exception.WorkflowException
KualiDocumentActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
public org.apache.struts.action.ActionForward copy(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
copy
in class KualiAccountingDocumentActionBase
mapping
- form
- request
- response
-
Exception
KualiTransactionalDocumentActionBase.copy(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected org.apache.struts.action.ActionForward performInvoiceWithDiscountsCheck(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CustomerInvoiceDocument customerInvoiceDocument) throws Exception
mapping
- form
- request
- response
- customerInvoiceDocument
-
Exception
public org.apache.struts.action.ActionForward refreshNewSourceLine(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 recalculateSourceLine(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 discountSourceLine(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 insertSourceLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
insertSourceLine
in class KualiAccountingDocumentActionBase
Exception
KualiAccountingDocumentActionBase.insertSourceLine(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void deleteAccountingLine(boolean isSource, KualiAccountingDocumentFormBase financialDocumentForm, int deleteIndex)
deleteAccountingLine
in class KualiAccountingDocumentActionBase
isSource
- financialDocumentForm
- deleteIndex
- public org.apache.struts.action.ActionForward refresh(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAccountingDocumentActionBase
refresh
in class KualiAccountingDocumentActionBase
Exception
KualiAction.refresh(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward refreshBillToAddress(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 refreshShipToAddress(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 print(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 printInvoicePDF(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
protected String getUrlForPrintInvoice(String basePath, String docId, String methodToCall)
basePath
- String: The base path of the current URLdocId
- String: The document ID of the document to be printedmethodToCall
- String: The name of the method that will be invoked to do this particular print
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |