public class EventDetectorTemplateDao extends BaseDao
Modifier and Type | Class and Description |
---|---|
(package private) class |
EventDetectorTemplateDao.EventDetectorTemplateRowMapper |
(package private) class |
EventDetectorTemplateDao.TemplateEventDetectorRowMapper |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
DETECTORS_INSERT |
private static java.lang.String |
DETECTORS_SELECT |
private static java.lang.String |
TEMPLATES_INSERT |
private static java.lang.String |
TEMPLATES_SELECT |
Constructor and Description |
---|
EventDetectorTemplateDao() |
Modifier and Type | Method and Description |
---|---|
private java.util.List<EventDetectorTemplateVO> |
getByEventDetectorTemplateByName(java.lang.String name) |
private java.util.List<PointEventDetectorVO> |
getEventDetectors(EventDetectorTemplateVO template) |
EventDetectorTemplateVO |
getEventDetectorTemplate(int id) |
java.util.List<EventDetectorTemplateVO> |
getEventDetectorTemplatesWithoutDetectors() |
void |
insertEventDetectorTemplate(EventDetectorTemplateVO eventDetectorTemplate) |
private void |
saveEventDetectorReferences(EventDetectorTemplateVO eventDetectorTemplate) |
private void |
setEventDetectors(EventDetectorTemplateVO template) |
private void |
setRelationalData(EventDetectorTemplateVO template) |
boolToChar, charToBool, deleteInChunks, doInsert, doInsert, doInsert, doInsertLong, doInsertLong, doInsertLong, generateUniqueXid, getGeneratedKeyName, getPreparedStatementCreator, isXidUnique
batchUpdate, createDelimitedList, createDelimitedList, createDelimitedList, createIntValuePairs, createKeyValuePairs, dbEncodeSearchString, getInt, getTransactionManager, getTransactionTemplate, now, query, query, query, query, query, query, queryForList, queryForList, queryForObject, queryForObject, queryForObject, setInt
private static final java.lang.String DETECTORS_SELECT
private static final java.lang.String DETECTORS_INSERT
private static final java.lang.String TEMPLATES_INSERT
private static final java.lang.String TEMPLATES_SELECT
public void insertEventDetectorTemplate(EventDetectorTemplateVO eventDetectorTemplate) throws DAOException
DAOException
private java.util.List<EventDetectorTemplateVO> getByEventDetectorTemplateByName(java.lang.String name)
private void saveEventDetectorReferences(EventDetectorTemplateVO eventDetectorTemplate)
public EventDetectorTemplateVO getEventDetectorTemplate(int id)
private void setRelationalData(EventDetectorTemplateVO template)
private void setEventDetectors(EventDetectorTemplateVO template)
private java.util.List<PointEventDetectorVO> getEventDetectors(EventDetectorTemplateVO template)
public java.util.List<EventDetectorTemplateVO> getEventDetectorTemplatesWithoutDetectors()