|
||||||||||
| 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.fp.document.web.struts.DisbursementVoucherAction
public class DisbursementVoucherAction
This class handles Actions for the DisbursementVoucher.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
LOG
|
| Fields inherited from class org.kuali.kfs.sys.web.struts.KualiAccountingDocumentActionBase |
|---|
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 | |
|---|---|
DisbursementVoucherAction()
|
|
| Method Summary | |
|---|---|
org.apache.struts.action.ActionForward |
addNonEmployeeExpenseLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds a new employee travel expense line. |
protected void |
addPaymentCodeWarningMessage(DisbursementVoucherForm dvForm,
String paymentReasonCode)
add warning message based on the given reason code |
org.apache.struts.action.ActionForward |
addPreConfRegistrantLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds a new pre conference registrant line. |
org.apache.struts.action.ActionForward |
addPrePaidNonEmployeeExpenseLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds a new employee pre paid travel expense line. |
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 |
calculateTravelMileageAmount(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calculates the travel mileage amount. |
org.apache.struts.action.ActionForward |
calculateTravelPerDiem(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calculates the travel per diem amount. |
org.apache.struts.action.ActionForward |
clearNonResidentAlienTaxLines(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls service to clear tax accounting lines and updates nra tax line string in action form. |
org.apache.struts.action.ActionForward |
clearTravelMileageAmount(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Clears the travel mileage amount |
protected void |
clearTravelMileageAmount(DisbursementVoucherNonEmployeeTravel dvNet)
reset the travel mileage amount as null |
org.apache.struts.action.ActionForward |
clearTravelPerDiem(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Clears the travel per diem amount |
protected void |
clearTravelPerDiem(DisbursementVoucherNonEmployeeTravel dvNet)
clear travel perdiem amounts |
protected void |
createDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
Do initialization for a new disbursement voucher |
org.apache.struts.action.ActionForward |
deleteNonEmployeeExpenseLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deletes a non employee travel expense line. |
org.apache.struts.action.ActionForward |
deletePreConfRegistrantLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deletes a pre conference registrant line. |
org.apache.struts.action.ActionForward |
deletePrePaidEmployeeExpenseLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deletes a pre paid travel expense 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)
Adds check for accountingLine updates, generates and dispatches any events caused by such updates |
org.apache.struts.action.ActionForward |
generateNonResidentAlienTaxLines(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls service to generate tax accounting lines and updates nra tax line string in action form. |
protected boolean |
hasFullEdit(DisbursementVoucherDocument document)
Determines if the current user has full edit permissions on the document, which would allow them to repopulate the payee |
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)
Hook into performLookup to switch the payee lookup based on the payee type selected. |
org.apache.struts.action.ActionForward |
printDisbursementVoucherCoverSheet(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls service to generate the disbursement voucher cover sheet as a pdf. |
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 org.apache.struts.action.ActionForward |
refreshAfterPayeeSelection(org.apache.struts.action.ActionMapping mapping,
DisbursementVoucherForm dvForm,
javax.servlet.http.HttpServletRequest request)
|
protected org.apache.struts.action.ActionForward |
renderVendorAddressSelection(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request,
DisbursementVoucherForm dvForm)
render the vendor address lookup results if there are multiple addresses for the selected vendor |
protected String |
retrieveWireChargeMessage()
Builds the wire charge message for the current fiscal year. |
protected void |
setupPayeeAsEmployee(DisbursementVoucherForm dvForm,
String payeeIdNumber)
setup the payee as an employee with the given id number |
protected void |
setupPayeeAsVendor(DisbursementVoucherForm dvForm,
String payeeIdNumber,
String payeeAddressIdentifier)
setup the payee as a vendor with the given id number and address id |
| 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 |
| Field Detail |
|---|
protected static org.apache.log4j.Logger LOG
| Constructor Detail |
|---|
public DisbursementVoucherAction()
| 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
KualiAccountingDocumentActionBase
execute in class KualiAccountingDocumentActionBaseExceptionKualiAccountingDocumentActionBase.execute(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
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 KualiAccountingDocumentActionBaseExceptionKualiDocumentActionBase.approve(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.KualiDocumentActionBaseorg.kuali.rice.kew.exception.WorkflowExceptionKualiDocumentActionBase.createDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
public org.apache.struts.action.ActionForward printDisbursementVoucherCoverSheet(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 calculateTravelPerDiem(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 clearTravelPerDiem(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionprotected void clearTravelPerDiem(DisbursementVoucherNonEmployeeTravel dvNet)
public org.apache.struts.action.ActionForward calculateTravelMileageAmount(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 clearTravelMileageAmount(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionprotected void clearTravelMileageAmount(DisbursementVoucherNonEmployeeTravel dvNet)
public org.apache.struts.action.ActionForward addNonEmployeeExpenseLine(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 addPrePaidNonEmployeeExpenseLine(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 deleteNonEmployeeExpenseLine(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 deletePrePaidEmployeeExpenseLine(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 addPreConfRegistrantLine(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 deletePreConfRegistrantLine(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 generateNonResidentAlienTaxLines(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 clearNonResidentAlienTaxLines(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionprotected String retrieveWireChargeMessage()
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 KualiAccountingDocumentActionBaseExceptionKualiAction.refresh(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected org.apache.struts.action.ActionForward refreshAfterPayeeSelection(org.apache.struts.action.ActionMapping mapping,
DisbursementVoucherForm dvForm,
javax.servlet.http.HttpServletRequest request)
protected boolean hasFullEdit(DisbursementVoucherDocument document)
document - the document to check for full edit permissions on
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 KualiAccountingDocumentActionBaseException
protected org.apache.struts.action.ActionForward renderVendorAddressSelection(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request,
DisbursementVoucherForm dvForm)
protected void setupPayeeAsEmployee(DisbursementVoucherForm dvForm,
String payeeIdNumber)
protected void setupPayeeAsVendor(DisbursementVoucherForm dvForm,
String payeeIdNumber,
String payeeAddressIdentifier)
protected void addPaymentCodeWarningMessage(DisbursementVoucherForm dvForm,
String paymentReasonCode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||