org.kuali.rice.kim.web.struts.action
Class IdentityManagementGroupDocumentAction

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.kns.web.struts.action.KualiDocumentActionBase
                      extended by org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase
                          extended by org.kuali.rice.kim.web.struts.action.IdentityManagementDocumentActionBase
                              extended by org.kuali.rice.kim.web.struts.action.IdentityManagementGroupDocumentAction
All Implemented Interfaces:
KualiTableRenderAction

public class IdentityManagementGroupDocumentAction
extends IdentityManagementDocumentActionBase
implements KualiTableRenderAction

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

Field Summary
 
Fields inherited from class org.kuali.rice.kim.web.struts.action.IdentityManagementDocumentActionBase
CHANGE_MEMBER_TYPE_CODE_METHOD_TO_CALL, CHANGE_NAMESPACE_METHOD_TO_CALL, identityService, responsibilityService, uiDocumentService
 
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
DOCUMENT_LOAD_COMMANDS
 
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
FORM_ACTION, FORWARD_NEXT, FORWARD_TEXT_AREA_UPDATE, METHOD_TO_CALL, MODULE_LOCKED_MESSAGE, 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
IdentityManagementGroupDocumentAction()
          This constructs a ...
 
Method Summary
 org.apache.struts.action.ActionForward addMember(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 changeMemberTypeCode(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  boolean checkKimDocumentGroupMember(GroupDocumentMember newMember)
           
protected  void createDocument(KualiDocumentFormBase form)
          This overridden method ...
 org.apache.struts.action.ActionForward deleteMember(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)
          Entry point to all actions.
 String getActionName()
           
protected  void loadDocument(KualiDocumentFormBase form)
          This overridden method ...
protected  void loadGroupIntoDocument(String groupId, IdentityManagementGroupDocumentForm groupDocumentForm)
           
protected  void setKimType(String kimTypeId, IdentityManagementGroupDocumentForm groupDocumentForm)
           
 org.apache.struts.action.ActionForward sort(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method doesn't actually sort the column - it's just that we need a sort method in order to exploit the existing methodToCall logic.
protected  boolean validAssignGroup(IdentityManagementGroupDocument document)
           
 
Methods inherited from class org.kuali.rice.kim.web.struts.action.IdentityManagementDocumentActionBase
applyPagingAndSortingFromPreviousPageView, changeNamespace, getBasePathForward, getIdentityService, getKimTypeService, getResponsibilityService, getReturnLocation, getUiDocumentService, performLookup, returnToSender, switchToPage, validateRole
 
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase
copy, populateAuthorizationFields
 
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
acknowledge, approve, attemptLockRelease, blanketApprove, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, convertSetToMap, 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, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, insertBONote, isFormRepresentingLockObject, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, refresh, refreshAdHocRoutingWorkgroupLookups, releaseLocks, reload, route, save, selectedAttachmentIndex, sendAdHocRequests, sendNoteWorkflowNotification, setupDocumentExit, setupPessimisticLockMessages, showAllTabs, streamToResponse, supervisorFunctions, toggleTab
 
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, findMethodToCall, getApplicationBaseUrl, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, isModuleLocked, performInquiry, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, 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
 
Methods inherited from interface org.kuali.rice.kns.web.struts.action.KualiTableRenderAction
switchToPage
 

Constructor Detail

IdentityManagementGroupDocumentAction

public IdentityManagementGroupDocumentAction()
This constructs a ...

Method Detail

sort

public org.apache.struts.action.ActionForward sort(org.apache.struts.action.ActionMapping mapping,
                                                   org.apache.struts.action.ActionForm form,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws Exception
This method doesn't actually sort the column - it's just that we need a sort method in order to exploit the existing methodToCall logic. The sorting is handled in the execute method below, and delegated to the KualiTableRenderFormMetadata object.

Specified by:
sort in interface KualiTableRenderAction
Parameters:
mapping -
form -
request -
response -
Returns:
Throws:
Exception

execute

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
Description copied from class: KualiDocumentActionBase
Entry point to all actions.

NOTE: No need to hook into execute for handling framwork setup anymore. Just implement the methodToCall for the framework setup, Constants.METHOD_REQUEST_PARAMETER will contain the full parameter, which can be sub stringed for getting framework parameters.

Overrides:
execute in class KualiDocumentActionBase
Throws:
Exception
See Also:
Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

setKimType

protected void setKimType(String kimTypeId,
                          IdentityManagementGroupDocumentForm groupDocumentForm)

loadDocument

protected void loadDocument(KualiDocumentFormBase form)
                     throws WorkflowException
This overridden method ...

Overrides:
loadDocument in class KualiDocumentActionBase
Throws:
WorkflowException
See Also:
org.kuali.rice.krad.web.struts.action.KualiDocumentActionBase#loadDocument(org.kuali.rice.krad.web.struts.form.KualiDocumentFormBase)

createDocument

protected void createDocument(KualiDocumentFormBase form)
                       throws WorkflowException
This overridden method ...

Overrides:
createDocument in class KualiDocumentActionBase
Throws:
WorkflowException
See Also:
org.kuali.rice.krad.web.struts.action.KualiDocumentActionBase#createDocument(org.kuali.rice.krad.web.struts.form.KualiDocumentFormBase)

loadGroupIntoDocument

protected void loadGroupIntoDocument(String groupId,
                                     IdentityManagementGroupDocumentForm groupDocumentForm)

getActionName

public String getActionName()
Specified by:
getActionName in class IdentityManagementDocumentActionBase
See Also:
IdentityManagementDocumentActionBase.getActionName()

validAssignGroup

protected boolean validAssignGroup(IdentityManagementGroupDocument document)

changeMemberTypeCode

public org.apache.struts.action.ActionForward changeMemberTypeCode(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

addMember

public org.apache.struts.action.ActionForward addMember(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

checkKimDocumentGroupMember

protected boolean checkKimDocumentGroupMember(GroupDocumentMember newMember)

deleteMember

public org.apache.struts.action.ActionForward deleteMember(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


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.