|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.taggercat.model.DataSourceEvent
public class DataSourceEvent
DataSourceEvent objects are passed to
DataSourceEventListeners to notify of
DataSource events.

| Field Summary | |
|---|---|
static int |
AFTER_DELETE
Value for type; DataSource just AFTER the DELETE operation. |
static int |
AFTER_INSERT
Value for type; DataSource just AFTER the INSERT operation. |
static int |
AFTER_QBF
Value for type; DataSource just after the QBF operation. |
static int |
AFTER_QUERY
Value for type; DataSource has executed its query. |
static int |
AFTER_SAVE
Value for type; DataSource just after the SAVE operation. |
static int |
BEFORE_QBF
Value for type; DataSource just before the QBF operation. |
static int |
BEFORE_QUERY
Value for type; DataSource just before the query executes. |
static int |
BEFORE_SAVE
Value for type; DataSource just before the SAVE operation. |
static int |
REPOSITION
Value for type; DataSource has repositioned to new tcEntity. |
| Constructor Summary | |
|---|---|
DataSourceEvent(DataSource dataSource,
int type)
Creates a DataSourceEvent instance. |
|
| Method Summary | |
|---|---|
DataSource |
getDataSource()
Returns the DataSource that originated this event. |
int |
getType()
Returns event type (DataSourceEvent.REPOSITION or DataSourceEvent.QUERY_EXECUTE). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int REPOSITION
DataSource has repositioned to new tcEntity.
public static final int BEFORE_QUERY
DataSource just before the query executes.
public static final int AFTER_QUERY
DataSource has executed its query.
public static final int BEFORE_SAVE
DataSource just before the SAVE operation.
public static final int AFTER_SAVE
DataSource just after the SAVE operation.
public static final int BEFORE_QBF
DataSource just before the QBF operation.
public static final int AFTER_QBF
DataSource just after the QBF operation.
public static final int AFTER_INSERT
DataSource just AFTER the INSERT operation.
public static final int AFTER_DELETE
DataSource just AFTER the DELETE operation.
| Constructor Detail |
|---|
public DataSourceEvent(DataSource dataSource,
int type)
dataSource - the DataSource creating this event.type - the event type| Method Detail |
|---|
public DataSource getDataSource()
DataSource that originated this event.
DataSource that originated this event.public int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||