BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.db.jdbc
Class EventfulRecord

java.lang.Object
  |
  +--weblogic.db.jdbc.Record
        |
        +--weblogic.db.jdbc.EventfulRecord

Deprecated. the weblogic events are deprecated

public class EventfulRecord
extends Record
implements java.io.Externalizable

An EventfulRecord is a dbKona record that sends events when it is changed. Methods in this class get and set the unique key with which the record is saved to the DBMS, and to set the values in an EventfulRecord to the values in another Record.

Author:
Copyright (c) 1996-1998 by WebLogic, Inc. All Rights Reserved., Copyright (c) 1998-1999 by BEA Systems, Inc. All Rights Reserved.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
See Also:
Record, EventfulTableDataSet, Serialized Form

Fields inherited from class weblogic.db.jdbc.Record
isclean, numcols, parentdataset, values
 
Constructor Summary
EventfulRecord()
          Deprecated. Default constructor.
EventfulRecord(weblogic.common.T3Client t3, EventfulTableDataSet etds)
          Deprecated. The WebLogic Event api is deprecated.
 
Method Summary
protected  void changeStatus(java.sql.Connection conn)
          Deprecated.  
 void destroy()
          Deprecated. Internal use only.
 java.lang.String getUniqueKey()
          Deprecated. The WebLogic Event api is deprecated.
 void initialize()
          Deprecated. Internal use only.
protected  Record internal_fetch()
          Deprecated.  
 void readExternal(java.io.ObjectInput in)
          Deprecated. Internal use only.
 void setRecord(Record newValues)
          Deprecated. The WebLogic Event api is deprecated.
 java.lang.String uniqueKey(KeyDef keydef)
          Deprecated. The WebLogic Event api is deprecated.
 void writeExternal(java.io.ObjectOutput out)
          Deprecated. Internal use only.
 
Methods inherited from class weblogic.db.jdbc.Record
asFormattedString, dataset, getRefreshQueryString, getSaveString, getValue, getValue, isAZombie, markAsDelete, markAsInsert, markAsUpdate, markAsZombie, markForInsert, markForUpdate, markRecordClean, markToBeDeleted, markValueClean, markValueClean, markValueDirty, markValueDirty, needsToBeSaved, recordIsClean, refresh, save, save, saveWithoutStatusUpdate, schema, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, size, toBeSavedWithDelete, toBeSavedWithInsert, toBeSavedWithUpdate, toString, unmarkToBeDeleted, updateStatus, valueIsClean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventfulRecord

public EventfulRecord(weblogic.common.T3Client t3,
                      EventfulTableDataSet etds)
               throws DataSetException,
                      java.sql.SQLException
Deprecated. The WebLogic Event api is deprecated.
Constructs an EventfulRecord.

Parameters:
t3 - T3Client
etds - EventfulTableDataset to which an EventfulRecord belongs
Throws:
DataSetException - if there is an error
java.sql.SQLException - if there is a SQL error
See Also:
TableDataSet

EventfulRecord

public EventfulRecord()
Deprecated. 
Default constructor. Do not use.
Method Detail

getUniqueKey

public java.lang.String getUniqueKey()
Deprecated. The WebLogic Event api is deprecated.
Gets the unique key for an EventfulRecord. The unique key sets the columns for modifying a record in the DBMS.

Returns:
Unique key

uniqueKey

public java.lang.String uniqueKey(KeyDef keydef)
                           throws DataSetException,
                                  java.sql.SQLException
Deprecated. The WebLogic Event api is deprecated.
Calculates the uniqueKey for the specified KeyDef.

Parameters:
keydef - KeyDef object that defines the columns of the unique key to be used for modifications to a row in the DBMS
Returns:
Unique key
Throws:
DataSetException - if there is an error
java.sql.SQLException - if there is a SQL error

setRecord

public void setRecord(Record newValues)
Deprecated. The WebLogic Event api is deprecated.
Sets the values of an EventfulRecord to values contained in a second record. Useful for updates.

Parameters:
newValues - Record from which the values should be copied

changeStatus

protected void changeStatus(java.sql.Connection conn)
                     throws DataSetException,
                            java.sql.SQLException
Deprecated. 


internal_fetch

protected Record internal_fetch()
                         throws java.sql.SQLException,
                                DataSetException
Deprecated. 


initialize

public void initialize()
Deprecated. 
Internal use only.


destroy

public void destroy()
Deprecated. 
Internal use only.


readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deprecated. 
Internal use only.
Specified by:
readExternal in interface java.io.Externalizable

Throws:
java.lang.ClassNotFoundException - if there is an error

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Deprecated. 
Internal use only.
Specified by:
writeExternal in interface java.io.Externalizable


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.