|
||||||||||
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
public class KualiAccountingDocumentActionBase
This class handles UI actions for all shared methods of financial documents.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
LOG
|
protected static Set |
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 | |
---|---|
KualiAccountingDocumentActionBase()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
addCapitalAssetInfo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
add the capital asset information |
protected void |
addCapitalAssetInfoDetailLines(CapitalAssetInformation capitalAssetInformation)
add detail lines into the given capital asset information |
protected void |
applyCapitalAssetInformation(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
|
org.apache.struts.action.ActionForward |
approve(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
blanketApprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected boolean |
checkSalesTax(AccountingDocument document,
AccountingLine line,
boolean source,
boolean newLine,
int index)
Encapsulate the rule check so we can call it from multiple places |
protected boolean |
checkSalesTaxRequiredAllLines(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase,
List<AccountingLine> baselineAcctingLines)
|
protected void |
checkUploadFile(org.apache.struts.upload.FormFile file)
|
org.apache.struts.action.ActionForward |
clearCapitalAssetInfo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
clear up the capital asset information |
protected void |
clearOverridesThatBecameUnneeded(AccountingLine formLine)
Automatically clears any overrides that have become unneeded. |
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)
Overridden to guarantee that form of copied document is set to whatever the entry mode of the document is |
protected List |
deepCopyAccountingLinesList(List originals)
TODO: remove this method once baseline accounting lines has been removed |
protected void |
deleteAccountingLine(boolean isSource,
KualiAccountingDocumentFormBase financialDocumentForm,
int deleteIndex)
Deletes the source or target accountingLine with the given index from the given form. |
org.apache.struts.action.ActionForward |
deleteCapitalAssetInfoDetailLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
delete a detail line from the capital asset information |
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 |
deleteTargetLine(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 TargetAccountingLine from a FinancialDocument. |
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)
Adds check for accountingLine updates, generates and dispatches any events caused by such updates |
protected CapitalAssetInformation |
getCurrentCapitalAssetInformationObject(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
get the capital asset information object currently associated with the document |
protected int |
getMaxItemLineNumber(CapitalAssetInformation capitalAssetInformation)
Get the maximum item line number from DB. |
protected Integer |
getNextItemLineNumberAndIncremented(CapitalAssetInformation capitalAssetInformation)
Get next available item line number. |
protected String |
getObjectTypeCodeFromLine(AccountingLine line)
A hook so that most accounting lines - which don't have object types - can have their object type codes used in balance inquiries |
protected 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. |
protected TargetAccountingLine |
getTargetAccountingLine(org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request)
|
protected void |
handleSalesTaxRequired(AccountingDocument transDoc,
AccountingLine formLine,
boolean source,
boolean newLine,
int index)
This method checks to see if the given accounting needs sales tax and if it does it sets the salesTaxRequired variable on the line If it doesn't and it has it then it removes the sales tax information from the line This method is called from the execute() on all accounting lines that have been edited or lines that have already been added to the document, not on new lines |
protected void |
handleSalesTaxRequiredAllLines(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase,
List<AccountingLine> baselineAcctingLines)
This method is called from the createDocument and processes through all the accouting lines and checks to see if they need sales tax fields |
protected boolean |
hasSalesTaxBeenEntered(AccountingLine accountingLine,
boolean source,
boolean newLine,
int index)
|
org.apache.struts.action.ActionForward |
hideDetails(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 triggered when the user toggles the show/hide button to "hide" thus making the UI render without any of the accounting line labels/descriptions showing up underneath the values in the UI. |
protected void |
insertAccountingLine(boolean isSource,
KualiAccountingDocumentFormBase financialDocumentForm,
AccountingLine line)
Adds the given accountingLine to the appropriate form-related datastructures. |
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. |
org.apache.struts.action.ActionForward |
insertTargetLine(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 add a TargetAccountingLine to a FinancialDocument. |
protected boolean |
isSalesTaxRequired(AccountingDocument financialDocument,
AccountingLine accountingLine)
This method checks to see if this doctype needs sales tax If it does then it checks to see if the account and object code require sales tax If it does then it returns true. |
protected boolean |
isValidSalesTaxEntered(AccountingLine accountingLine,
boolean source,
boolean newLine,
int index)
This method checks to see if the sales tax information was put into the accounting line |
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 |
performBalanceInquiryForAccountingLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
AccountingLine line)
This method handles preparing all of the accounting line data so that it can be pushed up to the balance inquiries for populating the search criteria of each. |
org.apache.struts.action.ActionForward |
performBalanceInquiryForSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Takes care of storing the action form in the User session and forwarding to the balance inquiry report menu action for a source accounting line. |
org.apache.struts.action.ActionForward |
performBalanceInquiryForTargetLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Takes care of storing the action form in the User session and forwarding to the balance inquiry report menu action for a target accounting line. |
org.apache.struts.action.ActionForward |
performLookup(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
populateSalesTax(AccountingLine line)
This method populates the sales tax for a given accounting line with the appropriate primary key fields from the accounting line since OJB won't do it automatically for us |
protected void |
processAccountingLineOverrides(AccountingLine line)
|
protected void |
processAccountingLineOverrides(KualiAccountingDocumentFormBase transForm)
|
protected void |
processAccountingLineOverrides(List accountingLines)
|
protected void |
processAccountingLines(AccountingDocument transDoc,
KualiAccountingDocumentFormBase transForm,
String lineSet)
|
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 |
protected void |
refreshSalesTaxInfo(org.apache.struts.action.ActionForm form)
This method refreshes the sales tax fields on a refresh or tab toggle so that all the information that was there before is still there after a state change |
protected void |
removeSalesTax(AccountingLine accountingLine)
This method removes the sales tax information from a line that no longer requires it |
protected void |
resetCapitalAssetInfo(CapitalAssetInformation capitalAssetInformation)
reset the nonkey fields of the given capital asset information |
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)
|
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)
|
org.apache.struts.action.ActionForward |
showDetails(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This action changes the value of the hide field in the user interface so that when the page is rendered, the UI knows to show all of the labels for each of the accounting line values. |
org.apache.struts.action.ActionForward |
toggleTab(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 |
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. |
org.apache.struts.action.ActionForward |
uploadSourceLines(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 a call to upload CSV accounting line values as SourceAccountingLines for a given transactional document. |
org.apache.struts.action.ActionForward |
uploadTargetLines(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 a call to upload CSV accounting line values as TargetAccountingLines for a given transactional document. |
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, 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 |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
protected static final Set UPDATE_EVENT_ACTIONS
Constructor Detail |
---|
public KualiAccountingDocumentActionBase()
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 org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
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)
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
refresh
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
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 toggleTab(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
toggleTab
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiAction.toggleTab(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void processAccountingLineOverrides(KualiAccountingDocumentFormBase transForm)
transForm
- protected void processAccountingLineOverrides(AccountingLine line)
line
- protected void processAccountingLineOverrides(List accountingLines)
accountingLines
- protected void processAccountingLines(AccountingDocument transDoc, KualiAccountingDocumentFormBase transForm, String lineSet)
transDoc
- transForm
- lineSet
- protected void clearOverridesThatBecameUnneeded(AccountingLine formLine)
formLine
- public org.apache.struts.action.ActionForward deleteTargetLine(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 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
mapping
- form
- request
- response
-
Exception
protected void deleteAccountingLine(boolean isSource, KualiAccountingDocumentFormBase financialDocumentForm, int deleteIndex)
isSource
- financialDocumentForm
- deleteIndex
- public org.apache.struts.action.ActionForward uploadTargetLines(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 uploadSourceLines(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws FileNotFoundException, IOException
mapping
- form
- request
- response
-
FileNotFoundException
IOException
protected void uploadAccountingLines(boolean isSource, org.apache.struts.action.ActionForm form) throws FileNotFoundException, IOException
isSource
- form
-
FileNotFoundException
IOException
protected void checkUploadFile(org.apache.struts.upload.FormFile file)
public org.apache.struts.action.ActionForward insertTargetLine(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
mapping
- form
- request
- response
-
Exception
protected void insertAccountingLine(boolean isSource, KualiAccountingDocumentFormBase financialDocumentForm, AccountingLine line)
isSource
- financialDocumentForm
- line
- protected List deepCopyAccountingLinesList(List originals)
public org.apache.struts.action.ActionForward showDetails(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 hideDetails(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 performBalanceInquiryForSourceLine(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 performBalanceInquiryForTargetLine(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 SourceAccountingLine getSourceAccountingLine(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request)
form
- request
- isSource
-
protected TargetAccountingLine getTargetAccountingLine(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request)
protected org.apache.struts.action.ActionForward performBalanceInquiryForAccountingLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, AccountingLine line)
mapping
- form
- request
- line
-
protected String getObjectTypeCodeFromLine(AccountingLine line)
line
- the line to get the object type code from
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 approve(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
approve
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
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
public org.apache.struts.action.ActionForward blanketApprove(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
blanketApprove
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
protected boolean checkSalesTax(AccountingDocument document, AccountingLine line, boolean source, boolean newLine, int index)
document
- line
-
protected boolean isSalesTaxRequired(AccountingDocument financialDocument, AccountingLine accountingLine)
accountingLine
-
protected boolean isValidSalesTaxEntered(AccountingLine accountingLine, boolean source, boolean newLine, int index)
accountingLine
-
protected void removeSalesTax(AccountingLine accountingLine)
accountingLine
- protected void handleSalesTaxRequired(AccountingDocument transDoc, AccountingLine formLine, boolean source, boolean newLine, int index)
transDoc
- formLine
- baseLine
- protected boolean hasSalesTaxBeenEntered(AccountingLine accountingLine, boolean source, boolean newLine, int index)
protected void handleSalesTaxRequiredAllLines(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase, List<AccountingLine> baselineAcctingLines)
kualiDocumentFormBase
- baselineSourceLines
- protected boolean checkSalesTaxRequiredAllLines(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase, List<AccountingLine> baselineAcctingLines)
protected void refreshSalesTaxInfo(org.apache.struts.action.ActionForm form)
form
- protected void populateSalesTax(AccountingLine line)
line
- public org.apache.struts.action.ActionForward performLookup(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
performLookup
in class org.kuali.rice.kns.web.struts.action.KualiAction
Exception
public org.apache.struts.action.ActionForward clearCapitalAssetInfo(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
public org.apache.struts.action.ActionForward addCapitalAssetInfo(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
public org.apache.struts.action.ActionForward deleteCapitalAssetInfoDetailLine(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 CapitalAssetInformation getCurrentCapitalAssetInformationObject(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
protected void addCapitalAssetInfoDetailLines(CapitalAssetInformation capitalAssetInformation)
capitalAssetInformation
- the given capital asset informationprotected Integer getNextItemLineNumberAndIncremented(CapitalAssetInformation capitalAssetInformation)
capitalAssetInformation
-
protected int getMaxItemLineNumber(CapitalAssetInformation capitalAssetInformation)
capitalAssetInformation
-
protected void resetCapitalAssetInfo(CapitalAssetInformation capitalAssetInformation)
capitalAssetInformation
- the given capital asset informationprotected void applyCapitalAssetInformation(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
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 org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase
Exception
KualiTransactionalDocumentActionBase.copy(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 |