Class StoreAdminAction
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.inventoru.action.StoreAdminAction
Administration of warehouse access: who may work with a warehouse and until when.
There is deliberately no admin list of warehouses and no admin editor of one — warehouses are
created, edited and deleted from their card on the user screen, the same way processes have no
admin list in the kernel. What is left here is what the card cannot do on its own: granting
access, the editing group and the "running low" thresholds.
The screens are opened from the warehouse card, each behind its own permission node.
Mapped at /admin/plugin/inventoru/store.do
-
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.ActionForwardaccessAdd(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardaccessClose(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardaccessDelete(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardaccessList(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardeditGroupUpdate(DynActionForm form, ConnectionSet conSet) The group whose members may edit the warehouse — access control rather than a property of the warehouse, which is why it is set here and not in the card editor.org.apache.struts.action.ActionForwardminLevelUpdate(DynActionForm form, ConnectionSet conSet) Sets or clears (empty value) the "running low" threshold for a store+item pair, used to flag rows in the stock table of the card.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
-
StoreAdminAction
public StoreAdminAction()
-
-
Method Details
-
minLevelUpdate
public org.apache.struts.action.ActionForward minLevelUpdate(DynActionForm form, ConnectionSet conSet) throws Exception Sets or clears (empty value) the "running low" threshold for a store+item pair, used to flag rows in the stock table of the card. Absence of a threshold means no warning is ever shown for that item at that store — thresholds are opt-in per store, not a global default.- Throws:
Exception
-
accessList
public org.apache.struts.action.ActionForward accessList(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
editGroupUpdate
public org.apache.struts.action.ActionForward editGroupUpdate(DynActionForm form, ConnectionSet conSet) throws Exception The group whose members may edit the warehouse — access control rather than a property of the warehouse, which is why it is set here and not in the card editor.- Throws:
Exception
-
accessAdd
public org.apache.struts.action.ActionForward accessAdd(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
accessDelete
public org.apache.struts.action.ActionForward accessDelete(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
accessClose
public org.apache.struts.action.ActionForward accessClose(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-