org.nuiton.topia.security.listener
Class PropertyVetoable
java.lang.Object
org.nuiton.topia.security.listener.PropertyVetoable
- All Implemented Interfaces:
- EventListener, TopiaEntityListener
public class PropertyVetoable
- extends Object
- implements TopiaEntityListener
Ajout en cas de chargement ou de creation d'entités des listeners pour la
sécurité sur leurs champs.
- Author:
- ruchaud
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
read
protected PropertyReadListener read
write
protected PropertyWriteListener write
PropertyVetoable
public PropertyVetoable(PropertyReadListener read,
PropertyWriteListener write)
- Contructeur avec comme paramètre les listeners à attacher au chargement ou
à la création.
- Parameters:
read - Listener en lecture d'un champwrite - Listener en écriture d'un champ
load
public void load(TopiaEntityEvent event)
- Specified by:
load in interface TopiaEntityListener
create
public void create(TopiaEntityEvent event)
- Specified by:
create in interface TopiaEntityListener
delete
public void delete(TopiaEntityEvent event)
- Specified by:
delete in interface TopiaEntityListener
update
public void update(TopiaEntityEvent event)
- Specified by:
update in interface TopiaEntityListener
Copyright © 2004-2012 CodeLutin. All Rights Reserved.