Class AdministerNotificationRequestController

java.lang.Object
org.kuali.rice.ken.web.spring.AdministerNotificationRequestController

@RequestMapping("/ken") @Controller("administerNotificationRequestController") public class AdministerNotificationRequestController extends Object
Implements reviewer Approve/Disapprove and initiator Acknowledge of a Notification requests sent to channels configured with reviewers
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

    • DEFAULT_COMMAND_NAME

      public static final String DEFAULT_COMMAND_NAME
      Default command name used for binding command objects: "command"
      See Also:
    • messageContentService

      @Autowired @Qualifier("messageContentService") protected NotificationMessageContentService messageContentService
    • workflowDocumentService

      @Autowired @Qualifier("notificationWorkflowDocumentService") protected NotificationWorkflowDocumentService workflowDocumentService
    • recipientService

      @Autowired @Qualifier("notificationRecipientService") protected NotificationRecipientService recipientService
    • personService

      @Autowired @Qualifier("personService") protected org.kuali.rice.kim.api.identity.PersonService personService
  • Constructor Details

    • AdministerNotificationRequestController

      public AdministerNotificationRequestController()
  • Method Details

    • view

      @RequestMapping("/AdministerNotificationRequest.form") public org.springframework.web.servlet.ModelAndView view(javax.servlet.http.HttpServletRequest request, @RequestBody AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
      View action that displays an approve/disapprove/acknowledge view
      Parameters:
      request - the HttpServletRequest
      command - the command object bound for this Controller
      Returns:
      a view ModelAndView
    • approve

      @RequestMapping(path="/AdministerNotificationRequest.form", params="approve") public org.springframework.web.servlet.ModelAndView approve(javax.servlet.http.HttpServletRequest request, @RequestBody AdministerNotificationRequestController.AdministerNotificationRequestCommand command) throws javax.servlet.ServletException
      Approve action that approves a notification request
      Parameters:
      request - the HttpServletRequest
      command - the command object bound for this Controller
      Returns:
      a view ModelAndView
      Throws:
      javax.servlet.ServletException - if an error occurs during approval
    • disapprove

      @RequestMapping(path="/AdministerNotificationRequest.form", params="disapprove") public org.springframework.web.servlet.ModelAndView disapprove(javax.servlet.http.HttpServletRequest request, @RequestBody AdministerNotificationRequestController.AdministerNotificationRequestCommand command) throws javax.servlet.ServletException
      Disapprove action that disapproves a notification request
      Parameters:
      request - the HttpServletRequest
      command - the command object bound for this Controller
      Returns:
      a view ModelAndView
      Throws:
      javax.servlet.ServletException - if an error occurs during disapproval
    • acknowledge

      @RequestMapping(path="/AdministerNotificationRequest.form", params="acknowledge") public org.springframework.web.servlet.ModelAndView acknowledge(javax.servlet.http.HttpServletRequest request, @RequestBody AdministerNotificationRequestController.AdministerNotificationRequestCommand command) throws javax.servlet.ServletException
      Acknowledge action that acknowledges a notification request disapproval
      Parameters:
      request - the HttpServletRequest
      command - the command object bound for this Controller
      Returns:
      a view ModelAndView
      Throws:
      javax.servlet.ServletException - if an error occurs during acknowledgement
    • getCommandName

      protected String getCommandName(Object command)
      Return the command name to use for the given command object.

      Default is "command".

      Parameters:
      command - the command object
      Returns:
      the command name to use
      See Also:
    • setMessageContentService

      public void setMessageContentService(NotificationMessageContentService notificationMessageContentService)
    • setWorkflowDocumentService

      public void setWorkflowDocumentService(NotificationWorkflowDocumentService notificationWorkflowDocumentService)
    • setRecipientService

      public void setRecipientService(NotificationRecipientService notificationRecipientService)
    • getMessageContentService

      public NotificationMessageContentService getMessageContentService()
    • getWorkflowDocumentService

      public NotificationWorkflowDocumentService getWorkflowDocumentService()
    • getRecipientService

      public NotificationRecipientService getRecipientService()
    • getPersonService

      public org.kuali.rice.kim.api.identity.PersonService getPersonService()
    • setPersonService

      public void setPersonService(org.kuali.rice.kim.api.identity.PersonService personService)