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 TypeMethodDescriptionbooleanisContentTypeSupported(String contentType) Checks if a custom content type is supported for event recording.booleanrecordEvent(String contentType, ContentId contentId, String operation) Records a custom content event for incremental sync.
-
Method Details
-
recordEvent
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 contentcontentId- The ID of the content itemoperation- The operation performed- Returns:
- true if the event was successfully recorded, false otherwise
- Throws:
IllegalArgumentException- if required parameters are missing or invalid
-
isContentTypeSupported
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
-