All Packages Class Hierarchy This Package Previous Next Index
Class aid.cbr.tools.core.memory.casebase.CaseBaseEventSupport
java.lang.Object
|
+----aid.cbr.tools.core.memory.casebase.CaseBaseEventSupport
- public class CaseBaseEventSupport
- extends Object
- implements Serializable
Gives basic operations to handle listeners and fires case base events.
- Version:
- $Revision$, $Date$
- Author:
- M. Jaczynski
-
CaseBaseEventSupport(CaseBase)
- Creates a new case base event support associated to a source case base.
-
addCaseBaseListener(CaseBaseListener)
- Adds a listener in the listeners list.
-
fireCaseAdded(CaseBaseEvent)
- Fires a case base event after the addition of a case.
-
fireCaseAdded(Object)
- Fires a case base event after the addition of a case.
-
fireCaseBaseCleared(CaseBase)
- Fires a case base event when a case base is cleared.
-
fireCaseBaseCleared(CaseBaseEvent)
- Fires a case base event when a case base is cleared.
-
fireCaseCommitted(CaseBaseEvent)
- Fires a case base event after the a case is committed.
-
fireCaseCommitted(Object)
- Fires a case base event after the a case is committed.
-
fireCaseRemoved(CaseBaseEvent)
- Fires a case base event for the removal of a case.
-
fireCaseRemoved(Object)
- Fires a case base event for the removal of a case.
-
fireSubCaseBaseAdded(CaseBase)
- Fires a case base event after the addition of a sub-case base.
-
fireSubCaseBaseAdded(CaseBaseEvent)
- Fires a case base event after the addition of a sub-case base.
-
fireSubCaseBaseRemoved(CaseBase)
- Fires a case base event after the removal of a sub case base.
-
fireSubCaseBaseRemoved(CaseBaseEvent)
- Fires a case base event after the removal of a sub case base.
-
removeCaseBaseListener(CaseBaseListener)
- Removes a listener from the list of actives listeners.
CaseBaseEventSupport
public CaseBaseEventSupport(CaseBase sourceBean)
- Creates a new case base event support associated to a source case base.
- Parameters:
- sourceBean - the source case base
addCaseBaseListener
public synchronized void addCaseBaseListener(CaseBaseListener listener)
- Adds a listener in the listeners list.
Nothing is done if the listener is already in the list.
- Parameters:
- listener - the listener
removeCaseBaseListener
public synchronized void removeCaseBaseListener(CaseBaseListener listener)
- Removes a listener from the list of actives listeners.
Nothing is done if the listener is not in the current list.
- Parameters:
- listener - the listener to remove
fireCaseRemoved
public void fireCaseRemoved(Object id)
- Fires a case base event for the removal of a case.
- Parameters:
- c - the removed case
fireCaseAdded
public void fireCaseAdded(Object id)
- Fires a case base event after the addition of a case.
- Parameters:
- c - the added case
fireCaseCommitted
public void fireCaseCommitted(Object id)
- Fires a case base event after the a case is committed.
- Parameters:
- c - the committed case
fireCaseBaseCleared
public void fireCaseBaseCleared(CaseBase cb)
- Fires a case base event when a case base is cleared.
- Parameters:
- cb - the cleared case base
fireSubCaseBaseAdded
public void fireSubCaseBaseAdded(CaseBase cb)
- Fires a case base event after the addition of a sub-case base.
- Parameters:
- cb - the added case base
fireSubCaseBaseRemoved
public void fireSubCaseBaseRemoved(CaseBase cb)
- Fires a case base event after the removal of a sub case base.
- Parameters:
- cb - the removed case base
fireCaseRemoved
public void fireCaseRemoved(CaseBaseEvent evt)
- Fires a case base event for the removal of a case.
- Parameters:
- c - the removed case
fireCaseAdded
public void fireCaseAdded(CaseBaseEvent evt)
- Fires a case base event after the addition of a case.
- Parameters:
- c - the added case
fireCaseCommitted
public void fireCaseCommitted(CaseBaseEvent evt)
- Fires a case base event after the a case is committed.
- Parameters:
- c - the committed case
fireCaseBaseCleared
public void fireCaseBaseCleared(CaseBaseEvent evt)
- Fires a case base event when a case base is cleared.
- Parameters:
- cb - the cleared case base
fireSubCaseBaseAdded
public void fireSubCaseBaseAdded(CaseBaseEvent evt)
- Fires a case base event after the addition of a sub-case base.
- Parameters:
- cb - the added case base
fireSubCaseBaseRemoved
public void fireSubCaseBaseRemoved(CaseBaseEvent evt)
- Fires a case base event after the removal of a sub case base.
- Parameters:
- cb - the removed case base
All Packages Class Hierarchy This Package Previous Next Index