Class OutgoingRefsContentAttachmentIndexer
java.lang.Object
org.ametys.cms.content.indexing.solr.content.attachment.impl.OutgoingRefsContentAttachmentIndexer
- All Implemented Interfaces:
ContentVisibleAttachmentIndexer
,Serviceable
public class OutgoingRefsContentAttachmentIndexer
extends Object
implements ContentVisibleAttachmentIndexer, Serviceable
A
ContentVisibleAttachmentIndexer
for attachments extracted from the OutgoingReferencesExtractor
component.-
Field Summary
Modifier and TypeFieldDescriptionprotected OutgoingReferencesExtractor
The outgoing references extractor -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetVisibleAttachmentIds
(Content content) Retrieves the ids of the visible content attachments to indexvoid
service
(ServiceManager manager)
-
Field Details
-
_outgoingReferencesExtractor
The outgoing references extractor
-
-
Constructor Details
-
OutgoingRefsContentAttachmentIndexer
public OutgoingRefsContentAttachmentIndexer()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getVisibleAttachmentIds
Description copied from interface:ContentVisibleAttachmentIndexer
Retrieves the ids of the visible content attachments to index- Specified by:
getVisibleAttachmentIds
in interfaceContentVisibleAttachmentIndexer
- Parameters:
content
- The content- Returns:
- the ids of the visible content attachments to index
-