java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.customcontentmanagement.DefaultCustomContentEventService
All Implemented Interfaces:
CustomContentEventService

public class DefaultCustomContentEventService extends Object implements CustomContentEventService
Default implementation of CustomContentEventService.
Since:
9.2.11
  • Constructor Details

  • Method Details

    • recordEvent

      public boolean recordEvent(String contentType, ContentId contentId, String operation)
      Description copied from interface: CustomContentEventService
      Records a custom content event for incremental sync. This method automatically determines the active subscription that should process the event based on the content type and subscription configuration. Since there can only be one active subscription for content at a time, this method will use that subscription.
      Specified by:
      recordEvent in interface CustomContentEventService
      Parameters:
      contentType - The scanType of custom content
      contentId - The ID of the content item
      operation - The operation performed
      Returns:
      true if the event was successfully recorded, false otherwise
    • isContentTypeSupported

      public boolean isContentTypeSupported(String contentType)
      Description copied from interface: CustomContentEventService
      Checks if a custom content type is supported for event recording.
      Specified by:
      isContentTypeSupported in interface CustomContentEventService
      Parameters:
      contentType - The content type to check
      Returns:
      true if the content type is supported, false otherwise