public class DefaultAlertEntityDao extends Object implements com.atlassian.diagnostics.internal.dao.AlertEntityDao
Constructor and Description |
---|
DefaultAlertEntityDao(com.atlassian.activeobjects.external.ActiveObjects ao,
com.atlassian.diagnostics.JsonMapper jsonMapper) |
Modifier and Type | Method and Description |
---|---|
void |
deleteAll(com.atlassian.diagnostics.AlertCriteria alertCriteria) |
Set<String> |
findAllComponentIds() |
Map<String,com.atlassian.diagnostics.Severity> |
findAllIssueIds() |
Set<String> |
findAllNodeNames() |
Set<String> |
findAllPluginKeys() |
com.atlassian.diagnostics.internal.dao.AlertEntity |
getById(long id) |
com.atlassian.diagnostics.internal.dao.AlertEntity |
save(com.atlassian.diagnostics.Alert alert) |
void |
streamAll(com.atlassian.diagnostics.AlertCriteria alertCriteria,
com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback,
com.atlassian.diagnostics.PageRequest pageRequest) |
void |
streamByIds(Collection<Long> ids,
com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback) |
void |
streamMetrics(com.atlassian.diagnostics.AlertCriteria alertCriteria,
com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertMetric> rowCallback,
com.atlassian.diagnostics.PageRequest pageRequest) |
void |
streamMinimalAlerts(com.atlassian.diagnostics.AlertCriteria criteria,
com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.MinimalAlertEntity> callback,
com.atlassian.diagnostics.PageRequest pageRequest) |
public DefaultAlertEntityDao(com.atlassian.activeobjects.external.ActiveObjects ao, com.atlassian.diagnostics.JsonMapper jsonMapper)
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
@Nullable public com.atlassian.diagnostics.internal.dao.AlertEntity getById(long id)
getById
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
@Nonnull public 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 alertCriteria, @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 criteria, @Nonnull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.MinimalAlertEntity> callback, @Nonnull com.atlassian.diagnostics.PageRequest pageRequest)
streamMinimalAlerts
in interface com.atlassian.diagnostics.internal.dao.AlertEntityDao
Copyright © 2002-2024 Atlassian. All Rights Reserved.