org.kuali.rice.kew.rule.web
Class RuleQuickLinksAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.BaseAction
          extended by org.apache.struts.actions.DispatchAction
              extended by org.kuali.rice.kns.web.struts.action.KualiAction
                  extended by org.kuali.rice.kew.web.KewKualiAction
                      extended by org.kuali.rice.kew.rule.web.RuleQuickLinksAction

public class RuleQuickLinksAction
extends KewKualiAction

A Struts Action for building and interacting with the Rule Quick Links.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
static class RuleQuickLinksAction.DocumentTypeQuickLinksStructure
          A bean to hold a DocumentType with its flattened nodes for rendering purposes on the quick links.
static class RuleQuickLinksAction.RouteNodeForDisplay
           
 
Field Summary
private  DocumentHelperService documentHelperService
           
private static org.apache.log4j.Logger LOG
           
private  MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService
           
 
Fields inherited from class org.kuali.rice.kew.web.KewKualiAction
DEFAULT_MAPPING
 
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
RuleQuickLinksAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward addDelegationRule(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.ActionMessages establishRequiredState(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionForm form)
           
 DocumentHelperService getDocumentHelperService()
           
private  List getDocumentTypeDataStructure(List rootDocuments)
           
private  DocumentTypeService getDocumentTypeService()
           
 MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()
           
private  RuleService getRuleService()
           
private  void makeLookupPathParam(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
private  String stripMethodToCall(String queryString)
           
 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.kuali.rice.kew.web.KewKualiAction
defaultDispatch, getDefaultMapping, getReturnLocation
 
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
addMethodToCallToUncheckedList, checkAuthorization, dispatchMethod, doProcessingAfterPost, execute, findMethodToCall, getApplicationBaseUrl, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, refresh, retrieveLookupParameterValue, showAllTabs, updateTextArea, validateLookupInquiryFullParameter
 
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

LOG

private static final org.apache.log4j.Logger LOG

maintenanceDocumentDictionaryService

private MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService

documentHelperService

private DocumentHelperService documentHelperService
Constructor Detail

RuleQuickLinksAction

public RuleQuickLinksAction()
Method Detail

start

public org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws Exception
Overrides:
start in class KewKualiAction
Throws:
Exception

establishRequiredState

public org.apache.struts.action.ActionMessages establishRequiredState(javax.servlet.http.HttpServletRequest request,
                                                                      org.apache.struts.action.ActionForm form)
                                                               throws Exception
Throws:
Exception

addDelegationRule

public org.apache.struts.action.ActionForward addDelegationRule(org.apache.struts.action.ActionMapping mapping,
                                                                org.apache.struts.action.ActionForm form,
                                                                javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse response)
                                                         throws Exception
Throws:
Exception

getDocumentTypeDataStructure

private List getDocumentTypeDataStructure(List rootDocuments)

makeLookupPathParam

private void makeLookupPathParam(org.apache.struts.action.ActionMapping mapping,
                                 javax.servlet.http.HttpServletRequest request)

stripMethodToCall

private String stripMethodToCall(String queryString)

getDocumentTypeService

private DocumentTypeService getDocumentTypeService()

getRuleService

private RuleService getRuleService()

getDocumentHelperService

public DocumentHelperService getDocumentHelperService()

getMaintenanceDocumentDictionaryService

public MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()

toggleTab

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
Description copied from class: KualiAction
Toggles the tab state in the ui

Overrides:
toggleTab in class KualiAction
Returns:
Throws:
Exception
See Also:
org.kuali.rice.krad.web.struts.action.KualiAction#toggleTab(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.