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{}


    
    

 

相关文章:

  • 2021-05-20
  • 2021-08-20
  • 2021-11-04
  • 2021-10-01
  • 2021-10-15
  • 2021-10-24
  • 2022-12-23
  • 2021-11-25
猜你喜欢
  • 2022-01-19
  • 2021-08-09
  • 2021-07-01
  • 2022-01-04
  • 2022-01-08
  • 2021-06-11
相关资源
相似解决方案