|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.apache.struts.actions.BaseAction org.apache.struts.actions.DispatchAction org.kuali.rice.kns.web.struts.action.KualiAction org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
public class KualiDocumentActionBase
This class handles all of the document handling related actions in terms of passing them from here at a central point to the distributed transactions that actually implement document handling.
Field Summary | |
---|---|
private AttachmentService |
attachmentService
|
private BusinessObjectAuthorizationService |
businessObjectAuthorizationService
|
private BusinessObjectMetaDataService |
businessObjectMetaDataService
|
private BusinessObjectService |
businessObjectService
|
private DataDictionaryService |
dataDictionaryService
|
protected static String[] |
DOCUMENT_LOAD_COMMANDS
|
private DocumentHelperService |
documentHelperService
|
private DocumentService |
documentService
|
private javax.persistence.EntityManagerFactory |
entityManagerFactory
|
private IdentityManagementService |
identityManagementService
|
private ConfigurationService |
kualiConfigurationService
|
private KualiRuleService |
kualiRuleService
|
private static org.apache.log4j.Logger |
LOG
|
private NoteService |
noteService
|
private ParameterService |
parameterService
|
private PessimisticLockService |
pessimisticLockService
|
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, methods, types |
Fields inherited from class org.apache.struts.actions.BaseAction |
---|
messages |
Fields inherited from class org.apache.struts.action.Action |
---|
servlet |
Constructor Summary | |
---|---|
KualiDocumentActionBase()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
acknowledge(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
call the document service to acknowledge |
org.apache.struts.action.ActionForward |
approve(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls the document service to approve the document |
protected void |
attemptLockRelease(Document document,
String methodToCall)
|
org.apache.struts.action.ActionForward |
blanketApprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls the document service to blanket approve the document |
protected DocumentAuthorizationException |
buildAuthorizationException(String action,
Document document)
Convenience method for building authorization exceptions |
org.apache.struts.action.ActionForward |
cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls the document service to cancel the document |
org.apache.struts.action.ActionForward |
cancelBOAttachment(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Cancels the pending attachment, if any. |
protected boolean |
canSave(org.apache.struts.action.ActionForm form)
|
protected org.apache.struts.action.ActionForward |
checkAndWarnAboutSensitiveData(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String fieldName,
String fieldValue,
String caller,
String context)
Checks if the given value matches patterns that indicate sensitive data and if configured to give a warning for sensitive data will prompt the user to continue |
protected void |
checkAuthorization(org.apache.struts.action.ActionForm form,
String methodToCall)
Override this method to provide action-level access controls to the application. |
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; only after asking the user if they want to save the document first. |
protected List<AdHocRouteRecipient> |
combineAdHocRecipients(KualiDocumentFormBase kualiDocumentFormBase)
Convenience method to combine the two lists of ad hoc recipients into one which should be done before calling any of the document service methods that expect a list of ad hoc recipients |
protected Map |
convertSetToMap(Set s)
|
protected void |
createDocument(KualiDocumentFormBase kualiDocumentFormBase)
This method creates a new document of the type specified by the docTypeName property of the given form. |
org.apache.struts.action.ActionForward |
delete(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 verify that the form is representing a PessimisticLock object and delete it if possible |
org.apache.struts.action.ActionForward |
deleteAdHocRoutePerson(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 delete one of the ad hoc persons from the list of ad hoc persons to route to based on the line number of the delete button that was clicked. |
org.apache.struts.action.ActionForward |
deleteAdHocRouteWorkgroup(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 delete one of the ad hoc workgroups from the list of ad hoc workgroups to route to based on the line number of the delete button that was clicked. |
org.apache.struts.action.ActionForward |
deleteBONote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
delete a note from the document |
protected String |
determineNoteWorkflowNotificationAction(javax.servlet.http.HttpServletRequest request,
KualiDocumentFormBase kualiDocumentFormBase,
Note note)
Override this to customize which routing action to take when sending a note. |
org.apache.struts.action.ActionForward |
disapprove(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls the document service to disapprove the document |
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)
This method may be used to funnel all document handling through, we could do useful things like log and record various openings and status Additionally it may be nice to have a single dispatcher that can know how to dispatch to a redirect url for document specific handling but we may not need that as all we should need is the document to be able to load itself based on document id and then which actionforward or redirect is pertinent for the document type. |
protected void |
doProcessingAfterPost(KualiForm form,
javax.servlet.http.HttpServletRequest request)
This method does all special processing on a document that should happen on each HTTP post (ie, save, route, approve, etc). |
org.apache.struts.action.ActionForward |
downloadBOAttachment(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Downloads the selected attachment to the user's browser |
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)
Entry point to all actions. |
protected boolean |
exitingDocument()
|
org.apache.struts.action.ActionForward |
fyi(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
call the document service to clear the fyis |
protected String |
generatePessimisticLockMessage(PessimisticLock lock)
|
protected AttachmentService |
getAttachmentService()
|
protected BusinessObjectAuthorizationService |
getBusinessObjectAuthorizationService()
|
BusinessObjectMetaDataService |
getBusinessObjectMetaDataService()
|
protected BusinessObjectService |
getBusinessObjectService()
|
protected DataDictionaryService |
getDataDictionaryService()
|
protected DocumentHelperService |
getDocumentHelperService()
|
protected DocumentService |
getDocumentService()
|
javax.persistence.EntityManagerFactory |
getEntityManagerFactory()
|
protected IdentityManagementService |
getIdentityManagementService()
|
protected ConfigurationService |
getKualiConfigurationService()
|
protected KualiRuleService |
getKualiRuleService()
|
protected NoteService |
getNoteService()
|
protected ParameterService |
getParameterService()
|
protected PessimisticLockService |
getPessimisticLockService()
|
protected Object |
getQuestion(javax.servlet.http.HttpServletRequest request)
|
org.apache.struts.action.ActionForward |
hideAllTabs(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Toggles all tabs to closed |
org.apache.struts.action.ActionForward |
insertAdHocRoutePerson(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 insert the new ad hoc person from the from into the list of ad hoc person recipients, put a new new record in place and return like normal. |
org.apache.struts.action.ActionForward |
insertAdHocRouteWorkgroup(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 insert the new ad hoc workgroup into the list of ad hoc workgroup recipients put a nuew record in place and then return like normal. |
org.apache.struts.action.ActionForward |
insertBONote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
insert a note into the document |
protected boolean |
isFormRepresentingLockObject(KualiDocumentFormBase form)
|
protected void |
loadDocument(KualiDocumentFormBase kualiDocumentFormBase)
This method loads the document by its provided document header id. |
private void |
logOjbOptimisticLockException(org.apache.ojb.broker.OptimisticLockException e)
Generates detailed log messages for OptimisticLockExceptions |
org.apache.struts.action.ActionForward |
performRouteReport(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
route the document using the document service |
protected void |
populateAdHocActionRequestCodes(KualiDocumentFormBase formBase)
|
protected void |
populateAuthorizationFields(KualiDocumentFormBase formBase)
|
org.apache.struts.action.ActionForward |
promptBeforeValidation(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Makes calls to the PromptBeforeValidation specified for the document. |
org.apache.struts.action.ActionForward |
promptBeforeValidation(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String methodToCall)
Makes calls to the PromptBeforeValidation specified for the document. |
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)
if the action desires to retain error messages generated by the rules framework for save/submit/etc. |
protected void |
refreshAdHocRoutingWorkgroupLookups(javax.servlet.http.HttpServletRequest request,
KualiDocumentFormBase kualiForm)
special refresh needed to get the workgroups populated correctly when coming back from workgroup lookups |
protected void |
releaseLocks(Document document,
String methodToCall)
|
org.apache.struts.action.ActionForward |
reload(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 reload the document. |
protected org.apache.struts.action.ActionForward |
returnToSender(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
KualiDocumentFormBase form)
If the given form has returnToActionList set to true, this method returns an ActionForward that should take the user back to their action list; otherwise, it returns them to the portal. |
org.apache.struts.action.ActionForward |
route(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
route the document using the document service |
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)
This method will save the document, which will then be available via the action list for the person who saved the document. |
protected int |
selectedAttachmentIndex(javax.servlet.http.HttpServletRequest request)
|
org.apache.struts.action.ActionForward |
sendAdHocRequests(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 |
sendNoteWorkflowNotification(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
setupDocumentExit()
|
protected void |
setupPessimisticLockMessages(Document document,
javax.servlet.http.HttpServletRequest request)
|
org.apache.struts.action.ActionForward |
showAllTabs(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Toggles all tabs to open |
protected void |
streamToResponse(byte[] fileContents,
String fileName,
String fileContentType,
javax.servlet.http.HttpServletResponse response)
Handy method to stream the byte array to response object |
org.apache.struts.action.ActionForward |
supervisorFunctions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
redirect to the supervisor functions that exist. |
org.apache.struts.action.ActionForward |
toggleTab(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Toggles the tab state in the ui |
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, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, 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 |
---|
private static final org.apache.log4j.Logger LOG
protected static final String[] DOCUMENT_LOAD_COMMANDS
private DataDictionaryService dataDictionaryService
private DocumentHelperService documentHelperService
private DocumentService documentService
private ConfigurationService kualiConfigurationService
private ParameterService parameterService
private PessimisticLockService pessimisticLockService
private KualiRuleService kualiRuleService
private IdentityManagementService identityManagementService
private AttachmentService attachmentService
private NoteService noteService
private BusinessObjectAuthorizationService businessObjectAuthorizationService
private BusinessObjectService businessObjectService
private BusinessObjectMetaDataService businessObjectMetaDataService
private javax.persistence.EntityManagerFactory entityManagerFactory
Constructor Detail |
---|
public KualiDocumentActionBase()
Method Detail |
---|
protected void checkAuthorization(org.apache.struts.action.ActionForm form, String methodToCall) throws AuthorizationException
KualiAction
checkAuthorization
in class KualiAction
AuthorizationException
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 KualiAction
Exception
Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected boolean isFormRepresentingLockObject(KualiDocumentFormBase form) throws Exception
Exception
protected void attemptLockRelease(Document document, String methodToCall)
protected void releaseLocks(Document document, String methodToCall)
protected void setupPessimisticLockMessages(Document document, javax.servlet.http.HttpServletRequest request)
protected String generatePessimisticLockMessage(PessimisticLock lock)
public 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
mapping
- form
- request
- response
-
Exception
protected void loadDocument(KualiDocumentFormBase kualiDocumentFormBase) throws WorkflowException
kualiDocumentFormBase
-
WorkflowException
protected void createDocument(KualiDocumentFormBase kualiDocumentFormBase) throws WorkflowException
kualiDocumentFormBase
-
WorkflowException
public org.apache.struts.action.ActionForward insertAdHocRoutePerson(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 deleteAdHocRoutePerson(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 insertAdHocRouteWorkgroup(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 deleteAdHocRouteWorkgroup(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 sendAdHocRequests(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
public org.apache.struts.action.ActionForward reload(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 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
mapping
- form
- request
- response
-
Exception
protected org.apache.struts.action.ActionForward checkAndWarnAboutSensitiveData(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String fieldName, String fieldValue, String caller, String context) throws Exception
mapping
- form
- request
- response
- fieldName
- - name of field with value being checkedfieldValue
- - value to check for sensitive datacaller
- - method that should be called back from questioncontext
- - additional context that needs to be passed back with the question response
Exception
public org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
PessimisticLock
object and delete it if possible
mapping
- form
- request
- response
-
Exception
public org.apache.struts.action.ActionForward performRouteReport(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 route(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 blanketApprove(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 approve(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 disapprove(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 cancel(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 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
mapping
- form
- request
- response
-
Exception
protected boolean canSave(org.apache.struts.action.ActionForm form)
protected Object getQuestion(javax.servlet.http.HttpServletRequest request)
public org.apache.struts.action.ActionForward fyi(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 acknowledge(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 supervisorFunctions(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
protected List<AdHocRouteRecipient> combineAdHocRecipients(KualiDocumentFormBase kualiDocumentFormBase)
kualiDocumentFormBase
-
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 KualiAction
Exception
KualiAction.refresh(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void refreshAdHocRoutingWorkgroupLookups(javax.servlet.http.HttpServletRequest request, KualiDocumentFormBase kualiForm) throws WorkflowException
request
- kualiForm
-
WorkflowException
public org.apache.struts.action.ActionForward cancelBOAttachment(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
protected void streamToResponse(byte[] fileContents, String fileName, String fileContentType, javax.servlet.http.HttpServletResponse response) throws Exception
fileContents
- fileName
- fileContentType
- response
-
Exception
public org.apache.struts.action.ActionForward downloadBOAttachment(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
protected int selectedAttachmentIndex(javax.servlet.http.HttpServletRequest request)
request
-
public org.apache.struts.action.ActionForward insertBONote(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 deleteBONote(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
protected String determineNoteWorkflowNotificationAction(javax.servlet.http.HttpServletRequest request, KualiDocumentFormBase kualiDocumentFormBase, Note note)
request
- note
-
KEWConstants
public org.apache.struts.action.ActionForward sendNoteWorkflowNotification(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
private final void logOjbOptimisticLockException(org.apache.ojb.broker.OptimisticLockException e)
e
- public org.apache.struts.action.ActionForward promptBeforeValidation(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 promptBeforeValidation(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String methodToCall) throws Exception
mapping
- form
- request
- response
- methodToCall
-
Exception
protected DocumentAuthorizationException buildAuthorizationException(String action, Document document)
action
- document
- protected boolean exitingDocument()
protected void setupDocumentExit()
protected org.apache.struts.action.ActionForward returnToSender(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, KualiDocumentFormBase form)
form
-
protected void populateAuthorizationFields(KualiDocumentFormBase formBase)
protected void populateAdHocActionRequestCodes(KualiDocumentFormBase formBase)
protected Map convertSetToMap(Set s)
protected DataDictionaryService getDataDictionaryService()
protected DocumentHelperService getDocumentHelperService()
protected DocumentService getDocumentService()
protected ConfigurationService getKualiConfigurationService()
protected ParameterService getParameterService()
protected PessimisticLockService getPessimisticLockService()
protected KualiRuleService getKualiRuleService()
protected IdentityManagementService getIdentityManagementService()
protected AttachmentService getAttachmentService()
protected NoteService getNoteService()
protected BusinessObjectService getBusinessObjectService()
protected BusinessObjectAuthorizationService getBusinessObjectAuthorizationService()
getBusinessObjectAuthorizationService
in class KualiAction
public BusinessObjectMetaDataService getBusinessObjectMetaDataService()
public javax.persistence.EntityManagerFactory getEntityManagerFactory()
public org.apache.struts.action.ActionForward hideAllTabs(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAction
hideAllTabs
in class KualiAction
Exception
KualiAction.hideAllTabs(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward showAllTabs(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAction
showAllTabs
in class KualiAction
Exception
KualiAction.showAllTabs(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward toggleTab(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAction
toggleTab
in class KualiAction
Exception
KualiAction.toggleTab(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void doProcessingAfterPost(KualiForm form, javax.servlet.http.HttpServletRequest request)
KualiAction
doProcessingAfterPost
in class KualiAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |