Interface CustomContentEventService

All Known Implementing Classes:
DefaultCustomContentEventService

public interface CustomContentEventService
Service interface that provides a facade for plugins to record custom content events for incremental sync.
Since:
9.2.11
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if a custom content type is supported for event recording.
    boolean
    recordEvent(String contentType, ContentId contentId, String operation)
    Records a custom content event for incremental sync.
  • Method Details

    • recordEvent

      boolean recordEvent(String contentType, ContentId contentId, String operation)
      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.
      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
      Throws:
      IllegalArgumentException - if required parameters are missing or invalid
    • isContentTypeSupported

      boolean isContentTypeSupported(String contentType)
      Checks if a custom content type is supported for event recording.
      Parameters:
      contentType - The content type to check
      Returns:
      true if the content type is supported, false otherwise