Provides an interface to access related org.kaiwitte.workbench.data.DataManager
s.
public interface MetaDataManager {public MetaRecord find(Condition condition)
throws IOException;public void update(MetaRecord record)
throws IOException;public void insert(MetaRecord record)
throws IOException;public void delete(long recordNumber)
throws IOException;
}
Inheritance Path. org.kaiwitte.workbench.data.MetaDataManager
Synopsis: public void delete(long recordNumber) throws java.io.IOException;
Parameters
recordNumber
the ID of the record
Exceptions
IOException
iff an I/O error occurs
Deletes the org.kaiwitte.workbench.data.MetaRecord
with the specified ID.
Synopsis: public MetaRecord[] find(org.kaiwitte.workbench.data.Condition co\ ndition) throws java.io.IOException;
Parameters
condition
the matching org.kaiwitte.workbench.data.Condition
all matching MetaRecords
Exceptions
IOException
iff an I/O error occurs
Returns all org.kaiwitte.workbench.data.MetaRecord
s that match the org.kaiwitte.workbench.data.Condition
.
Synopsis: public void insert(org.kaiwitte.workbench.data.MetaRecord record) throws java.io.IOException;
Parameters
record
the new MetaRecord
Exceptions
IOException
iff an I/O error occurs
Inserts a new org.kaiwitte.workbench.data.MetaRecord
.
Synopsis: public void update(org.kaiwitte.workbench.data.MetaRecord record) throws java.io.IOException;
Parameters
record
the record with the new values
Exceptions
IOException
iff an I/O error occurs
Updates the provided org.kaiwitte.workbench.data.MetaRecord
with its changed fields.
The record is identified by its ID. Connected records
are updated if they already have an ID.
Otherwise they are created.