AccChartDelete [行: 85] - fireBeforeDeleteEvent(String[]) private void fireBeforeDeleteEvent(String[] pk_accCharts) throws BusinessException { EventDispatcher.fireEvent(new BusinessEvent(getMdId(), IEventType.TYPE_DELETE_BEFORE, new Object[] { pk_accCharts })); } ------------------------------------------------------------------------------------------------------- SingleBaseService [行: 240] - fireAfterInsertEvent(T) protected void fireAfterInsertEvent(T vo) throws BusinessException { BDCommonEventUtil eventUtil = new BDCommonEventUtil(getMDId()); eventUtil.dispatchInsertAfterEvent(vo); } /** * 派发基本档案新增保存后事件. * * @param obj * 新增已保存的基本档案数据, 其主键与时间戳不应为空. * @throws BusinessException */ public void dispatchInsertAfterEvent(Object... obj) throws BusinessException { if (obj == null || obj.length == 0) return; String sid = getSourceID(obj[0]); EventDispatcher.fireEvent(new BDCommonEvent(sid, IEventType.TYPE_INSERT_AFTER, obj)); } nc.bs.businessevent.bd.BDCommonEvent;public class BDCommonEvent extends AbstractBusinessEvent {} nc.bs.businessevent;public abstract class AbstractBusinessEvent implements IBusinessEvent,Serializable{}