org.sonar.db.webhook.WebhookDeliveryDao.mapper()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.6k)|赞(0)|评价(0)|浏览(103)

本文整理了Java中org.sonar.db.webhook.WebhookDeliveryDao.mapper()方法的一些代码示例,展示了WebhookDeliveryDao.mapper()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebhookDeliveryDao.mapper()方法的具体详情如下:
包路径:org.sonar.db.webhook.WebhookDeliveryDao
类名称:WebhookDeliveryDao
方法名:mapper

WebhookDeliveryDao.mapper介绍

暂无

代码示例

代码示例来源:origin: SonarSource/sonarqube

public Optional<WebhookDeliveryDto> selectByUuid(DbSession dbSession, String uuid) {
 return Optional.ofNullable(mapper(dbSession).selectByUuid(uuid));
}

代码示例来源:origin: SonarSource/sonarqube

public void insert(DbSession dbSession, WebhookDeliveryDto dto) {
 mapper(dbSession).insert(dto);
}

代码示例来源:origin: SonarSource/sonarqube

public int countDeliveriesByCeTaskUuid(DbSession dbSession, String ceTaskId) {
 return mapper(dbSession).countByCeTaskUuid(ceTaskId);
}

代码示例来源:origin: SonarSource/sonarqube

public int countDeliveriesByWebhookUuid(DbSession dbSession, String webhookUuid) {
 return mapper(dbSession).countByWebhookUuid(webhookUuid);
}

代码示例来源:origin: SonarSource/sonarqube

public int countDeliveriesByComponentUuid(DbSession dbSession, String componentUuid) {
 return mapper(dbSession).countByComponentUuid(componentUuid);
}

代码示例来源:origin: SonarSource/sonarqube

public void deleteComponentBeforeDate(DbSession dbSession, String componentUuid, long beforeDate) {
 mapper(dbSession).deleteComponentBeforeDate(componentUuid, beforeDate);
}

代码示例来源:origin: SonarSource/sonarqube

/**
 * All the deliveries for the specified component. Results are ordered by descending date.
 */
public List<WebhookDeliveryLiteDto> selectOrderedByComponentUuid(DbSession dbSession, String componentUuid, int offset, int limit) {
 return mapper(dbSession).selectOrderedByComponentUuid(componentUuid, new RowBounds(offset, limit));
}

代码示例来源:origin: SonarSource/sonarqube

/**
 * All the deliveries for the specified webhook. Results are ordered by descending date.
 */
public List<WebhookDeliveryLiteDto> selectByWebhookUuid(DbSession dbSession, String webhookUuid, int offset, int limit) {
 return mapper(dbSession).selectByWebhookUuid(webhookUuid, new RowBounds(offset, limit));
}

代码示例来源:origin: SonarSource/sonarqube

/**
 * All the deliveries for the specified CE task. Results are ordered by descending date.
 */
public List<WebhookDeliveryLiteDto> selectOrderedByCeTaskUuid(DbSession dbSession, String ceTaskUuid, int offset, int limit) {
 return mapper(dbSession).selectOrderedByCeTaskUuid(ceTaskUuid, new RowBounds(offset, limit));
}

代码示例来源:origin: SonarSource/sonarqube

public void deleteByWebhook(DbSession dbSession, WebhookDto webhook) {
  mapper(dbSession).deleteByWebhookUuid(webhook.getUuid());
 }
}

代码示例来源:origin: org.sonarsource.sonarqube/sonar-db

/**
 * All the deliveries for the specified component. Results are ordered by descending date.
 */
public List<WebhookDeliveryLiteDto> selectOrderedByComponentUuid(DbSession dbSession, String componentUuid) {
 return mapper(dbSession).selectOrderedByComponentUuid(componentUuid);
}

代码示例来源:origin: org.sonarsource.sonarqube/sonar-db

/**
 * All the deliveries for the specified CE task. Results are ordered by descending date.
 */
public List<WebhookDeliveryLiteDto> selectOrderedByCeTaskUuid(DbSession dbSession, String ceTaskUuid) {
 return mapper(dbSession).selectOrderedByCeTaskUuid(ceTaskUuid);
}

代码示例来源:origin: org.sonarsource.sonarqube/sonar-db

public void insert(DbSession dbSession, WebhookDeliveryDto dto) {
 mapper(dbSession).insert(dto);
}

代码示例来源:origin: org.sonarsource.sonarqube/sonar-db

public Optional<WebhookDeliveryDto> selectByUuid(DbSession dbSession, String uuid) {
 return Optional.ofNullable(mapper(dbSession).selectByUuid(uuid));
}

代码示例来源:origin: org.sonarsource.sonarqube/sonar-db

public void deleteComponentBeforeDate(DbSession dbSession, String componentUuid, long beforeDate) {
 mapper(dbSession).deleteComponentBeforeDate(componentUuid, beforeDate);
}

相关文章