Class JdbcAppSettingDao

java.lang.Object
net.solarnetwork.central.common.dao.jdbc.JdbcAppSettingDao
All Implemented Interfaces:
AppSettingDao, net.solarnetwork.dao.GenericDao<AppSetting,KeyTypePK>

public class JdbcAppSettingDao extends Object implements AppSettingDao
JDBC implementation of AppSettingDao.
Since:
2.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.solarnetwork.dao.GenericDao

    net.solarnetwork.dao.GenericDao.EntityEventType, net.solarnetwork.dao.GenericDao.StandardSortKey
  • Field Summary

    Fields inherited from interface net.solarnetwork.dao.GenericDao

    ENTITY_EVENT_ENTITY_ID_PROPERTY, ENTITY_EVENT_ENTITY_PROPERTY, ENTITY_EVENT_TOPIC_TEMPLATE, SORT_BY_CREATED_ASCENDING, SORT_BY_CREATED_DESCENDING, SORT_BY_CREATED_ID_ASCENDING, SORT_BY_CREATED_ID_DESCENDING, SORT_BY_ID_ASCENDING, SORT_BY_ID_DESCENDING
  • Constructor Summary

    Constructors
    Constructor
    Description
    JdbcAppSettingDao(org.springframework.jdbc.core.JdbcOperations jdbcOps)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
    Delete all settings with a given key.
     
    getAll(List<net.solarnetwork.domain.SortDescriptor> sorts)
     
    Class<? extends AppSetting>
     
    Transactionally lock a set of settings in the database.
    Transactionally lock a specific setting in the database.
    save(AppSetting entity)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.solarnetwork.dao.GenericDao

    entityEventTopic, entityKey
  • Constructor Details

    • JdbcAppSettingDao

      public JdbcAppSettingDao(org.springframework.jdbc.core.JdbcOperations jdbcOps)
      Constructor.
      Parameters:
      jdbcOps - the JDBC operations
      Throws:
      IllegalArgumentException - if any argument is null
  • Method Details