@Component public class

DefaultInsightAnnotationService

extends Object
implements InsightAnnotationService
java.lang.Object
   ↳ com.atlassian.bitbucket.internal.codeinsights.annotation.DefaultInsightAnnotationService

Summary

Public Constructors
DefaultInsightAnnotationService(PullRequestAnnotationHelper pullRequestAnnotationHelper, AuthenticationContext authenticationContext, EventPublisher eventPublisher, InsightAnnotationDao insightAnnotationDao, InsightReportDao insightReportDao, I18nService i18nService, PermissionService permissionService, PermissionValidationService permissionValidationService, ApplicationPropertiesService propertiesService, OAuthRequestVerifierFactory requestVerifierFactory, TransactionTemplate transactionTemplate)
Public Methods
void addAnnotations(BulkAddInsightAnnotationRequest request)
void delete(DeleteAnnotationRequest request)
@Nonnull Optional<InsightAnnotation> get(InsightReport report, String externalId)
void set(SetInsightAnnotationRequest request)
void stream(SearchAnnotationRequest request, AnnotationCallback callback)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.codeinsights.annotation.InsightAnnotationService

Public Constructors

public DefaultInsightAnnotationService (PullRequestAnnotationHelper pullRequestAnnotationHelper, AuthenticationContext authenticationContext, EventPublisher eventPublisher, InsightAnnotationDao insightAnnotationDao, InsightReportDao insightReportDao, I18nService i18nService, PermissionService permissionService, PermissionValidationService permissionValidationService, ApplicationPropertiesService propertiesService, OAuthRequestVerifierFactory requestVerifierFactory, TransactionTemplate transactionTemplate)

Public Methods

public void addAnnotations (BulkAddInsightAnnotationRequest request)

public void delete (DeleteAnnotationRequest request)

@Nonnull public Optional<InsightAnnotation> get (InsightReport report, String externalId)

public void set (SetInsightAnnotationRequest request)

public void stream (SearchAnnotationRequest request, AnnotationCallback callback)