Package com.atlassian.bamboo.webhook
Interface WebhookResponseDao
- All Superinterfaces:
BambooObjectDao<WebhookResponseDetails>
- All Known Implementing Classes:
WebhookResponseHibernateDao
-
Method Summary
Modifier and TypeMethodDescription@NotNull Long
countWebhookResponsesByDeploymentResultId
(Long deploymentResultId) Count all webhook responses in deployment result.@NotNull List<WebhookResponse>
findWebhookResponseByDeploymentResultId
(Long deploymentResultId) Find short descriptions of webhook responses associated with deployment result id.@NotNull List<WebhookResponse>
findWebhookResponseByPlanResultKey
(String planResultKey) Find short descriptions of webhook responses associated with build key.@NotNull List<WebhookResponseDetails>
findWebhookResponseDetailsByDeploymentId
(Long deploymentResultId) Find full description of webhook responses associated with deployment result id.@NotNull List<WebhookResponseDetails>
Find all webhook responses associated with given plan, not taking into account build number.@NotNull List<WebhookResponseDetails>
findWebhookResponseDetailsByPlanResultKey
(String planResultKey) Find full description of webhook responses associated with plan result key.@Nullable WebhookResponseDetails
getWebhookResponseDetails
(Long webhookResponseId) Find full description of webhook response associated with webhook response id.Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Method Details
-
findWebhookResponseByPlanResultKey
Find short descriptions of webhook responses associated with build key.- Parameters:
planResultKey
-- Returns:
- a list of all webhook responses (DTO not full entities) associated with the given plan result key.
-
findWebhookResponseDetailsByPlanResultKey
@NotNull @NotNull List<WebhookResponseDetails> findWebhookResponseDetailsByPlanResultKey(String planResultKey) Find full description of webhook responses associated with plan result key.- Parameters:
planResultKey
- in format ProjectKey-PlanKey-buildNumber- Returns:
- a list of all webhook response entities associated with the given plan result key.
-
findWebhookResponseByDeploymentResultId
@NotNull @NotNull List<WebhookResponse> findWebhookResponseByDeploymentResultId(Long deploymentResultId) Find short descriptions of webhook responses associated with deployment result id.- Parameters:
deploymentResultId
-- Returns:
- a list of all webhook responses (DTO not full entities) associated with the given deployment result id.
-
findWebhookResponseDetailsByDeploymentId
@NotNull @NotNull List<WebhookResponseDetails> findWebhookResponseDetailsByDeploymentId(Long deploymentResultId) Find full description of webhook responses associated with deployment result id.- Parameters:
deploymentResultId
-- Returns:
- a list of all webhook response entities associated with the given deployment result id.
-
getWebhookResponseDetails
Find full description of webhook response associated with webhook response id.- Parameters:
webhookResponseId
- id of webhook response.- Returns:
- a webhook response entity associated with the given webhook response id.
-
countWebhookResponsesByDeploymentResultId
Count all webhook responses in deployment result.- Parameters:
deploymentResultId
-- Returns:
- a number of webhook response entities associated with deployment result id.
-
findWebhookResponseDetailsByPlanKey
Find all webhook responses associated with given plan, not taking into account build number.- Parameters:
planKey
- in format ProjectKey-PlanKey- Returns:
- a list of webhook response entities associated with given plan.
-