public class WebhookResponseHibernateDao extends BambooHibernateObjectDao<WebhookResponseDetails> implements WebhookResponseDao
Constructor and Description |
---|
WebhookResponseHibernateDao() |
Modifier and Type | Method and Description |
---|---|
Long |
countWebhookResponsesByDeploymentResultId(Long deploymentResultId)
Count all webhook responses in deployment result.
|
List<WebhookResponse> |
findWebhookResponseByDeploymentResultId(Long deploymentResultId)
Find short descriptions of webhook responses associated with deployment result id.
|
List<WebhookResponse> |
findWebhookResponseByPlanResultKey(String planResultKey)
Find short descriptions of webhook responses associated with build key.
|
List<WebhookResponseDetails> |
findWebhookResponseDetailsByDeploymentId(Long deploymentResultId)
Find full description of webhook responses associated with deployment result id.
|
List<WebhookResponseDetails> |
findWebhookResponseDetailsByPlanKey(String planKey)
Find all webhook responses associated with given plan, not taking into account build number.
|
List<WebhookResponseDetails> |
findWebhookResponseDetailsByPlanResultKey(String planResultKey)
Find full description of webhook responses associated with plan result key.
|
WebhookResponseDetails |
getWebhookResponseDetails(Long webhookResponseId)
Find full description of webhook response associated with webhook response id.
|
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
@NotNull public List<WebhookResponse> findWebhookResponseByDeploymentResultId(Long deploymentResultId)
WebhookResponseDao
findWebhookResponseByDeploymentResultId
in interface WebhookResponseDao
@NotNull public List<WebhookResponse> findWebhookResponseByPlanResultKey(String planResultKey)
WebhookResponseDao
findWebhookResponseByPlanResultKey
in interface WebhookResponseDao
@NotNull public List<WebhookResponseDetails> findWebhookResponseDetailsByPlanResultKey(String planResultKey)
WebhookResponseDao
findWebhookResponseDetailsByPlanResultKey
in interface WebhookResponseDao
planResultKey
- in format ProjectKey-PlanKey-buildNumber@NotNull public List<WebhookResponseDetails> findWebhookResponseDetailsByDeploymentId(Long deploymentResultId)
WebhookResponseDao
findWebhookResponseDetailsByDeploymentId
in interface WebhookResponseDao
@Nullable public WebhookResponseDetails getWebhookResponseDetails(Long webhookResponseId)
WebhookResponseDao
getWebhookResponseDetails
in interface WebhookResponseDao
webhookResponseId
- id of webhook response.@NotNull public Long countWebhookResponsesByDeploymentResultId(Long deploymentResultId)
WebhookResponseDao
countWebhookResponsesByDeploymentResultId
in interface WebhookResponseDao
@NotNull public List<WebhookResponseDetails> findWebhookResponseDetailsByPlanKey(String planKey)
WebhookResponseDao
findWebhookResponseDetailsByPlanKey
in interface WebhookResponseDao
planKey
- in format ProjectKey-PlanKeyCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.