| edu.iu.uis.eden.web.WorkflowAction edu.iu.uis.eden.messaging.web.MessageQueueAction
MessageQueueAction | public class MessageQueueAction extends WorkflowAction (Code) | | Struts action for interacting with the queue of messages.
author: Kuali Rice Team (kuali-rice@googlegroups.com) |
Method Summary | |
public ActionForward | clear(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | delete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | edit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionMessages | establishRequiredState(HttpServletRequest request, ActionForm form) Sets up the expected state by retrieving the selected RouteQueue by RouteQueueId, and placing it in the
ExistingRouteQueue member. | public ActionForward | executeMessageFetcher(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | protected List<PersistedMessage> | findRouteQueues(HttpServletRequest request, MessageQueueForm routeQueueForm, int maxRows) | protected void | quickRequeueMessage(PersistedMessage message) Performs a quick ReQueue of the indicated persisted message.
The net effect of this requeue is to set the Date to now, and to reset the RetryCount to zero. | public ActionForward | quickRequeueMessage(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | reset(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | saveAndForward(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | saveAndResubmit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | public ActionForward | start(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) | protected AsynchronousCall | unwrapPayload(PersistedMessage message) Extracts the payload from a PersistedMessage, attempts to convert it to the expected AsynchronousCall type, and
returns it.
Throws an IllegalArgumentException if the decoded payload isnt of the expected type.
Parameters: message - The populated PersistedMessage object to extract the payload from. | public ActionForward | view(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) |
establishRequiredState | public ActionMessages establishRequiredState(HttpServletRequest request, ActionForm form) throws Exception(Code) | | Sets up the expected state by retrieving the selected RouteQueue by RouteQueueId, and placing it in the
ExistingRouteQueue member.
Called by the super's Execute method on every request.
|
quickRequeueMessage | protected void quickRequeueMessage(PersistedMessage message)(Code) | | Performs a quick ReQueue of the indicated persisted message.
The net effect of this requeue is to set the Date to now, and to reset the RetryCount to zero. The payload is not
modified.
Parameters: message - The populated message to be requeued. |
unwrapPayload | protected AsynchronousCall unwrapPayload(PersistedMessage message)(Code) | | Extracts the payload from a PersistedMessage, attempts to convert it to the expected AsynchronousCall type, and
returns it.
Throws an IllegalArgumentException if the decoded payload isnt of the expected type.
Parameters: message - The populated PersistedMessage object to extract the payload from. Returns the payload if one is present and it can be deserialized, otherwise returns null. |
Methods inherited from edu.iu.uis.eden.web.WorkflowAction | public ActionForward cancelDocument(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionMessages establishFinalState(HttpServletRequest request, ActionForm form) throws Exception(Code)(Java Doc) abstract public ActionMessages establishRequiredState(HttpServletRequest request, ActionForm form) throws Exception(Code)(Java Doc) public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected ActionForward exportDataSet(HttpServletRequest request, ExportDataSet dataSet)(Code)(Java Doc) protected String getAdHocRouteNodeName(Long routeHeaderId) throws WorkflowException(Code)(Java Doc) public static UserSession getUserSession(HttpServletRequest request)(Code)(Java Doc) public boolean isEmpty(String propertyValue)(Code)(Java Doc) public ActionForward noOp(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward performLookup(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward refresh(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward removeAppSpecificRecipient(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) public ActionForward routeToAppSpecificRecipient(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) abstract public ActionForward start(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected void validateAppSpecificRoute(AppSpecificRouteRecipient recipient)(Code)(Java Doc)
|
|
|