@Repository(value="blSystemPropertiesDao") public class SystemPropertiesDaoImpl extends AbstractCacheMissAware<SystemProperty> implements SystemPropertiesDao
| Type | Property and Description |
|---|---|
SystemProperty |
createNewSystem |
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
protected static org.apache.commons.logging.Log |
LOG |
protected SystemPropertyDaoQueryExtensionManager |
queryExtensionManager |
cacheManager, statisticsService| Constructor and Description |
|---|
SystemPropertiesDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
SystemProperty |
createNewSystemProperty() |
void |
deleteSystemProperty(SystemProperty systemProperty) |
protected org.apache.commons.logging.Log |
getLogger()
To provide more accurate logging, this abstract cache should utilize a logger from its child
implementation.
|
protected SystemProperty |
getNullObject(Class<SystemProperty> responseClass)
Retrieve a null representation of the cache item.
|
protected String |
getSite() |
List<SystemProperty> |
readAllSystemProperties() |
SystemProperty |
readById(Long id)
Reads a SystemProperty by its internal database id
|
SystemProperty |
readSystemPropertyByName(String name) |
void |
removeFromCache(SystemProperty systemProperty)
Removes the SystemProperty from the null-capable cache.
|
SystemProperty |
saveSystemProperty(SystemProperty systemProperty) |
buildKey, clearCache, getCache, getCachedObject, getObjectFromCache, removeItemFromCachepublic SystemProperty createNewSystemProperty
createNewSystemProperty in interface SystemPropertiesDaoprotected static final org.apache.commons.logging.Log LOG
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
protected SystemPropertyDaoQueryExtensionManager queryExtensionManager
public SystemProperty readById(Long id)
SystemPropertiesDaoreadById in interface SystemPropertiesDaoSystemPropertypublic SystemProperty saveSystemProperty(SystemProperty systemProperty)
saveSystemProperty in interface SystemPropertiesDaopublic void deleteSystemProperty(SystemProperty systemProperty)
deleteSystemProperty in interface SystemPropertiesDaopublic List<SystemProperty> readAllSystemProperties()
readAllSystemProperties in interface SystemPropertiesDaopublic SystemProperty readSystemPropertyByName(String name)
readSystemPropertyByName in interface SystemPropertiesDaopublic void removeFromCache(SystemProperty systemProperty)
SystemPropertiesDaoremoveFromCache in interface SystemPropertiesDaosystemProperty - the property instancepublic SystemProperty createNewSystemProperty()
createNewSystemProperty in interface SystemPropertiesDaoprotected org.apache.commons.logging.Log getLogger()
AbstractCacheMissAwaregetLogger in class AbstractCacheMissAware<SystemProperty>Log instance from the subclass of this abstract classprotected String getSite()
protected SystemProperty getNullObject(Class<SystemProperty> responseClass)
AbstractCacheMissAwaregetNullObject in class AbstractCacheMissAware<SystemProperty>responseClass - the class representing the type of the cache itemCopyright © 2022. All rights reserved.