public class RoverImageFileTable extends RoverTable<RoverImageFile>
| Constructor and Description |
|---|
RoverImageFileTable(RoverDatabase database,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
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) |
clear, drop, getDatabase, getDeleter, getInserter, getLastGeneratedId, getTable, getUpdaterpublic RoverImageFileTable(RoverDatabase database, java.lang.String name) throws java.sql.SQLException
java.sql.SQLExceptionpublic void create()
throws java.sql.SQLException
create in class RoverTable<RoverImageFile>java.sql.SQLExceptionpublic void delete(RoverImageFile oldRecord) throws java.sql.SQLException
delete in class RoverTable<RoverImageFile>java.sql.SQLExceptionpublic int insert(int id,
RoverImageFile newRecord)
throws java.sql.SQLException,
java.io.IOException
insert in class RoverTable<RoverImageFile>java.sql.SQLExceptionjava.io.IOExceptionpublic RoverImageFile recordWithId(int id) throws java.sql.SQLException
recordWithId in class RoverTable<RoverImageFile>java.sql.SQLExceptionpublic void update(RoverImageFile updatedRecord) throws java.sql.SQLException, RoverFormatException
update in class RoverTable<RoverImageFile>java.sql.SQLExceptionRoverFormatExceptionpublic java.awt.Image imageForId(int id)
throws java.sql.SQLException
java.sql.SQLExceptionpublic byte[] imageBytesForId(int id)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int idForGuid(java.lang.String guid)
throws java.sql.SQLException
java.sql.SQLException