Class StoreStatusAction

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.StoreStatusAction

public class StoreStatusAction extends BaseAction
The catalogue of warehouse statuses. Flat and global, like the catalogue of process statuses in the kernel: a status is just an id, a title and a colour, and what it means is decided by each warehouse type separately, in its own properties (status.ids). That is why the catalogue is administered on its own screen and not inside the types — exactly as the kernel keeps "Статусы процессов" a menu item of its own next to "Типы процессов". Mapped at /admin/plugin/inventoru/storeStatus.do
  • Constructor Details

    • StoreStatusAction

      public StoreStatusAction()
  • Method Details

    • unspecified

      public org.apache.struts.action.ActionForward unspecified(DynActionForm form, ConnectionSet conSet) throws Exception
      Description copied from class: BaseAction
      Default action method if no parameter 'action' passed. Overwrite and implement.
      Overrides:
      unspecified in class BaseAction
      Parameters:
      form -
      conSet -
      Returns:
      the action forward
      Throws:
      Exception
    • statusGet

      public org.apache.struts.action.ActionForward statusGet(DynActionForm form, ConnectionSet conSet) throws Exception
      Form of one status, or of a new one when id is not given. A screen of its own rather than a form built into the list: the shared OK button of a form returns to returnUrl, which only exists when the form was opened from somewhere — a form sitting on the list itself has nowhere to return to and used to land the operator on the login page. The kernel administers process statuses exactly this way.
      Throws:
      Exception
    • statusUpdate

      public org.apache.struts.action.ActionForward statusUpdate(DynActionForm form, ConnectionSet conSet) throws Exception
      Throws:
      Exception
    • statusDelete

      public org.apache.struts.action.ActionForward statusDelete(DynActionForm form, ConnectionSet conSet) throws Exception
      Throws:
      Exception