vendorformevent.java.svn-base
来自「简单的出入库产品管理ERP,国外单子.实现产品类型别管理,添加产品及出入库操作.」· SVN-BASE 代码 · 共 60 行
SVN-BASE
60 行
package com.casin.erp.event;
import com.waveline.webbuilder.struts.ContentFormForm;
import com.waveline.webbuilder.exception.ProgramException;
import javax.servlet.http.HttpServletRequest;
import com.waveline.webbuilder.exception.DataBaseException;
import com.casin.erp.util.StockUtil;
import com.waveline.webbuilder.event.DefaultContentFormEventImpl;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class VendorFormEvent
extends DefaultContentFormEventImpl
{
public boolean afterInsertForm(HttpServletRequest request,
ContentFormForm contentFormForm,
Object session)
throws DataBaseException, ProgramException
{
//当供应商信息发生更新时,设置可用供应商列表更新标志
StockUtil stockUtil = new StockUtil();
stockUtil.setVendorRefreshable();
return true;
}
public boolean afterUpdateForm(HttpServletRequest request,
ContentFormForm contentFormForm,
Object session)
throws DataBaseException, ProgramException
{
//当供应商信息发生更新时,设置可用供应商列表更新标志
StockUtil stockUtil = new StockUtil();
stockUtil.setVendorRefreshable();
return true;
}
public boolean afterDeleteForm(HttpServletRequest request,
ContentFormForm contentFormForm,
Object session)
throws DataBaseException, ProgramException
{
//当供应商信息发生更新时,设置可用供应商列表更新标志
StockUtil stockUtil = new StockUtil();
stockUtil.setVendorRefreshable();
return true;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?