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

public class StoreAdminAction extends BaseAction
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
  • 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