org.hibernate.secure
Class JACCPreDeleteEventListener
java.lang.Object
org.hibernate.secure.JACCPreDeleteEventListener
- All Implemented Interfaces:
- Serializable, Initializable, PreDeleteEventListener, JACCSecurityListener
public class JACCPreDeleteEventListener
- extends Object
- implements PreDeleteEventListener, Initializable, JACCSecurityListener
Check security before any deletion
- Author:
- Kabir Khan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JACCPreDeleteEventListener
public JACCPreDeleteEventListener()
onPreDelete
public boolean onPreDelete(PreDeleteEvent event)
- Description copied from interface:
PreDeleteEventListener
- Return true if the operation should be vetoed
- Specified by:
onPreDelete
in interface PreDeleteEventListener
initialize
public void initialize(Configuration cfg)
- Specified by:
initialize
in interface Initializable