Class BoardAction

java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.bgerp.action.base.BaseAction
org.bgerp.plugin.kanban.action.BoardAction

public class BoardAction extends BaseAction
Kanban board over a process queue: the user picks any queue they already have access to (same list as /user/process/queue), narrows it down with the queue's own configured filters, and picks a single process type - Kanban columns are that type's own status list, since the transition matrix and required-param rules are all per-type. Dragging a card between columns doesn't go through this action - the client posts directly to the existing /user/process.do?method=processStatusUpdate, reusing its permission check, transition matrix and required-parameter validation as-is.
  • Constructor Details

    • BoardAction

      public BoardAction()
  • Method Details

    • board

      public org.apache.struts.action.ActionForward board(DynActionForm form, ConnectionSet conSet) throws Exception
      Entry point from the menu - just show(DynActionForm, Connection) with no explicit queueId, letting it fall back to the last-selected queue (or the first one). Kept as a separate permission node/menu target, but otherwise identical: everything (queue picker, filters, board) is rendered by show.jsp as a single fragment, always reloaded together via $$.ajax.loadContent, never split into a separately-updated shell-state toolbar piece - that used to hold the queue picker via <shell:state moveSelector>, but anything else on the page also touching the shared shell-state area (e.g. the process preview dialog's own process.jsp content) would silently wipe it out from under the board.
      Throws:
      Exception
    • show

      public org.apache.struts.action.ActionForward show(DynActionForm form, Connection con) throws Exception
      Throws:
      Exception