public class ProposalDevelopmentAction extends BudgetParentActionBase
| Modifier and Type | Class and Description |
|---|---|
class |
ProposalDevelopmentAction.LabelComparator
Sorts custom data attributes by label for alphabetical order on custom data panels.
|
COPY_BUDGET_PERIOD_QUESTION, QUESTION_TEXT, QUESTION_TYPEDOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
ProposalDevelopmentAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
abstractsAttachments(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 |
actions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean |
applyRules(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
Use the Kuali Rule Service to apply the rules for the given event.
|
org.apache.struts.action.ActionForward |
approverView(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Action called to forward to approverView tab.
|
org.apache.struts.action.ActionForward |
auditMode(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method processes an auditMode action request
|
org.apache.struts.action.ActionForward |
budgetVersions(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 |
close(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Close the document and take the user back to the index (portal page);
only after asking the user if they want to save the document first.
|
List<String> |
constructColumnsToAlterLookupMTCs(String proposalNumber)
This method produces a list of strings containg the methodToCall to be registered for each of the
ProposalColumnsToAlter lookup buttons that can be rendered on the Proposal Data Override tab.
|
org.apache.struts.action.ActionForward |
customData(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 |
docHandler(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 |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected String |
getActionName()
Get the name of the action.
|
protected String |
getFormProperty(javax.servlet.http.HttpServletRequest request,
String methodToCall) |
protected ProposalHierarcyActionHelper |
getHierarchyHelper() |
protected KeyPersonnelService |
getKeyPersonnelService()
Grabs the
|
protected KcNotificationService |
getNotificationService() |
protected PersonEditableService |
getPersonEditableService() |
org.apache.struts.action.ActionForward |
getProposalComment(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
method for setting the proposal Summary key person comment Details.
|
protected ProposalDevelopmentDocument |
getProposalDoc(String pdDocumentNumber) |
org.apache.struts.action.ActionForward |
getProposalPersonCertification(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
method for setting the proposal Summary person certification Details.
|
S2SBudgetCalculatorService |
getS2SBudgetCalculatorService() |
protected SponsorService |
getSponsorService() |
protected List<String> |
getUnitRulesMessages(ProposalDevelopmentDocument pdDoc) |
org.apache.struts.action.ActionForward |
grantsGov(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 |
headerTab(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overriding headerTab to customize how clearing tab state works on PDForm.
|
org.apache.struts.action.ActionForward |
hierarchy(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
initialDocumentSave(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase form)
Any processing that must occur only once after the document has been
initially saved is done here.
|
protected void |
initializeProposalUsers(ProposalDevelopmentDocument doc)
Create the original set of Proposal Users for a new Proposal Development Document.
|
org.apache.struts.action.ActionForward |
keyPersonnel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Action called to forward to a new KeyPersonnel tab.
|
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
For committee document, Bos will be populated from xml content
|
protected void |
loadDocument(ProposalDevelopmentDocument document)
Called to load all necessary elements in the proposal development document
|
protected void |
loadDocumentInForm(javax.servlet.http.HttpServletRequest request,
ProposalDevelopmentForm proposalDevelopmentForm) |
org.apache.struts.action.ActionForward |
medusa(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method gets called upon navigation to Medusa tab.
|
org.apache.struts.action.ActionForward |
nullOp(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do nothing.
|
org.apache.struts.action.ActionForward |
permissions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
preSave(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method allows logic to be executed before a save, after authorization is confirmed.
|
org.apache.struts.action.ActionForward |
printForms(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 called to print forms
|
org.apache.struts.action.ActionForward |
proposal(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 |
questions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method gets called upon navigation to Questionnaire tab.
|
org.apache.struts.action.ActionForward |
recall(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)
Provide hooks for subclasses to perform additional tasks related to saving
the document.
|
protected org.apache.struts.action.ActionForward |
saveOnClose(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Subclass can override this method in order to perform
any operations when the document is saved on a close action.
|
void |
setNotificationService(KcNotificationService notificationService) |
void |
setS2SBudgetCalculatorService(S2SBudgetCalculatorService s2sBudgetCalculatorService) |
org.apache.struts.action.ActionForward |
specialReview(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
streamToResponse(AttachmentDataSource attachmentDataSource,
javax.servlet.http.HttpServletResponse response)
Handy method to stream the byte array to response object
|
protected void |
updateNIHDescriptions(ProposalDevelopmentDocument document)
Updates portions of the proposal that are not persisted and are based on whether the
sponsor is NIH or not
|
protected void |
updateProposalDocument(ProposalDevelopmentForm pdForm)
This method attempts to deal with the multiple pessimistic locks that can be on the proposal development document
Proposal, Narratives, and Budget must all be treated separately and therefore the other portions of the document,
outside of the one currently being saved, must be updated from the database to make sure the sessions do not stomp
changes already persisted by another session.
|
copyBudget, getFinalBudgetVersion, populateTabState, setBudgetParentStatus, setBudgetStatuses, setFinalBudgetVersionbuildActionUrl, buildForwardUrl, buildParameterizedConfirmationQuestion, confirm, createSuccessfulSubmitRedirect, dispatchMethod, generatePessimisticLockMessage, getValidHeaderString, isAuthorized, performQuestionWithoutInput, populateAuthorizationFields, postDocumentSave, preDocumentSave, processAuthorizationViolation, releaseLocks, reload, reloadWithoutWarning, returnToSender, route, routeToHoldingPage, routeToHoldingPage, sendAdHocRequests, setupPessimisticLockMessagescopyacknowledge, 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, getPessimisticLockService, 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, setServletpublic org.apache.struts.action.ActionForward docHandler(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
docHandler in class KraTransactionalDocumentActionBaseExceptionKualiDocumentActionBase.docHandler(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected ProposalHierarcyActionHelper getHierarchyHelper()
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 KraTransactionalDocumentActionBaseExceptionprotected List<String> getUnitRulesMessages(ProposalDevelopmentDocument pdDoc)
public org.apache.struts.action.ActionForward nullOp(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 - Exceptionprotected void loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
throws org.kuali.rice.kew.api.exception.WorkflowException
KraTransactionalDocumentActionBaseloadDocument in class KraTransactionalDocumentActionBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionKualiDocumentActionBase.loadDocument(KualiDocumentFormBase)protected void loadDocument(ProposalDevelopmentDocument document)
document - protected SponsorService getSponsorService()
protected void updateNIHDescriptions(ProposalDevelopmentDocument document)
document - 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 org.apache.struts.action.ActionForward saveOnClose(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
KraTransactionalDocumentActionBasesaveOnClose in class KraTransactionalDocumentActionBaseExceptionKraTransactionalDocumentActionBase.saveOnClose(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public org.apache.struts.action.ActionForward close(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
KraTransactionalDocumentActionBaseclose in class KraTransactionalDocumentActionBaseExceptionprotected void updateProposalDocument(ProposalDevelopmentForm pdForm) throws Exception
pdForm - Exceptionprotected ProposalDevelopmentDocument getProposalDoc(String pdDocumentNumber) throws Exception
Exceptionpublic org.apache.struts.action.ActionForward proposal(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward keyPersonnel(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 - Exceptionpublic org.apache.struts.action.ActionForward specialReview(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward permissions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward getProposalPersonCertification(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 - Exceptionpublic org.apache.struts.action.ActionForward getProposalComment(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 - Exceptionpublic org.apache.struts.action.ActionForward hierarchy(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward grantsGov(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward budgetVersions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward abstractsAttachments(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward customData(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward actions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward medusa(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 - Exceptionpublic org.apache.struts.action.ActionForward auditMode(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
mapping - ActionMappingform - ActionFormrequest - HttpServletRequestresponse - HttpServletResponseprotected KeyPersonnelService getKeyPersonnelService()
KeyPersonnelService from Spring!protected PersonEditableService getPersonEditableService()
protected void initialDocumentSave(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase form)
throws Exception
KraTransactionalDocumentActionBaseinitialDocumentSave in class KraTransactionalDocumentActionBaseform - the formExceptionKraTransactionalDocumentActionBase.initialDocumentSave(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)protected void initializeProposalUsers(ProposalDevelopmentDocument doc)
protected String getActionName()
protected void loadDocumentInForm(javax.servlet.http.HttpServletRequest request,
ProposalDevelopmentForm proposalDevelopmentForm)
throws org.kuali.rice.kew.api.exception.WorkflowException
org.kuali.rice.kew.api.exception.WorkflowExceptionpublic org.apache.struts.action.ActionForward headerTab(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
headerTab in class KraTransactionalDocumentActionBaseExceptionpublic org.apache.struts.action.ActionForward printForms(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 - Exceptionpublic List<String> constructColumnsToAlterLookupMTCs(String proposalNumber)
proposalNumber - The proposal number for which we are generating the list for.protected void streamToResponse(AttachmentDataSource attachmentDataSource, javax.servlet.http.HttpServletResponse response) throws Exception
streamToResponse in class KraTransactionalDocumentActionBaseattachmentDataSource - response - Exceptionpublic org.apache.struts.action.ActionForward questions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
mapping - the Action Mappingform - the Action Formrequest - the Http Requestresponse - Http Responsepublic org.apache.struts.action.ActionForward approverView(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 - Exceptionpublic org.apache.struts.action.ActionForward recall(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
recall in class KraTransactionalDocumentActionBaseExceptionKualiDocumentActionBase.recall(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public void preSave(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 - the Action Mappingform - the Action Formrequest - the Http Requestresponse - Http ResponseException - if bad happensprotected final boolean applyRules(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
event - the event to processprotected String getFormProperty(javax.servlet.http.HttpServletRequest request, String methodToCall)
protected KcNotificationService getNotificationService()
public void setNotificationService(KcNotificationService notificationService)
public S2SBudgetCalculatorService getS2SBudgetCalculatorService()
public void setS2SBudgetCalculatorService(S2SBudgetCalculatorService s2sBudgetCalculatorService)
s2sBudgetCalculatorService - Copyright © 2013 The Kuali Foundation. All Rights Reserved.