public class BudgetActionBase extends KraTransactionalDocumentActionBase
| Modifier and Type | Field and Description |
|---|---|
protected static String |
COPY_BUDGET_PERIOD_QUESTION |
protected static String |
QUESTION_TEXT |
protected static String |
QUESTION_TYPE |
DOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
BudgetActionBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyBudget(BudgetParentDocument budgetParentDocument,
BudgetVersionOverview budgetToCopy,
boolean copyPeriodOneOnly)
Copy the given budget version and add it to the given proposal.
|
protected BudgetCommonService<BudgetParent> |
getBudgetCommonService(BudgetParentDocument parentBudgetDocument)
This method gets the BudgetCommonService
|
protected Integer |
getFinalBudgetVersion(List<BudgetDocumentVersion> budgetVersions)
This method looks at the list of budgetVersions for the final version, then returns the version number.
|
protected org.kuali.rice.krad.service.PessimisticLockService |
getPessimisticLockService() |
protected void |
populateTabState(org.kuali.rice.kns.web.struts.form.KualiForm form,
String tabTitle) |
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)
Provide hooks for subclasses to perform additional tasks related to saving
the document.
|
protected void |
setBudgetParentStatus(BudgetParentDocument parentDocument)
This method sets the proposal budget status to the status of the final budget version.
|
protected void |
setBudgetStatuses(BudgetParentDocument proposalDevelopmentDocument)
This method sets the budget status of the 'final' budget version (if it exists) to the proposal budget status
as indicated in the proposal development document.
|
protected void |
setFinalBudgetVersion(Integer finalBudgetVersion,
List<BudgetVersionOverview> budgetVersions)
This method looks for the version corresponding to finalBudgetVersion in the list, then marks that version as final.
|
protected void |
setupPessimisticLockMessages(org.kuali.rice.krad.document.Document document,
javax.servlet.http.HttpServletRequest request) |
buildActionUrl, buildForwardUrl, buildParameterizedConfirmationQuestion, close, confirm, createSuccessfulSubmitRedirect, dispatchMethod, docHandler, execute, generatePessimisticLockMessage, getValidHeaderString, headerTab, initialDocumentSave, isAuthorized, loadDocument, performQuestionWithoutInput, populateAuthorizationFields, postDocumentSave, preDocumentSave, processAuthorizationViolation, recall, releaseLocks, reload, reloadWithoutWarning, returnToSender, route, routeToHoldingPage, routeToHoldingPage, saveOnClose, sendAdHocRequests, streamToResponsecopyacknowledge, approve, attemptLockRelease, blanketApprove, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, combineAdHocRecipients, complete, convertSetToMap, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, doProcessingAfterPost, downloadBOAttachment, exitingDocument, fyi, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getGroupService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getQuestion, hasPendingAdhocForCompletion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, insertBONote, isFormRepresentingLockObject, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, refresh, refreshAdHocRoutingWorkgroupLookups, selectedAttachmentIndex, sendNoteWorkflowNotification, setupDocumentExit, showAllTabs, streamToResponse, superUserApprove, superUserDisapprove, supervisorFunctions, takeSuperUserActions, toggleTabaddMethodToCallToUncheckedList, defaultDispatch, findMethodToCall, getApplicationBaseUrl, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, isModuleLocked, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, updateTextArea, validateLookupInquiryFullParametercancelled, getMethod, getMethodName, getParameter, unspecifiedaddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletprotected static final String COPY_BUDGET_PERIOD_QUESTION
protected static final String QUESTION_TYPE
protected static final String QUESTION_TEXT
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
KraTransactionalDocumentActionBasesave in class KraTransactionalDocumentActionBaseExceptionorg.kuali.core.web.struts.action.KualiDocumentActionBase#save(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected void setFinalBudgetVersion(Integer finalBudgetVersion, List<BudgetVersionOverview> budgetVersions)
finalBudgetVersion - budgetVersions - protected Integer getFinalBudgetVersion(List<BudgetDocumentVersion> budgetVersions)
budgetVersions - protected void setBudgetParentStatus(BudgetParentDocument parentDocument)
parentDocument - protected void setBudgetStatuses(BudgetParentDocument proposalDevelopmentDocument)
proposalDevelopmentDocument - protected void copyBudget(BudgetParentDocument budgetParentDocument, BudgetVersionOverview budgetToCopy, boolean copyPeriodOneOnly) throws org.kuali.rice.kew.api.exception.WorkflowException
budgetParentDocument - budgetToCopy - copyPeriodOneOnly - if only the first budget period is to be copiedorg.kuali.rice.kew.api.exception.WorkflowExceptionprotected BudgetCommonService<BudgetParent> getBudgetCommonService(BudgetParentDocument parentBudgetDocument)
parentBudgetDocument - protected void populateTabState(org.kuali.rice.kns.web.struts.form.KualiForm form,
String tabTitle)
protected org.kuali.rice.krad.service.PessimisticLockService getPessimisticLockService()
getPessimisticLockService in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBaseprotected void setupPessimisticLockMessages(org.kuali.rice.krad.document.Document document,
javax.servlet.http.HttpServletRequest request)
setupPessimisticLockMessages in class KraTransactionalDocumentActionBaseCopyright © 2013 The Kuali Foundation. All Rights Reserved.