com.partnersoft.maps.database
Class RoverDataTable

java.lang.Object
  extended by com.partnersoft.maps.database.RoverTable<RoverData>
      extended by com.partnersoft.maps.database.RoverDataTable

public class RoverDataTable
extends RoverTable<RoverData>


Constructor Summary
RoverDataTable(RoverDatabase database, java.lang.String name)
           
 
Method Summary
 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)
           
 
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

RoverDataTable

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

delete

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

insert

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

recordWithId

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

update

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

listAllData

public java.util.List<RoverData> listAllData()

removeByFrontend

public void removeByFrontend(java.lang.String frontendName)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

removeByFile

public void removeByFile(java.lang.String frontendName,
                         java.lang.String fileName)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

removeByEntity

public void removeByEntity(java.lang.String frontendName,
                           java.lang.String fileName,
                           java.lang.String entityName)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getLastInsertedId

public int getLastInsertedId()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

countByFrontend

public int countByFrontend(java.lang.String frontendName)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

countByFile

public int countByFile(java.lang.String frontendName,
                       java.lang.String fileName)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

countByEntity

public int countByEntity(java.lang.String frontendName,
                         java.lang.String fileName,
                         java.lang.String entityName)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException