|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.db.jdbc.DataSet | +--weblogic.db.jdbc.TableDataSet | +--weblogic.db.jdbc.EventfulTableDataSet
An EventfulTableDataSet is a dbKona TableDataSet that sends and receives events when its data is updated locally or in the DBMS. This class implements weblogic.event.actions.ActionDef; its action method updates the DBMS.
KeyDef
,
TableDataSet
,
SelectStmt
,
EventfulRecord
, Serialized FormFields inherited from class weblogic.db.jdbc.TableDataSet |
keydefval |
Fields inherited from class weblogic.db.jdbc.DataSet |
cached,
resetable,
resultval,
stmt |
Constructor Summary | |
EventfulTableDataSet(T3Client t3,
java.sql.Connection conn,
java.lang.String tablename,
KeyDef key)
Constructs an EventfulTableDataSet. |
|
EventfulTableDataSet(T3Client t3,
java.sql.Connection conn,
java.lang.String tablename,
java.lang.String attributes,
KeyDef key)
Constructs an EventfulTableDataSet. |
Method Summary | |
void |
action(EventMessageDef ev)
The action method that is invoked by the WebLogic Server when an EventfulRecord sends an event message that it has changed. |
Record |
addRecord()
Adds an EventfulRecord to an EventfulTableDataSet. |
void |
addToRecords(java.lang.String uniqueKey,
Record record)
|
KeyDef |
getKeyDef()
Get the KeyDef assocciated with an EventfulTableDataSet. |
Record |
lookupRecord(java.lang.String uniqueKey)
Returns the Record that matches the specified unique key. |
void |
registerInit(ParamSet params)
Internal use only. |
void |
setEventfulObject(ActionDef action)
Sets the action object that is invoked when one of the EventfulRecords in an EventfulTableDataSet is changed. |
void |
setServices(T3ServicesDef services)
Internal use only. |
Methods inherited from class weblogic.db.jdbc.TableDataSet |
attributes,
debugInfo,
fetchRecords,
getSelectString,
keydef,
optimisticLockingCol,
order,
orderstr,
other,
refresh,
refreshOnSave,
removeDeletedRecords,
resultSet,
save,
save,
save,
saveWithoutStatusUpdate,
schema,
selectStmt,
setOptimisticLockingColumn,
setRefreshOnSave,
tableName,
tableQualifier,
updateStatus,
where |
Methods inherited from class weblogic.db.jdbc.DataSet |
allRecordsRetrieved,
clearRecords,
close,
connection,
containsRecord,
destroy,
fetchRecords,
fetchRecords,
getRecord,
getResultSet,
initialize,
lastFetchSize,
maxColumnWidths,
readExternal,
releaseRecords,
removeRecord,
reset,
size,
toString,
writeExternal |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public EventfulTableDataSet(T3Client t3, java.sql.Connection conn, java.lang.String tablename, KeyDef key) throws java.sql.SQLException, DataSetException, EventRegistrationException
t3
- T3Clientconn
- JDBC Connectiontablename
- DBMS table for creating an EventfulTableDataSetkey
- KeyDef that defines the unique key for saving
changes to records in the DBMS tableTableDataSet
,
EventfulRecord
,
ActionDef
public EventfulTableDataSet(T3Client t3, java.sql.Connection conn, java.lang.String tablename, java.lang.String attributes, KeyDef key) throws DataSetException, java.sql.SQLException, EventRegistrationException
t3
- T3Clientconn
- JDBC Connectiontablename
- DBMS table for creating an EventfulTableDataSetattributes
- Subset of the columns in the DBMS table to use
for creating an EventfulTableDataSetkey
- KeyDef that defines the unique key for saving
changes to records in the DBMS tableTableDataSet
,
EventfulRecord
,
ActionDef
Method Detail |
public KeyDef getKeyDef()
public void setEventfulObject(ActionDef action)
action
- Action object that defines the response
of an EventfulTableDataSet when it receives
an event message that one of its EventfulRecords
has been changedpublic void setServices(T3ServicesDef services)
public void registerInit(ParamSet params)
public void action(EventMessageDef ev)
ev
- EventMessagepublic Record addRecord() throws DataSetException, java.sql.SQLException
DataSet.addRecord()
public Record lookupRecord(java.lang.String uniqueKey)
uniqueKey
- Unique key that identifies the Record
of interest in an EventfulTableDataSetpublic void addToRecords(java.lang.String uniqueKey, Record record)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |