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
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.-
Field Summary
Fields inherited from class BaseAction
l, log, MAPPER, PATH_JSP_ADMIN, PATH_JSP_OPEN, PATH_JSP_USER, PATH_JSP_USERMOB, setupFields inherited from class org.apache.struts.actions.DispatchAction
clazz, methods, typesFields inherited from class org.apache.struts.actions.BaseAction
messagesFields inherited from class org.apache.struts.action.Action
servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForwardboard(DynActionForm form, ConnectionSet conSet) Entry point from the menu - justshow(DynActionForm, Connection)with no explicit queueId, letting it fall back to the last-selected queue (or the first one).org.apache.struts.action.ActionForwardshow(DynActionForm form, Connection con) Methods inherited from class BaseAction
checkModified, dispatchMethod, getParameter, html, html, json, json, permissionCheck, restoreRequestParams, unspecified, unspecified, updatePersonalizationMethods inherited from class org.apache.struts.actions.DispatchAction
cancelled, execute, getMethod, getMethodName, unspecifiedMethods 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
-
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 - justshow(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 byshow.jspas 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
-