data
Interface DAO

All Known Implementing Classes:
Database

public interface DAO


Field Summary
static int AND
           
static int OR
           
 
Method Summary
 int addRecord(String[] data)
           
 void deleteRecord(int recNo)
           
 int[] findRecords(String[] criteria, int bool)
           
 String[] readRecord(int recNo)
           
 void updateRecord(int recNo, String[] data)
           
 

Field Detail

AND

static final int AND
See Also:
Constant Field Values

OR

static final int OR
See Also:
Constant Field Values
Method Detail

addRecord

int addRecord(String[] data)
              throws DuplicateIndexException
Throws:
DuplicateIndexException

deleteRecord

void deleteRecord(int recNo)
                  throws RecordNotFoundException
Throws:
RecordNotFoundException

findRecords

int[] findRecords(String[] criteria,
                  int bool)

readRecord

String[] readRecord(int recNo)
                    throws RecordNotFoundException
Throws:
RecordNotFoundException

updateRecord

void updateRecord(int recNo,
                  String[] data)
                  throws RecordNotFoundException
Throws:
RecordNotFoundException