Uses of Interface
org.apache.empire.data.RecordData
Packages that use RecordData
Package
Description
This package contains interfaces for data and metadata handling.
This package contains implmentations of Empire's data and metadata interfaces for JavaBeans of Data Tranfer Objects (DTO's).
This package contains the core Empire-DB implementation classes.
-
Uses of RecordData in org.apache.empire.data
Subinterfaces of RecordData in org.apache.empire.dataModifier and TypeInterfaceDescriptioninterfaceThe record interface provides methods used for updating data. -
Uses of RecordData in org.apache.empire.data.bean
Classes in org.apache.empire.data.bean that implement RecordDataModifier and TypeClassDescriptionclassBeanRecordProxy This class defines proxy that allows any POJO to behave like a record object. -
Uses of RecordData in org.apache.empire.data.list
Classes in org.apache.empire.data.list that implement RecordDataMethods in org.apache.empire.data.list with parameters of type RecordDataModifier and TypeMethodDescriptionDataListFactory.newEntry(int rownum, RecordData dataRow) DataListFactoryImpl.newEntry(int rownum, RecordData dataRow) voidDataListEntry.updateData(RecordData recData) Updates the fields of the entry with the corresponding fields of a record. -
Uses of RecordData in org.apache.empire.db
Classes in org.apache.empire.db that implement RecordDataModifier and TypeClassDescriptionclassThis class is used to perform database queries from a DBCommand object and access the results.
In oder to perform a query call the open() function or - for single row queries - call getRecordData();
You can iterate through the rows using moveNext() or an iterator.classThis class represents a record from a database table, view or query The class provides methods to create, read, update and delete records If an Idendity-column (AUTOINC) is defined, the value will be set upon creation by the dbms to the next value If a Timestamp-column is defined the value will be automatically set and concurrent changes of the record will be detected If changes to the record are made, but a rollback on the connection is performed, the changes will be reverted (Rollback-Handling) The record is Serializable either if the provided DBContext is serializable, or if the Context is provided on deserialization in a derived class.classThis abstract class provides write access to the fields of a record The class provides methods that are useful for frontend-form development like - providing information about the allowed values for a field (field options) - providing information about whether or not a field is visible to the user - providing information about whether or not a field is required (mandantory) - providing information about whether or not a field is read-only - providing information about whether a particular field value is valid - providing information about whether a field was modified since it was read from the database - providing information about whether the record was modified Also, field value changes, can be handled using the onFieldChanged event.classThis class represents a record from a database table, view or query Other than DBRecord it is not permanently attached to a context or rowset Thus it has a Default constructor and is essentially a dynamic beanclassThis class provides access to the fields of one data-row of a table, view or query The fields can be accessed either by Column or by index There are various accessor functions for many data types.Methods in org.apache.empire.db with parameters of type RecordDataModifier and TypeMethodDescriptionvoidDBCommand.addKeyConstraints(DBRowSet rowset, RecordData data) Adds key constraints the commandvoidDBQuery.initRecord(DBRecordBase record, RecordData recData, boolean newRecord) Add rowset datafinal voidDBRowSet.initRecord(DBRecordBase record, RecordData recData) Initializes a DBRecord for this rowset for an existing recordvoidDBRowSet.initRecord(DBRecordBase record, RecordData recData, boolean newRecord) Initializes a DBRecord for this rowset using the record data provided (i.e. from a DBReader)
The record may then be modified and updated.
At least all primary key columns must be supplied.
We strongly recommend to supply the value of the update timestamp column in order to detect concurrent changes. -
Uses of RecordData in org.apache.empire.db.generic
Classes in org.apache.empire.db.generic that implement RecordData