com.partnersoft.maps.database
Class RoverImageFileTable

java.lang.Object
  extended by com.partnersoft.maps.database.RoverTable<RoverImageFile>
      extended by com.partnersoft.maps.database.RoverImageFileTable

public class RoverImageFileTable
extends RoverTable<RoverImageFile>


Constructor Summary
RoverImageFileTable(RoverDatabase database, java.lang.String name)
           
 
Method Summary
 void create()
           
 void delete(RoverImageFile oldRecord)
           
 int idForGuid(java.lang.String guid)
           
 byte[] imageBytesForId(int id)
           
 java.awt.Image imageForId(int id)
           
 int insert(int id, RoverImageFile newRecord)
           
 RoverImageFile recordWithId(int id)
           
 void update(RoverImageFile 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

RoverImageFileTable

public RoverImageFileTable(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<RoverImageFile>
Throws:
java.sql.SQLException

delete

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

insert

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

recordWithId

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

update

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

imageForId

public java.awt.Image imageForId(int id)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

imageBytesForId

public byte[] imageBytesForId(int id)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

idForGuid

public int idForGuid(java.lang.String guid)
              throws java.sql.SQLException
Throws:
java.sql.SQLException