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
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-
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.ActionForwardstatusDelete(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardstatusGet(DynActionForm form, ConnectionSet conSet) Form of one status, or of a new one whenidis not given.org.apache.struts.action.ActionForwardstatusUpdate(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardunspecified(DynActionForm form, ConnectionSet conSet) Default action method if no parameter 'action' passed.Methods inherited from class BaseAction
checkModified, dispatchMethod, getParameter, html, html, json, json, permissionCheck, restoreRequestParams, 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
-
StoreStatusAction
public StoreStatusAction()
-
-
Method Details
-
unspecified
public org.apache.struts.action.ActionForward unspecified(DynActionForm form, ConnectionSet conSet) throws Exception Description copied from class:BaseActionDefault action method if no parameter 'action' passed. Overwrite and implement.- Overrides:
unspecifiedin classBaseAction- 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 whenidis not given. A screen of its own rather than a form built into the list: the shared OK button of a form returns toreturnUrl, 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
-