com.im.df.api 5.9

com.im.df.api.support
Class DFEntityDataEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.im.df.api.support.DFEntityDataEvent
All Implemented Interfaces:
Serializable

public class DFEntityDataEvent
extends EventObject

Data change event. It is fired from DFEntityDataProvider.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DFEntityDataEvent(DFEntityDataProvider dataProvider)
          Creates the event for all data.
DFEntityDataEvent(DFEntityDataProvider dataProvider, List<? extends Comparable<?>> ids)
          Create the event for specific ids.
 
Method Summary
 List<? extends Comparable<?>> getIds()
          Get the list of ids which were changed/removed/added.
 boolean isAllData()
          Is this event related to all rows in table? If true getIds can return null
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DFEntityDataEvent

public DFEntityDataEvent(DFEntityDataProvider dataProvider)
Creates the event for all data. Method isAllData() will return true and getIds() will return null.


DFEntityDataEvent

public DFEntityDataEvent(DFEntityDataProvider dataProvider,
                         List<? extends Comparable<?>> ids)
Create the event for specific ids.

Method Detail

getIds

public List<? extends Comparable<?>> getIds()
Get the list of ids which were changed/removed/added. Can return null if the event notifies about all rows.


isAllData

public boolean isAllData()
Is this event related to all rows in table? If true getIds can return null


toString

public String toString()
Overrides:
toString in class EventObject

com.im.df.api 5.9