|
||||||||||
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.purap.document.web.struts.PurchasingAccountsPayableActionBase
public class PurchasingAccountsPayableActionBase
Struts Action for Purchasing and Accounts Payable documents
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 | |
---|---|
PurchasingAccountsPayableActionBase()
|
Method Summary | ||
---|---|---|
org.apache.struts.action.ActionForward |
calculate(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform calculation on item line. |
|
org.apache.struts.action.ActionForward |
clearAllTaxes(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
|
protected SourceAccountingLine |
customAccountRetrieval(int accountIndex,
PurchasingAccountsPayableFormBase purchasingAccountsPayableForm)
Perform custom processing on accounting lines. |
|
protected void |
customCalculate(PurchasingAccountsPayableDocument purapDoc)
|
|
org.apache.struts.action.ActionForward |
deleteSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method will remove a SourceAccountingLine from a FinancialDocument. |
|
org.apache.struts.action.ActionForward |
downloadBOAttachment(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
|
protected String[] |
getSelectedLineForAccounts(javax.servlet.http.HttpServletRequest request)
Will return an array of Strings containing 2 indexes, the first String is the item index and the second String is the account index. |
|
SourceAccountingLine |
getSourceAccountingLine(org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request)
This method is a helper method that will return a source accounting line. |
|
org.apache.struts.action.ActionForward |
hideAllAccounts(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Toggles all specific tabs to closed |
|
protected void |
insertAccountingLine(KualiAccountingDocumentFormBase financialDocumentForm,
PurApItem item,
PurApAccountingLine line)
Insert the given Accounting Line in several appropriate places in the given item and given form. |
|
protected void |
insertAccountingLine(PurchasingAccountsPayableFormBase financialDocumentForm,
PurApItem item,
PurApAccountingLine line)
Insert the given Accounting Line in several appropriate places in the given item and given form. |
|
org.apache.struts.action.ActionForward |
insertBONote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override to verify the document has been saved before the note is inserted. |
|
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)
This action executes an insert of a SourceAccountingLine into a document only after validating the accounting line and checking any appropriate business rules. |
|
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
All document-load operations get routed through here |
|
protected void |
processAccountingLineOverrides(List accountingLines)
|
|
boolean |
processCustomInsertAccountingLine(PurchasingAccountsPayableFormBase purapForm,
javax.servlet.http.HttpServletRequest request)
Allows the custom processing of an accounting line during a call to insert source line. |
|
org.apache.struts.action.ActionForward |
refreshAccountSummary(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invokes a service method to refresh the account summary. |
|
org.apache.struts.action.ActionForward |
showAllAccounts(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Toggles all specific tabs to open |
|
protected
|
updateBaseline(T document,
V form)
Updates the baseline accounts on form and doc. |
|
protected void |
uploadAccountingLines(boolean isSource,
org.apache.struts.action.ActionForm form)
This method determines whether we are uploading source or target lines, and then calls uploadAccountingLines directly on the document 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, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, doProcessingAfterPost, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getIdentityManagementService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, 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 PurchasingAccountsPayableActionBase()
Method Detail |
---|
protected void loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.exception.WorkflowException
KualiAccountingDocumentActionBase
loadDocument
in class KualiAccountingDocumentActionBase
org.kuali.rice.kew.exception.WorkflowException
KualiDocumentActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
protected <T extends PurchasingAccountsPayableDocument,V extends KualiAccountingDocumentFormBase> void updateBaseline(T document, V form)
document
- A descendant of PurchasingAccountsPayableDocumentpublic org.apache.struts.action.ActionForward refreshAccountSummary(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
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponse
Exception
protected void uploadAccountingLines(boolean isSource, org.apache.struts.action.ActionForm form) throws FileNotFoundException, IOException
KualiAccountingDocumentActionBase
uploadAccountingLines
in class KualiAccountingDocumentActionBase
FileNotFoundException
IOException
KualiAccountingDocumentActionBase.uploadAccountingLines(boolean,org.apache.struts.action.ActionForm)
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
KualiAccountingDocumentActionBase
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 insertAccountingLine(PurchasingAccountsPayableFormBase financialDocumentForm, PurApItem item, PurApAccountingLine line)
financialDocumentForm
- A form that inherits from PurchasingAccountsPaybleFormBaseitem
- A PurApItemline
- A PurApAccountingLinepublic boolean processCustomInsertAccountingLine(PurchasingAccountsPayableFormBase purapForm, javax.servlet.http.HttpServletRequest request)
purapForm
- request
-
protected void insertAccountingLine(KualiAccountingDocumentFormBase financialDocumentForm, PurApItem item, PurApAccountingLine line)
financialDocumentForm
- A form that inherits from KualiAccountingDocumentFormBaseitem
- A PurApItemline
- A PurApAccountingLinepublic org.apache.struts.action.ActionForward deleteSourceLine(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
deleteSourceLine
in class KualiAccountingDocumentActionBase
Exception
KualiAccountingDocumentActionBase.deleteSourceLine(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public SourceAccountingLine getSourceAccountingLine(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request)
KualiAccountingDocumentActionBase
getSourceAccountingLine
in class KualiAccountingDocumentActionBase
KualiAccountingDocumentActionBase.getSourceAccountingLine(org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest)
protected SourceAccountingLine customAccountRetrieval(int accountIndex, PurchasingAccountsPayableFormBase purchasingAccountsPayableForm)
getSelectedLineForAccounts
.
accountIndex
- The index of the account into the request parameterpurchasingAccountsPayableForm
- A form which inherits from PurchasingAccountsPayableFormBase
protected String[] getSelectedLineForAccounts(javax.servlet.http.HttpServletRequest request)
request
- The HttpServletRequest
public org.apache.struts.action.ActionForward downloadBOAttachment(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
downloadBOAttachment
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiDocumentActionBase.downloadBOAttachment(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void processAccountingLineOverrides(List accountingLines)
processAccountingLineOverrides
in class KualiAccountingDocumentActionBase
public org.apache.struts.action.ActionForward calculate(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
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponse
Exception
public org.apache.struts.action.ActionForward clearAllTaxes(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 customCalculate(PurchasingAccountsPayableDocument purapDoc)
public org.apache.struts.action.ActionForward showAllAccounts(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 hideAllAccounts(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 insertBONote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
insertBONote
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiDocumentActionBase.insertBONote(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |