com.partnersoft.maps.database
Class RoverShapeTable<T extends RoverShape>
java.lang.Object
com.partnersoft.maps.database.RoverTable<T>
com.partnersoft.maps.database.RoverShapeTable<T>
- Direct Known Subclasses:
- RoverAreaShapeTable, RoverImageShapeTable, RoverLineShapeTable, RoverPointShapeTable, RoverTextShapeTable
public abstract class RoverShapeTable<T extends RoverShape>
- extends RoverTable<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shapeBuffer
protected DynamicByteArray shapeBuffer
RoverShapeTable
public RoverShapeTable(RoverDatabase database,
java.lang.String name)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
listShapes
public java.util.List<RoverShape> listShapes()
listShapesIn
public java.util.List<RoverShape> listShapesIn(XyBounds bounds,
double scale)
listShapesForEntityId
public java.util.List<RoverShape> listShapesForEntityId(int id)
listBytes
public java.util.List<byte[]> listBytes()
listBytesIn
public java.util.List<byte[]> listBytesIn(XyBounds bounds,
double scale)
bytesIn
public RoverBytesSqlInput bytesIn(XyBounds bounds,
double scale)
bytesForEntityId
public RoverBytesSqlInput bytesForEntityId(int id)
create
public void create()
throws java.sql.SQLException
- Specified by:
create in class RoverTable<T extends RoverShape>
- Throws:
java.sql.SQLException
updateMaximumScales
public void updateMaximumScales(float[] maximumScales)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
delete
public void delete(T oldRecord)
throws java.sql.SQLException
- Specified by:
delete in class RoverTable<T extends RoverShape>
- Throws:
java.sql.SQLException
insert
public int insert(int dataId,
T newRecord)
throws java.sql.SQLException,
java.io.IOException
- Specified by:
insert in class RoverTable<T extends RoverShape>
- Throws:
java.sql.SQLException
java.io.IOException
recordWithId
public T recordWithId(int id)
throws java.sql.SQLException
- Specified by:
recordWithId in class RoverTable<T extends RoverShape>
- Throws:
java.sql.SQLException
update
public void update(T updatedRecord)
throws java.sql.SQLException,
java.io.IOException
- Specified by:
update in class RoverTable<T extends RoverShape>
- Throws:
java.sql.SQLException
java.io.IOException
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