com.partnersoft.maps.database
Class RoverFindItemTable

java.lang.Object
  extended by com.partnersoft.maps.database.RoverTable<RoverFindItem>
      extended by com.partnersoft.maps.database.RoverFindItemTable

public class RoverFindItemTable
extends RoverTable<RoverFindItem>


Constructor Summary
RoverFindItemTable(RoverDatabase database, java.lang.String name)
           
 
Method Summary
 void create()
           
 void delete(RoverFindItem oldRecord)
           
 int insert(int id, RoverFindItem newRecord)
           
 void loadFindItems(Naming<FindItemIndex> findItems)
           
 RoverFindItem recordWithId(int id)
           
 void update(RoverFindItem updatedRecord)
           
 
Methods inherited from class com.partnersoft.maps.database.RoverTable
clear, drop, getDatabase, getDeleter, getInserter, getLastGeneratedId, getTable, getUpdater
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoverFindItemTable

public RoverFindItemTable(RoverDatabase database,
                          java.lang.String name)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

create

public void create()
            throws java.sql.SQLException
Specified by:
create in class RoverTable<RoverFindItem>
Throws:
java.sql.SQLException

delete

public void delete(RoverFindItem oldRecord)
            throws java.sql.SQLException
Specified by:
delete in class RoverTable<RoverFindItem>
Throws:
java.sql.SQLException

insert

public int insert(int id,
                  RoverFindItem newRecord)
           throws java.sql.SQLException,
                  java.io.IOException
Specified by:
insert in class RoverTable<RoverFindItem>
Throws:
java.sql.SQLException
java.io.IOException

recordWithId

public RoverFindItem recordWithId(int id)
                           throws java.sql.SQLException
Specified by:
recordWithId in class RoverTable<RoverFindItem>
Throws:
java.sql.SQLException

update

public void update(RoverFindItem updatedRecord)
            throws java.sql.SQLException,
                   RoverFormatException
Specified by:
update in class RoverTable<RoverFindItem>
Throws:
java.sql.SQLException
RoverFormatException

loadFindItems

public void loadFindItems(Naming<FindItemIndex> findItems)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException