org.lexevs.dao.database.service.listener
Class CodingSchemeRegisteringListener
java.lang.Object
org.lexevs.dao.database.service.listener.DefaultServiceEventListener
org.lexevs.dao.database.service.listener.CodingSchemeRegisteringListener
- All Implemented Interfaces:
- DatabaseServiceEventListener
public class CodingSchemeRegisteringListener
- extends DefaultServiceEventListener
The listener interface for receiving codingSchemeRegistering events.
The class that is interested in processing a codingSchemeRegistering
event implements this interface, and the object created
with that class is registered with a component using the
component's addCodingSchemeRegisteringListener method. When
the codingSchemeRegistering event occurs, that object's appropriate
method is invoked.
- See Also:
CodingSchemeRegisteringEvent
Methods inherited from class org.lexevs.dao.database.service.listener.DefaultServiceEventListener |
isActive, onCodingSchemeUpdate, onEntityReviseEvent, onEntityUpdate, onPostBatchEntityInsert, onPostCodingSchemeInsert, onPostEntityInsert, onPostEntityRemove, onPostPropertyInsert, onPostPropertyRemove, onPreAssociationInsert, onPreBatchAssociationInsert, onPreBatchEntityInsert, onPreEntityInsert, onPreEntityRemove, onPropertyUpdate, setActive |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodingSchemeRegisteringListener
public CodingSchemeRegisteringListener()
onPreCodingSchemeInsert
public boolean onPreCodingSchemeInsert(PreCodingSchemeInsertEvent event)
throws CodingSchemeAlreadyLoadedException
- Description copied from interface:
DatabaseServiceEventListener
- On coding scheme insert.
- Specified by:
onPreCodingSchemeInsert
in interface DatabaseServiceEventListener
- Overrides:
onPreCodingSchemeInsert
in class DefaultServiceEventListener
- Parameters:
event
- the event
- Returns:
- true, if successful
- Throws:
CodingSchemeAlreadyLoadedException
- the coding scheme already loaded exception
onCodingSchemeInsertError
public <T extends java.lang.Exception> void onCodingSchemeInsertError(CodingSchemeInsertErrorEvent<T> codingSchemeInsertErrorEvent)
- Specified by:
onCodingSchemeInsertError
in interface DatabaseServiceEventListener
- Overrides:
onCodingSchemeInsertError
in class DefaultServiceEventListener