public class ReceivingBaseAction extends FinancialSystemTransactionalDocumentActionBase
MODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIX
DOCUMENT_LOAD_COMMANDS
Constructor and Description |
---|
ReceivingBaseAction() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.struts.action.ActionForward |
askQuestionWithInput(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String questionType,
String notePrefix,
String operation,
String messageKey,
ReceivingQuestionCallback callback)
A wrapper method which prompts for a reason to hold a payment request or credit memo.
|
protected org.apache.struts.action.ActionForward |
askQuestionWithInput(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String questionType,
String notePrefix,
String operation,
String messageKey,
TreeMap<String,ReceivingQuestionCallback> questionsAndCallbacks,
String messagePrefix,
org.apache.struts.action.ActionForward redirect)
Builds and asks questions which require text input by the user for a payment request or a credit memo.
|
protected String |
getQuestionProperty(String messageKey,
String messagePrefix,
org.kuali.rice.core.api.config.property.ConfigurationService kualiConfiguration,
String question)
Used to look up messages to be displayed, from the ConfigurationService, given either a whole key or two parts of a key
that may be concatenated together.
|
correct, execute, isDocumentLocked
copy, populateAuthorizationFields
acknowledge, approve, attemptLockRelease, blanketApprove, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, complete, convertSetToMap, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, doProcessingAfterPost, downloadBOAttachment, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getGroupService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hasPendingAdhocForCompletion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, insertBONote, isFormRepresentingLockObject, loadDocument, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, recall, refresh, refreshAdHocRoutingWorkgroupLookups, releaseLocks, reload, returnToSender, route, save, selectedAttachmentIndex, sendAdHocRequests, sendNoteWorkflowNotification, setupDocumentExit, setupPessimisticLockMessages, showAllTabs, streamToResponse, superUserApprove, superUserDisapprove, supervisorFunctions, takeSuperUserActions, toggleTab
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, findMethodToCall, getApplicationBaseUrl, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, isModuleLocked, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, updateTextArea, validateLookupInquiryFullParameter
cancelled, getMethod, getMethodName, getParameter, unspecified
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public ReceivingBaseAction()
protected org.apache.struts.action.ActionForward askQuestionWithInput(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String questionType, String notePrefix, String operation, String messageKey, ReceivingQuestionCallback callback) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponsequestionType
- A String used to distinguish which question is being askednotePrefix
- A String explaining what action was taken, to be prepended to the note containing the reason, which gets
written to the documentoperation
- A one-word String description of the action to be taken, to be substituted into the message. (Can be an
empty String for some messages.)messageKey
- A key to the message which will appear on the question screencallback
- A PurQuestionCallbackException
protected org.apache.struts.action.ActionForward askQuestionWithInput(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String questionType, String notePrefix, String operation, String messageKey, TreeMap<String,ReceivingQuestionCallback> questionsAndCallbacks, String messagePrefix, org.apache.struts.action.ActionForward redirect) throws Exception
mapping
- An ActionMappingform
- An ActionFormrequest
- The HttpServletRequestresponse
- The HttpServletResponsequestionType
- A String used to distinguish which question is being askednotePrefix
- A String explaining what action was taken, to be prepended to the note containing the reason, which gets
written to the documentoperation
- A one-word String description of the action to be taken, to be substituted into the message. (Can be an
empty String for some messages.)messageKey
- A (whole) key to the message which will appear on the question screenquestionsAndCallbacks
- A TreeMap associating the type of question to be asked and the type of callback which should
happen in that casemessagePrefix
- The most general part of a key to a message text to be retrieved from ConfigurationService,
Describes a collection of questions.redirect
- An ActionForward to return to if done with questionsException
protected String getQuestionProperty(String messageKey, String messagePrefix, org.kuali.rice.core.api.config.property.ConfigurationService kualiConfiguration, String question)
messageKey
- String. One of the message keys in PurapKeyConstants.messagePrefix
- String. A prefix to the question key, such as "ap.question." that, concatenated with the question,
comprises the whole key of the message.kualiConfiguration
- An instance of ConfigurationServicequestion
- String. The most specific part of the message key in PurapKeyConstants.Copyright © 2004–2016 The Kuali Foundation. All rights reserved.