public class RoverDataTable extends RoverTable<RoverData>
| Constructor and Description |
|---|
RoverDataTable(RoverDatabase database,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
countByEntity(java.lang.String frontendName,
java.lang.String fileName,
java.lang.String entityName) |
int |
countByFile(java.lang.String frontendName,
java.lang.String fileName) |
int |
countByFrontend(java.lang.String frontendName) |
void |
create() |
void |
delete(RoverData oldRecord) |
int |
getLastInsertedId() |
int |
insert(int id,
RoverData newRecord) |
java.util.List<RoverData> |
listAllData() |
RoverData |
recordWithId(int id) |
void |
removeByEntity(java.lang.String frontendName,
java.lang.String fileName,
java.lang.String entityName) |
void |
removeByFile(java.lang.String frontendName,
java.lang.String fileName) |
void |
removeByFrontend(java.lang.String frontendName) |
void |
update(RoverData updatedRecord) |
clear, drop, getDatabase, getDeleter, getInserter, getLastGeneratedId, getTable, getUpdaterpublic RoverDataTable(RoverDatabase database, java.lang.String name) throws java.sql.SQLException
java.sql.SQLExceptionpublic void create()
throws java.sql.SQLException
create in class RoverTable<RoverData>java.sql.SQLExceptionpublic void delete(RoverData oldRecord) throws java.sql.SQLException
delete in class RoverTable<RoverData>java.sql.SQLExceptionpublic int insert(int id,
RoverData newRecord)
throws java.sql.SQLException,
RoverFormatException
insert in class RoverTable<RoverData>java.sql.SQLExceptionRoverFormatExceptionpublic RoverData recordWithId(int id) throws java.sql.SQLException, java.io.IOException
recordWithId in class RoverTable<RoverData>java.sql.SQLExceptionjava.io.IOExceptionpublic void update(RoverData updatedRecord) throws java.sql.SQLException, java.io.IOException
update in class RoverTable<RoverData>java.sql.SQLExceptionjava.io.IOExceptionpublic java.util.List<RoverData> listAllData()
public void removeByFrontend(java.lang.String frontendName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void removeByFile(java.lang.String frontendName,
java.lang.String fileName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void removeByEntity(java.lang.String frontendName,
java.lang.String fileName,
java.lang.String entityName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getLastInsertedId()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int countByFrontend(java.lang.String frontendName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int countByFile(java.lang.String frontendName,
java.lang.String fileName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int countByEntity(java.lang.String frontendName,
java.lang.String fileName,
java.lang.String entityName)
throws java.sql.SQLException
java.sql.SQLException