|
||||||||||
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.ld.document.web.struts.ExpenseTransferDocumentActionBase
public class ExpenseTransferDocumentActionBase
Base Struts Action class for Benefit Expense Transfer Document.
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 | |
---|---|
ExpenseTransferDocumentActionBase()
|
Method Summary | |
---|---|
protected void |
buildAccountingLineFromLedgerBalance(LedgerBalance ledgerBalance,
ExpenseTransferAccountingLine line,
org.kuali.rice.kns.util.KualiDecimal amount,
String periodCode)
Translates data into an
|
protected void |
clearOverridesThatBecameUnneeded(AccountingLine formLine)
Clear all overrides that are not needed. |
org.apache.struts.action.ActionForward |
copyAccountingLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Copy a single accounting line |
protected void |
copyAccountingLine(ExpenseTransferAccountingLine source,
ExpenseTransferAccountingLine target)
Copies content from one accounting line to the other. |
org.apache.struts.action.ActionForward |
copyAllAccountingLines(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method copies all accounting lines from financial document form if they pass validation rules |
org.apache.struts.action.ActionForward |
deleteAllSourceAccountingLines(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Delete all source accounting lines |
org.apache.struts.action.ActionForward |
deleteAllTargetAccountingLines(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Delete all target accounting lines |
protected String |
getLookupResultsBOClassName(ExpenseTransferDocumentFormBase expenseTransferDocumentForm)
Get the BO class name of the set of lookup results |
protected SegmentedLookupResultsService |
getSegmentedLookupResultsService()
|
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
Overload the method in order to have balance importing section be populated with the last search criteria |
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 |
performBalanceInquiryLookup(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 lookup action. |
protected void |
processAccountingLineOverrides(List accountingLines)
Processes accounting line overrides for output to JSP |
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)
Populates the lines of the ST or BT document from a balance lookup. |
protected void |
resetLookupFields(ExpenseTransferDocumentFormBase expenseTransferDocumentForm,
LedgerBalance balance)
Reset the lookup fields in the given expense transfer form with the given ledger balance |
protected boolean |
runRule(org.kuali.rice.kns.rule.event.KualiDocumentEventBase event)
Executes for the given event. |
protected void |
updateAccountOverrideCode(ExpenseTransferAccountingLine line)
For given accounting line, set the corresponding override code |
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
Constructor Detail |
---|
public ExpenseTransferDocumentActionBase()
Method Detail |
---|
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
KualiAccountingDocumentActionBase
performBalanceInquiryForSourceLine
in class KualiAccountingDocumentActionBase
Exception
KualiAccountingDocumentActionBase.performBalanceInquiryForSourceLine(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
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
KualiAccountingDocumentActionBase
performBalanceInquiryForTargetLine
in class KualiAccountingDocumentActionBase
Exception
KualiAccountingDocumentActionBase.performBalanceInquiryForTargetLine(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward performBalanceInquiryLookup(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 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 KualiAccountingDocumentActionBase
Exception
KualiDocumentActionBase.refresh(ActionMapping, ActionForm, HttpServletRequest,
HttpServletResponse)
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
KualiAccountingDocumentActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
public org.apache.struts.action.ActionForward copyAllAccountingLines(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 deleteAllSourceAccountingLines(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 deleteAllTargetAccountingLines(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 copyAccountingLine(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
org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase#copyAccountingLine(ActionMapping, ActionForm,
HttpServletRequest, HttpServletResponse)
protected void resetLookupFields(ExpenseTransferDocumentFormBase expenseTransferDocumentForm, LedgerBalance balance)
expenseTransferDocumentForm
- the given expense transfer formthe
- given ledger balanceprotected void copyAccountingLine(ExpenseTransferAccountingLine source, ExpenseTransferAccountingLine target)
source
- line to copy fromtarget
- new line to copy data toprotected void buildAccountingLineFromLedgerBalance(LedgerBalance ledgerBalance, ExpenseTransferAccountingLine line, org.kuali.rice.kns.util.KualiDecimal amount, String periodCode)
LedgerBalance
data into an ExpenseTransferAccountingLine
bo
- LedgerBalance
instanceline
- ExpenseTransferAccountingLine
to copy data toprotected void processAccountingLineOverrides(List accountingLines)
processAccountingLineOverrides
in class KualiAccountingDocumentActionBase
KualiAccountingDocumentActionBase.processAccountingLineOverrides(java.util.List)
protected void clearOverridesThatBecameUnneeded(AccountingLine formLine)
clearOverridesThatBecameUnneeded
in class KualiAccountingDocumentActionBase
KualiAccountingDocumentActionBase.clearOverridesThatBecameUnneeded(org.kuali.kfs.sys.businessobject.AccountingLine)
protected void updateAccountOverrideCode(ExpenseTransferAccountingLine line)
line
- accounting lineprotected boolean runRule(org.kuali.rice.kns.rule.event.KualiDocumentEventBase event)
event
- to run the rules for
protected String getLookupResultsBOClassName(ExpenseTransferDocumentFormBase expenseTransferDocumentForm)
expenseTransferDocumentForm
- the Struts form for expense transfer document
protected SegmentedLookupResultsService getSegmentedLookupResultsService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |