Class ItemAction
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.QueueScreenAction
org.bgerp.plugin.inventoru.action.ItemAction
CRUD actions for nomenclature items (goods, materials, TMC).
Mapped at /user/plugin/inventoru/item.do
-
Field Summary
Fields inherited from class BaseAction
l, 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.ActionForwardcreate(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwarddelete(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardedit(DynActionForm form, ConnectionSet conSet) protected QueueEntityThe entity the screen lists.protected StringgetScreenTitle(DynActionForm form) Screen title, shown in the browser tab.protected StringPermission node of the card the rows link to, e.g.protected StringEntity specific buttons shown above the queue selector — creating a row, opening a related catalogue.org.apache.struts.action.ActionForwardqueueFilter(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardqueueShow(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardrestore(DynActionForm form, ConnectionSet conSet) org.apache.struts.action.ActionForwardshow(DynActionForm form, ConnectionSet conSet) The card of one item: its type, and the parameter values that type brings with it.org.apache.struts.action.ActionForwardunspecified(DynActionForm form, ConnectionSet conSet) Default action method if no parameter 'action' passed.org.apache.struts.action.ActionForwardupdate(DynActionForm form, ConnectionSet conSet) Methods inherited from class QueueScreenAction
queueFilterScreen, queueScreen, queueShowScreenMethods 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
-
ItemAction
public ItemAction()
-
-
Method Details
-
getEntity
Description copied from class:QueueScreenActionThe entity the screen lists.- Specified by:
getEntityin classQueueScreenAction
-
getScreenTitle
Description copied from class:QueueScreenActionScreen title, shown in the browser tab.- Specified by:
getScreenTitlein classQueueScreenAction
-
getShowAction
Description copied from class:QueueScreenActionPermission node of the card the rows link to, e.g./user/plugin/inventoru/store:show; the row menu is hidden without it.- Specified by:
getShowActionin classQueueScreenAction
-
getToolbarJsp
Description copied from class:QueueScreenActionEntity specific buttons shown above the queue selector — creating a row, opening a related catalogue. The queue itself has no idea what can be done with what it lists.- Overrides:
getToolbarJspin classQueueScreenAction- Returns:
- path of a JSP to include, or
nullwhen the entity has no such buttons.
-
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
-
queueFilter
public org.apache.struts.action.ActionForward queueFilter(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
queueShow
public org.apache.struts.action.ActionForward queueShow(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
show
public org.apache.struts.action.ActionForward show(DynActionForm form, ConnectionSet conSet) throws Exception The card of one item: its type, and the parameter values that type brings with it. Administration of the item lives here — there is no admin list of items.- Throws:
Exception
-
create
public org.apache.struts.action.ActionForward create(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
edit
public org.apache.struts.action.ActionForward edit(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
update
public org.apache.struts.action.ActionForward update(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
restore
public org.apache.struts.action.ActionForward restore(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-
delete
public org.apache.struts.action.ActionForward delete(DynActionForm form, ConnectionSet conSet) throws Exception - Throws:
Exception
-