PostDeleteEventListener,PostInsertEventListener,PostUpdateEventListener
来源:互联网 发布:rpm卸载软件 编辑:程序博客网 时间:2024/06/05 02:54
public class DeleteResListener implements PostDeleteEventListener {
/**
* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
*/
private static final long serialVersionUID = -7915712267532934913L;
@Override
public void onPostDelete(PostDeleteEvent event) {
// TODO Auto-generated method stub
if (event.getEntity() instanceof ResourceEntity) {
// 注入Services
ResSearchInfoServices resSearchInfoServices = (ResSearchInfoServices) SpringUtil
.getBean("resSearchInfoServices");
resSearchInfoServices.deleteRes(event);
}
}
}
ResourceEntity resourceEntity = (ResourceEntity) event.getEntity();
// 原表主键ID
String strDataID = resourceEntity.getDataId();
- PostDeleteEventListener,PostInsertEventListener,PostUpdateEventListener
- 通过GUID读取COM口信息
- 开源软件许可协议简介
- Mp4格式分析:Adobe的sample1_1500kbps.f4v文件格式之二:moov分析
- 《深入理解JAVA虚拟机》笔记
- Linux 源码安装软件之 configure 参数解释
- PostDeleteEventListener,PostInsertEventListener,PostUpdateEventListener
- C中的stat()函数
- 再谈PHP单引号和双引号区别
- 关于windowsphone载入超过2048大图的方法!
- From C++ to Objective-C
- windows下mysql忘记root密码的解决方法
- ubuntu下载特定版本内核源码的命令
- SPI总线协议
- linux 中copy软链接