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.CacheabilitycacheFactory, 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, updateModificationDataapplyTransactionTimeout, 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, setEventPublisher, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntitypublic void deleteAll(@NonNull com.atlassian.diagnostics.AlertCriteria alertCriteria)
deleteAll in interface com.atlassian.diagnostics.internal.dao.AlertEntityDaopublic Set<String> findAllComponentIds()
findAllComponentIds in interface com.atlassian.diagnostics.internal.dao.AlertEntityDaopublic Map<String,com.atlassian.diagnostics.Severity> findAllIssueIds()
findAllIssueIds in interface com.atlassian.diagnostics.internal.dao.AlertEntityDaopublic Set<String> findAllNodeNames()
findAllNodeNames in interface com.atlassian.diagnostics.internal.dao.AlertEntityDaopublic Set<String> findAllPluginKeys()
findAllPluginKeys in interface com.atlassian.diagnostics.internal.dao.AlertEntityDaopublic @Nullable com.atlassian.diagnostics.internal.dao.AlertEntity getById(long id)
getById in interface com.atlassian.diagnostics.internal.dao.AlertEntityDaopublic Class getPersistentClass()
ObjectDaoInternalEntityObject this Dao works with.getPersistentClass in interface ObjectDaogetPersistentClass in interface ObjectDaoInternalpublic @NonNull com.atlassian.diagnostics.internal.dao.AlertEntity save(@NonNull com.atlassian.diagnostics.Alert alert)
save in interface com.atlassian.diagnostics.internal.dao.AlertEntityDaopublic 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.AlertEntityDaopublic 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.AlertEntityDaopublic 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.AlertEntityDaopublic 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.AlertEntityDaoCopyright © 2003–2021 Atlassian. All rights reserved.