public interface CityObjectPersistenceManager
| Modifier and Type | Method and Description |
|---|---|
void |
delete(long cityObjectID)
Deletes a CityObject instance matching the provided ID.
|
void |
deleteList(java.util.List<java.lang.Long> cityObjectIDList)
Deletes all the CityObject instances matching the list of provided IDs.
|
void |
insert(oracle.spatial.citygml.model.CityObject cityObject)
Writes a new
CityObject instance to the datasource used by the manager implementation. |
oracle.spatial.citygml.model.CityObject |
read(java.lang.Integer classID,
long cityObjectID) |
oracle.spatial.citygml.model.CityObject |
read(long cityObjectID)
Retrieves a
CityObject instance matching the provided ID. |
java.util.List<oracle.spatial.citygml.model.CityObject> |
readList(oracle.spatial.citygml.api.CityObjectFilter filter)
Reads a list of CityObject instances matching the provided filter criteria.
|
java.util.List<oracle.spatial.citygml.model.CityObject> |
readList(java.util.List<java.lang.Long> cityObjectIDList)
Reads a list for CityObject instances matching the provided ID list.
|
void |
update(oracle.spatial.citygml.model.CityObject cityObject)
Inserts a new
CityObject instance to the database. |
java.util.List<oracle.spatial.citygml.model.CityObject> |
writeList(java.util.List<oracle.spatial.citygml.model.CityObject> cityObjectList)
Writes the contents of the provided list of
CityObject instances to the datasource used by the
manager implementation. |
oracle.spatial.citygml.model.CityObject read(long cityObjectID)
throws oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException
CityObject instance matching the provided ID.cityObjectID - the ID for the desired CityObject.oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException - if there is a prohlem reading the requested CiyObject instance.void insert(oracle.spatial.citygml.model.CityObject cityObject)
throws oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException
CityObject instance to the datasource used by the manager implementation.cityObject - the object to be inserted.oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException - if there is a prohlem inserting the provided CityObject feature.void update(oracle.spatial.citygml.model.CityObject cityObject)
throws oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException
CityObject instance to the database.cityObject - the object to be updated.oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException - if there is a prohlem updating the provided CityObject feature.java.util.List<oracle.spatial.citygml.model.CityObject> writeList(java.util.List<oracle.spatial.citygml.model.CityObject> cityObjectList)
throws oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException
CityObject instances to the datasource used by the
manager implementation.cityObjectList - the list of CityObject instances to insert.oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException - if there is a problem persisting the data.void delete(long cityObjectID)
throws oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException
cityObjectID - identifies the CityObject instance to delete.oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException - if there is a problem while deleting the requested CityObject feature.void deleteList(java.util.List<java.lang.Long> cityObjectIDList)
throws oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException
cityObjectIDList - the list of CityObject IDs to use when matching CityObject features.oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException - if there is a problem deleting one or more CityObject instances from the matching list.java.util.List<oracle.spatial.citygml.model.CityObject> readList(java.util.List<java.lang.Long> cityObjectIDList)
throws oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException
cityObjectIDList - the list of IDs to match.oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceExceptionjava.util.List<oracle.spatial.citygml.model.CityObject> readList(oracle.spatial.citygml.api.CityObjectFilter filter)
throws oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException
filter - describes the filtering information for the target CityObject instance(s).oracle.spatial.citygml.core.persistence.jdbc.CityObjectPersistenceException - if there is a problem reading from the datasource.oracle.spatial.citygml.model.CityObject read(java.lang.Integer classID,
long cityObjectID)