Class DefaultAlertEntityDao
java.lang.Object
com.atlassian.jira.diagnostics.dao.DefaultAlertEntityDao
- All Implemented Interfaces:
com.atlassian.diagnostics.internal.dao.AlertEntityDao
public class DefaultAlertEntityDao
extends Object
implements com.atlassian.diagnostics.internal.dao.AlertEntityDao
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAlertEntityDao(com.atlassian.activeobjects.external.ActiveObjects ao, com.atlassian.diagnostics.JsonMapper jsonMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAll(com.atlassian.diagnostics.AlertCriteria alertCriteria) com.atlassian.diagnostics.internal.dao.AlertEntitygetById(long id) com.atlassian.diagnostics.internal.dao.AlertEntitysave(com.atlassian.diagnostics.Alert alert) voidstreamAll(com.atlassian.diagnostics.AlertCriteria alertCriteria, com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback, com.atlassian.diagnostics.PageRequest pageRequest) voidstreamByIds(Collection<Long> ids, com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback) voidstreamMetrics(com.atlassian.diagnostics.AlertCriteria alertCriteria, com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertMetric> rowCallback, com.atlassian.diagnostics.PageRequest pageRequest) voidstreamMinimalAlerts(com.atlassian.diagnostics.AlertCriteria criteria, com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.MinimalAlertEntity> callback, com.atlassian.diagnostics.PageRequest pageRequest)
-
Constructor Details
-
DefaultAlertEntityDao
public DefaultAlertEntityDao(com.atlassian.activeobjects.external.ActiveObjects ao, com.atlassian.diagnostics.JsonMapper jsonMapper)
-
-
Method Details
-
deleteAll
public void deleteAll(@Nonnull com.atlassian.diagnostics.AlertCriteria alertCriteria) - Specified by:
deleteAllin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
findAllComponentIds
- Specified by:
findAllComponentIdsin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
findAllIssueIds
- Specified by:
findAllIssueIdsin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
findAllNodeNames
- Specified by:
findAllNodeNamesin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
findAllPluginKeys
- Specified by:
findAllPluginKeysin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
getById
@Nullable public com.atlassian.diagnostics.internal.dao.AlertEntity getById(long id) - Specified by:
getByIdin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
save
@Nonnull public com.atlassian.diagnostics.internal.dao.AlertEntity save(@Nonnull com.atlassian.diagnostics.Alert alert) - Specified by:
savein interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
streamAll
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) - Specified by:
streamAllin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
streamByIds
public void streamByIds(@Nonnull Collection<Long> ids, @Nonnull com.atlassian.diagnostics.internal.dao.RowCallback<com.atlassian.diagnostics.internal.dao.AlertEntity> rowCallback) - Specified by:
streamByIdsin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
streamMetrics
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) - Specified by:
streamMetricsin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
streamMinimalAlerts
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) - Specified by:
streamMinimalAlertsin interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-