public class ProtocolNoteAndAttachmentAction extends ProtocolAction
PROTOCOL_ACTIONS_HOOK, PROTOCOL_CUSTOM_DATA_HOOK, PROTOCOL_MEDUSA, PROTOCOL_NAME_HOOK, PROTOCOL_NOTE_ATTACHMENT_HOOK, PROTOCOL_ONLINE_REVIEW_HOOK, PROTOCOL_PERMISSIONS_HOOK, PROTOCOL_PERSONNEL_HOOK, PROTOCOL_QUESTIONNAIRE_HOOK, PROTOCOL_SPECIAL_REVIEW_HOOKDOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
ProtocolNoteAndAttachmentAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
addAttachmentProtocol(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method called when adding an attachment protocol.
|
org.apache.struts.action.ActionForward |
addNote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Methods called when adding/editing/deleting notes.
|
org.apache.struts.action.ActionForward |
confirmDeleteAttachmentProtocol(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method called when confirming the deletion an attachment protocol.
|
org.apache.struts.action.ActionForward |
deleteAttachmentPersonnel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method called when deleting an attachment personnel.
|
org.apache.struts.action.ActionForward |
deleteAttachmentProtocol(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method called when deleting an attachment protocol.
|
org.apache.struts.action.ActionForward |
deleteNote(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 |
deleteNoteConfirmed(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 |
editNote(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)
prepares the view.
|
protected org.kuali.rice.kns.service.DictionaryValidationService |
getDictionaryValidationService() |
protected static String |
getValidHeaderString(String s)
Quotes a string that follows RFC 822 and is valid to include in an http header.
|
void |
postSave(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
attachmentPersonnels is updated thru 'protocol'.
|
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 will execute logic related to capturing new attachments, versioning, etc.
|
org.apache.struts.action.ActionForward |
updateAttachmentFilter(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method called when updating the attachment filter
|
org.apache.struts.action.ActionForward |
viewAttachmentProtocol(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method called when viewing an attachment protocol.
|
createNewModifyProtocolTaskInstanceHook, customData, docHandler, getCustomDataForwardNameHook, getNoteAndAttachmentForwardNameHook, getPersonnelForwardNameHook, getProtocolActionsForwardNameHook, getProtocolActionsMappingNameHoook, getProtocolForwardNameHook, getProtocolInitialSaveNotificationContextHook, getProtocolNotificationEditorHook, getProtocolNotificationHook, getProtocolOnlineReviewForwardNameHook, getProtocolOnlineReviewMappingNameHoook, getProtocolOnlineReviewService, getProtocolPermissionsForwardNameHook, getProtocolPersonnelService, getProtocolPersonTrainingService, getQuestionnaireForwardNameHook, getQuestionnairePrintingService, getSpecialReviewForwardNameHook, getSubmissionBean, initialDocumentSaveAddRolesHook, medusa, printSubmissionQuestionnaireAnswer, sendNotificationapplyRules, applyRules, branchToPanelOrNotificationEditor, buildForwardUrl, getKraAuthorizationService, getKualiRuleService, getNotificationService, getSubmitActionType, getUnitAclLoadService, getUnitRulesMessages, initialDocumentSave, isInitialSave, noteAndAttachment, onlineReview, permissions, personnel, printQuestionnaireAnswer, processMultipleLookupResults, protocol, protocolActions, questionnaire, recall, refresh, save, saveOnClose, specialReview, updateAnswerToNewVersionbuildActionUrl, buildParameterizedConfirmationQuestion, close, confirm, createSuccessfulSubmitRedirect, dispatchMethod, generatePessimisticLockMessage, headerTab, isAuthorized, loadDocument, performQuestionWithoutInput, populateAuthorizationFields, postDocumentSave, preDocumentSave, processAuthorizationViolation, releaseLocks, reload, reloadWithoutWarning, returnToSender, route, routeToHoldingPage, routeToHoldingPage, sendAdHocRequests, setupPessimisticLockMessages, 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, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hasPendingAdhocForCompletion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, insertBONote, isFormRepresentingLockObject, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, 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 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 ProtocolActionBaseExceptionpublic 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
preSave in class ProtocolActionBasemapping - the Action Mappingform - the Action Formrequest - the Http Requestresponse - Http ResponseException - if bad happenspublic org.apache.struts.action.ActionForward addAttachmentProtocol(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 form.request - the request.response - the response.Exception - if there is a problem executing the request.public org.apache.struts.action.ActionForward viewAttachmentProtocol(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 form.request - the request.response - the response.Exception - if there is a problem executing the request.public org.apache.struts.action.ActionForward deleteAttachmentProtocol(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 form.request - the request.response - the response.Exception - if there is a problem executing the request.protected org.kuali.rice.kns.service.DictionaryValidationService getDictionaryValidationService()
public org.apache.struts.action.ActionForward confirmDeleteAttachmentProtocol(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 form.request - the request.response - the response.Exception - if there is a problem executing the request.public org.apache.struts.action.ActionForward deleteAttachmentPersonnel(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 form.request - the request.response - the response.Exception - if there is a problem executing the request.protected static String getValidHeaderString(String s)
This really should be a part of WebUtils.
For example: without this method, file names with spaces will not show up to the client correctly.
This method is not doing a Base64 encode just a quoted printable character otherwise we would have to set the encoding type on the header.
s - the original stringpublic org.apache.struts.action.ActionForward addNote(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 form.request - the request.response - the response.Exception - if there is a problem executing the request.public org.apache.struts.action.ActionForward editNote(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 deleteNote(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 deleteNoteConfirmed(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 void postSave(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
postSave in class ProtocolActionBasemapping - the Action Mappingform - the Action Formrequest - the Http Requestresponse - Http ResponseException - if bad happensProtocolActionBase.postSave(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public org.apache.struts.action.ActionForward updateAttachmentFilter(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 form.request - the request.response - the response.Exception - if there is a problem executing the request.Copyright © 2013 The Kuali Foundation. All Rights Reserved.