public abstract class AbstractRecordManager<T extends Record> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractRecordManager.EMFProvider |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRecordManager(T theRecord) |
| Modifier and Type | Method and Description |
|---|---|
T |
commit(boolean publish)
Commit to storages
|
PublicationReport |
commitSafely(boolean publish) |
protected abstract Map<String,String> |
evaluateCentroid() |
protected void |
finalize() |
static Record |
getByID(long id) |
protected abstract PostgisTable |
getCentroidsTable() |
protected ContentHandler<T> |
getContentHandler() |
protected static javax.persistence.EntityManagerFactory |
getEMF() |
T |
getRecord() |
protected abstract void |
initCentroidLayer() |
static void |
setDefaultProvider(AbstractRecordManager.EMFProvider provider) |
static void |
shutdown() |
protected T |
storeInfo() |
protected AbstractRecordManager(T theRecord)
public static void setDefaultProvider(AbstractRecordManager.EMFProvider provider)
protected static javax.persistence.EntityManagerFactory getEMF()
public static void shutdown()
public static Record getByID(long id)
protected T storeInfo()
protected ContentHandler<T> getContentHandler()
public T getRecord()
public T commit(boolean publish) throws PersistenceException, ValidationException, PublishException
PersistenceExceptionPublishExceptionValidationExceptionpublic PublicationReport commitSafely(boolean publish)
protected void finalize()
throws Throwable
protected abstract PostgisTable getCentroidsTable()
protected abstract void initCentroidLayer()
throws SDIInteractionException
SDIInteractionExceptionCopyright © 2020. All Rights Reserved.