public interface IGeoRepository<R extends IGeoPointInfo>
Abstract Repository to load/save List<IGeoPointInfo
> .
It can be used for GeoPointDto
or any custom IGeoPointInfo
implementation.
Created by k3b on 17.03.2015.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createId()
Generate a new id for
IGeoPointInfo.getId() . |
IGeoRepository<R> |
delete(R item)
Removes item from repository.
|
java.util.List<R> |
load()
Cached: Load from repository.
|
java.util.List<R> |
reload()
Uncached: Fresh load from repository.
|
IGeoRepository<R> |
save()
Save back in memory-data back to repository
|
java.util.List<R> load()
Cached: Load from repository.
java.util.List<R> reload()
Uncached: Fresh load from repository.
IGeoRepository<R> save()
Save back in memory-data back to repository
java.lang.String createId()
Generate a new id for IGeoPointInfo.getId()
.
IGeoRepository<R> delete(R item)
Removes item from repository.