站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

JACCPreInsertEventListener (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.secure
Class JACCPreInsertEventListener

java.lang.Object
  extended byorg.hibernate.secure.JACCPreInsertEventListener
All Implemented Interfaces:
Initializable, JACCSecurityListener, PreInsertEventListener, Serializable

public class JACCPreInsertEventListener
extends Object
implements PreInsertEventListener, Initializable, JACCSecurityListener

Check security before an insertion

Author:
Kabir Khan
See Also:
Serialized Form

Constructor Summary
JACCPreInsertEventListener()
           
 
Method Summary
 void initialize(Configuration cfg)
           
 boolean onPreInsert(PreInsertEvent event)
          Return true if the operation should be vetoed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JACCPreInsertEventListener

public JACCPreInsertEventListener()
Method Detail

onPreInsert

public boolean onPreInsert(PreInsertEvent event)
Description copied from interface: PreInsertEventListener
Return true if the operation should be vetoed

Specified by:
onPreInsert in interface PreInsertEventListener

initialize

public void initialize(Configuration cfg)
Specified by:
initialize in interface Initializable