Class MyBatisSolarNodeMetadataDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.mybatis.spring.support.SqlSessionDaoSupport
net.solarnetwork.central.dao.mybatis.support.BaseMyBatisDao
net.solarnetwork.central.dao.mybatis.support.BaseMyBatisGenericDao<SolarNodeMetadata,Long>
net.solarnetwork.central.dao.mybatis.MyBatisSolarNodeMetadataDao
- All Implemented Interfaces:
FilterableDao<SolarNodeMetadataFilterMatch,,Long, SolarNodeMetadataFilter> GenericDao<SolarNodeMetadata,,Long> SolarNodeMetadataDao,org.springframework.beans.factory.InitializingBean
public class MyBatisSolarNodeMetadataDao
extends BaseMyBatisGenericDao<SolarNodeMetadata,Long>
implements SolarNodeMetadataDao
MyBatis implementation of
SolarNodeMetadataDao.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe query parameter for a generalFilterobject value.Fields inherited from class net.solarnetwork.central.dao.mybatis.support.BaseMyBatisGenericDao
BEAN_OBJECT_PROPERTY, CHILD_DELETE, CHILD_INSERT, CHILD_UPDATE, DATE_PROPERTY, DELETE_OBJECT, ERROR_CODE_INVALID_QUERY, ID_PROPERTY, INDEX_PROPERTY, INSERT_OBJECT, QUERY_FOR_ALL, QUERY_FOR_ID, RELATION_DELETE, RELATION_INSERT, RELATION_LIST_QUERY_FOR_PARENT, RELATION_OBJ_QUERY_FOR_PARENT, RELATION_UPDATE, SORT_DESCRIPTORS_PROPERTY, UPDATE_OBJECTFields inherited from class net.solarnetwork.central.dao.mybatis.support.BaseMyBatisDao
FILTER_PROPERTY, FIRST_ROW, logFields inherited from class org.springframework.dao.support.DaoSupport
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindFiltered(SolarNodeMetadataFilter filter, List<net.solarnetwork.domain.SortDescriptor> sortDescriptors, Integer offset, Integer max) API for querying for a filtered set of results from all possible results.Methods inherited from class net.solarnetwork.central.dao.mybatis.support.BaseMyBatisGenericDao
delete, execute, get, getAll, getChildDelete, getChildInsert, getChildUpdate, getDelete, getDomainClass, getInsert, getMemberDomainKey, getMessageSource, getObjectType, getPrimaryKeyType, getQueryForAll, getQueryForId, getRelationDelete, getRelationInsert, getRelationObjectQueryForParent, getRelationQueryForParent, getRelationUpdate, getUpdate, handleAssignedPrimaryKeyStore, handleChildRelation, handleInsert, handleRelation, handleRelation, handleUpdate, mapSqlMapException, preprocessInsert, setChildDelete, setChildInsert, setChildUpdate, setDelete, setInsert, setMessageSource, setQueryForAll, setQueryForId, setRelationDelete, setRelationInsert, setRelationObjectQueryForParent, setRelationQueryForParent, setRelationUpdate, setUpdate, spaceAppend, storeMethods inherited from class net.solarnetwork.central.dao.mybatis.support.BaseMyBatisDao
executeCountQuery, selectFiltered, selectFiltered, selectFiltered, selectFiltered, selectFirst, selectList, selectLong, setSqlSessionFactoryMethods inherited from class org.mybatis.spring.support.SqlSessionDaoSupport
checkDaoConfig, createSqlSessionTemplate, getSqlSession, getSqlSessionFactory, getSqlSessionTemplate, setSqlSessionTemplateMethods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDaoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.solarnetwork.central.dao.GenericDao
delete, get, getAll, getObjectType, store
-
Field Details
-
PARAM_FILTER
The query parameter for a generalFilterobject value.- See Also:
-
-
Constructor Details
-
MyBatisSolarNodeMetadataDao
public MyBatisSolarNodeMetadataDao()Default constructor.
-
-
Method Details
-
findFiltered
public FilterResults<SolarNodeMetadataFilterMatch> findFiltered(SolarNodeMetadataFilter filter, List<net.solarnetwork.domain.SortDescriptor> sortDescriptors, Integer offset, Integer max) Description copied from interface:FilterableDaoAPI for querying for a filtered set of results from all possible results.- Specified by:
findFilteredin interfaceFilterableDao<SolarNodeMetadataFilterMatch,Long, SolarNodeMetadataFilter> - Parameters:
filter- the query filtersortDescriptors- the optional sort descriptorsoffset- an optional result offsetmax- an optional maximum number of returned results- Returns:
- the results, never null
-