public interface TileSetIDBroker
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
When the user of a tilset id broker is done obtaining tileset ids,
it must call this method to give the tileset id broker an
opportunity to flush any newly created tileset ids back to its
persistent store.
|
int |
getTileSetID(String tileSetName)
Returns the unique identifier for the named tileset.
|
boolean |
tileSetMapped(String tileSetName)
Returns true if the specified tileset name is currently mapped to
some value by this broker.
|
int getTileSetID(String tileSetName) throws PersistenceException
PersistenceException - thrown if an error occurs
communicating with the underlying persistence mechanism used to
store the name to id mappings.boolean tileSetMapped(String tileSetName) throws PersistenceException
PersistenceException - thrown if an error occurs
communicating with the underlying persistence mechanism used to
store the name to id mappings.void commit()
throws PersistenceException
PersistenceExceptionCopyright © 2015. All rights reserved.