public abstract class AbstractSharedRecordPlugin extends Object implements com.whitestein.lsps.model.sharedrecord.SharedRecordPlugin
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<String,com.whitestein.lsps.common.BasicDao<? extends com.whitestein.lsps.common.AbstractEntity,Long>> |
daoMap |
Constructor and Description |
---|
AbstractSharedRecordPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
void |
flush(Set<String> entityNames) |
com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity |
getEntity(String entityName,
Serializable id) |
com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity |
getEntityProxy(String entityName,
Serializable id) |
protected abstract SharedRecordPluginEntityProxy<? extends EntityWithId<Long>> |
getSharedRecordPluginEntityProxy(String entityName,
long id,
com.whitestein.lsps.common.AbstractEntity entity) |
Collection<String> |
getSupportedEntityNames() |
void |
loadProxies() |
protected final ConcurrentHashMap<String,com.whitestein.lsps.common.BasicDao<? extends com.whitestein.lsps.common.AbstractEntity,Long>> daoMap
public com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity getEntity(String entityName, Serializable id)
getEntity
in interface com.whitestein.lsps.model.sharedrecord.SharedRecordPlugin
public com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity getEntityProxy(String entityName, Serializable id)
getEntityProxy
in interface com.whitestein.lsps.model.sharedrecord.SharedRecordPlugin
protected abstract SharedRecordPluginEntityProxy<? extends EntityWithId<Long>> getSharedRecordPluginEntityProxy(String entityName, long id, com.whitestein.lsps.common.AbstractEntity entity)
entityName
- id
- entity
- public Collection<String> getSupportedEntityNames()
getSupportedEntityNames
in interface com.whitestein.lsps.model.sharedrecord.SharedRecordPlugin
public void flush()
flush
in interface com.whitestein.lsps.model.sharedrecord.SharedRecordPlugin
public void flush(Set<String> entityNames)
flush
in interface com.whitestein.lsps.model.sharedrecord.SharedRecordPlugin
public void loadProxies()
loadProxies
in interface com.whitestein.lsps.model.sharedrecord.SharedRecordPlugin
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.