com.im.df.api.support
Class DFEntityDataEvent
java.lang.Object
java.util.EventObject
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
|
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()
|
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.
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