public interface TopiaListenableSupport
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Register to the context a PropertyChangeListener about some entity's
property change.
|
void |
addTopiaEntitiesVetoable(TopiaEntitiesVetoable vetoable)
Register to the context a TopiaEntitiesVetoable about any TopiaEntity.
|
void |
addTopiaEntityListener(Class<? extends TopiaEntity> entityClass,
TopiaEntityListener listener)
Register to the context a TopiaEntityListener about the given entity
class.
|
void |
addTopiaEntityListener(TopiaEntityListener listener)
Register to the context a TopiaEntityListener about any TopiaEntity.
|
void |
addTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass,
TopiaEntityVetoable vetoable)
Register to the context a TopiaEntityVetoable about the given entity
class.
|
void |
addTopiaEntityVetoable(TopiaEntityVetoable vetoable)
Register to the context a TopiaEntityVetoable about any TopiaEntity.
|
void |
addTopiaSchemaListener(TopiaSchemaListener listener)
Register to the context a TopiaSchemaListener about any schema
modification.
|
void |
addTopiaTransactionListener(TopiaTransactionListener listener)
Register to the context a TopiaTransactionListener about the transaction.
|
void |
addTopiaTransactionVetoable(TopiaTransactionVetoable vetoable)
Register to the context a TopiaTransactionVetoable about the transaction.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Unregister the given PropertyChangeListener about some entity's
property change from the context
|
void |
removeTopiaEntitiesVetoable(TopiaEntitiesVetoable vetoable)
Unregister the given TopiaEntitiesVetoable about any TopiaEntity from the
context
|
void |
removeTopiaEntityListener(Class<? extends TopiaEntity> entityClass,
TopiaEntityListener listener)
Unregister the given TopiaEntityListener about the given entity class
from the context
|
void |
removeTopiaEntityListener(TopiaEntityListener listener)
Unregister the given TopiaEntityListener about any TopiaEntity from the
context
|
void |
removeTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass,
TopiaEntityVetoable vetoable)
Unregister the given TopiaEntityVetoable about the given entity class
from the context
|
void |
removeTopiaEntityVetoable(TopiaEntityVetoable vetoable)
Unregister the given TopiaEntityVetoable about any TopiaEntity from the
context
|
void |
removeTopiaSchemaListener(TopiaSchemaListener listener)
Unregister the given TopiaSchemaListener about any schema modification
from the context
|
void |
removeTopiaTransactionListener(TopiaTransactionListener listener)
Unregister the given TopiaTransactionListener about the transaction from
the context
|
void |
removeTopiaTransactionVetoable(TopiaTransactionVetoable vetoable)
Unregister the given TopiaTransactionVetoable about the transaction from
the context
|
void addTopiaEntityListener(TopiaEntityListener listener)
listener instance will be notified AFTER any operation on
the entity.listener - the listener instance to registervoid addTopiaEntityListener(Class<? extends TopiaEntity> entityClass, TopiaEntityListener listener)
listener instance will be notified AFTER any
operation on the entity.entityClass - the TopiaEntity's class to listenlistener - the listener instance to registervoid removeTopiaEntityListener(TopiaEntityListener listener)
listener - the listener instance to unregistervoid removeTopiaEntityListener(Class<? extends TopiaEntity> entityClass, TopiaEntityListener listener)
entityClass - the listened TopiaEntity's classlistener - the listener instance to unregistervoid addTopiaEntityVetoable(TopiaEntityVetoable vetoable)
vetoable instance will be notified BEFORE any operation on
the entity.vetoable - the vetoable instance to registervoid addTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass, TopiaEntityVetoable vetoable)
vetoable instance will be notified BEFORE any
operation on the entity.entityClass - the TopiaEntity's class to listenvetoable - the vetoable instance to registervoid removeTopiaEntityVetoable(TopiaEntityVetoable vetoable)
vetoable - the vetoable instance to unregistervoid removeTopiaEntityVetoable(Class<? extends TopiaEntity> entityClass, TopiaEntityVetoable vetoable)
entityClass - the listened TopiaEntity's classvetoable - the vetoable instance to unregistervoid addTopiaEntitiesVetoable(TopiaEntitiesVetoable vetoable)
vetoable instance will be notified BEFORE any entity loadvetoable - the vetoable instance to registervoid removeTopiaEntitiesVetoable(TopiaEntitiesVetoable vetoable)
vetoable - the vetoable instance to unregistervoid addTopiaTransactionListener(TopiaTransactionListener listener)
listener instance will be notified AFTER any operation on
the transaction.listener - the listener instance to registervoid removeTopiaTransactionListener(TopiaTransactionListener listener)
listener - the listener instance to unregistervoid addTopiaTransactionVetoable(TopiaTransactionVetoable vetoable)
vetoable instance will be notified BEFORE any operation on
the transaction.vetoable - the vetoable instance to registervoid removeTopiaTransactionVetoable(TopiaTransactionVetoable vetoable)
vetoable - the vetoable instance to unregistervoid addPropertyChangeListener(PropertyChangeListener listener)
listener instance will be notified AFTER
any change on the entity's propertylistener - the listener instance to registervoid removePropertyChangeListener(PropertyChangeListener listener)
listener - the listener instance to unregistervoid addTopiaSchemaListener(TopiaSchemaListener listener)
listener instance will be notified BEFORE and
AFTER any change on the schemalistener - the listener instance to registervoid removeTopiaSchemaListener(TopiaSchemaListener listener)
listener - the listener instance to unregisterCopyright © 2004–2016 CodeLutin. All rights reserved.