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 TypeMethodDescriptionvoid
deleteAll
(com.atlassian.diagnostics.AlertCriteria alertCriteria) 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)
-
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:
deleteAll
in interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
findAllComponentIds
- Specified by:
findAllComponentIds
in interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
findAllIssueIds
- Specified by:
findAllIssueIds
in interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
findAllNodeNames
- Specified by:
findAllNodeNames
in interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
findAllPluginKeys
- Specified by:
findAllPluginKeys
in interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
getById
@Nullable public com.atlassian.diagnostics.internal.dao.AlertEntity getById(long id) - Specified by:
getById
in interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-
save
@Nonnull public com.atlassian.diagnostics.internal.dao.AlertEntity save(@Nonnull com.atlassian.diagnostics.Alert alert) - Specified by:
save
in 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:
streamAll
in 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:
streamByIds
in 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:
streamMetrics
in 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:
streamMinimalAlerts
in interfacecom.atlassian.diagnostics.internal.dao.AlertEntityDao
-