public class HibernateAlertEntityDao extends ConfluenceHibernateObjectDao implements com.atlassian.diagnostics.internal.dao.AlertEntityDao
Modifier and Type | Class and Description |
---|---|
static interface |
HibernateAlertEntityDao.SatiableConsumer<T>
A consumer that accepts a single input argument and returns a boolean indicating if further
inputs are wanted.
|
HibernateObjectDao.Cacheability
cacheFactory, confluenceUserDao
Constructor and Description |
---|
HibernateAlertEntityDao() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAll(@NonNull com.atlassian.diagnostics.AlertCriteria alertCriteria) |
Set<String> |
findAllComponentIds() |
Map<String,com.atlassian.diagnostics.Severity> |
findAllIssueIds() |
Set<String> |
findAllNodeNames() |
Set<String> |
findAllPluginKeys() |
@Nullable com.atlassian.diagnostics.internal.dao.AlertEntity |
getById(long id) |
Class |
getPersistentClass()
Gets the type of
EntityObject this Dao works with. |
@NonNull com.atlassian.diagnostics.internal.dao.AlertEntity |
save(@NonNull com.atlassian.diagnostics.Alert alert) |
void |
streamAll(@NonNull com.atlassian.diagnostics.AlertCriteria alertCriteria,
@NonNull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback,
@NonNull com.atlassian.diagnostics.PageRequest pageRequest) |
void |
streamByIds(@NonNull Collection<Long> ids,
@NonNull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback) |
void |
streamMetrics(@NonNull com.atlassian.diagnostics.AlertCriteria criteria,
@NonNull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertMetric> rowCallback,
@NonNull com.atlassian.diagnostics.PageRequest pageRequest) |
void |
streamMinimalAlerts(@NonNull com.atlassian.diagnostics.AlertCriteria alertCriteria,
@NonNull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.MinimalAlertEntity> rowCallback,
@NonNull com.atlassian.diagnostics.PageRequest pageRequest) |
findAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, saveEntity, setCacheFactory, setConfluenceUserDao, updateEntityModificationData, updateModificationData
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSession, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
public void deleteAll(@NonNull com.atlassian.diagnostics.AlertCriteria alertCriteria)
deleteAll
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public Set<String> findAllComponentIds()
findAllComponentIds
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public Map<String,com.atlassian.diagnostics.Severity> findAllIssueIds()
findAllIssueIds
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public Set<String> findAllNodeNames()
findAllNodeNames
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public Set<String> findAllPluginKeys()
findAllPluginKeys
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public @Nullable com.atlassian.diagnostics.internal.dao.AlertEntity getById(long id)
getById
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public Class getPersistentClass()
ObjectDaoInternal
EntityObject
this Dao works with.getPersistentClass
in interface ObjectDao
getPersistentClass
in interface ObjectDaoInternal
public @NonNull com.atlassian.diagnostics.internal.dao.AlertEntity save(@NonNull com.atlassian.diagnostics.Alert alert)
save
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public void streamAll(@NonNull com.atlassian.diagnostics.AlertCriteria alertCriteria, @NonNull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback, @NonNull com.atlassian.diagnostics.PageRequest pageRequest)
streamAll
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public void streamByIds(@NonNull Collection<Long> ids, @NonNull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback)
streamByIds
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public void streamMetrics(@NonNull com.atlassian.diagnostics.AlertCriteria criteria, @NonNull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertMetric> rowCallback, @NonNull com.atlassian.diagnostics.PageRequest pageRequest)
streamMetrics
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
public void streamMinimalAlerts(@NonNull com.atlassian.diagnostics.AlertCriteria alertCriteria, @NonNull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.MinimalAlertEntity> rowCallback, @NonNull com.atlassian.diagnostics.PageRequest pageRequest)
streamMinimalAlerts
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
Copyright © 2003–2019 Atlassian. All rights reserved.