Class ContentModifiersBulkExtractor
- java.lang.Object
 - 
- com.atlassian.confluence.impl.search.v2.extractor.ContentModifiersBulkExtractor
 
 
- 
- All Implemented Interfaces:
 BulkExtractor<ConfluenceEntityObject>
public final class ContentModifiersBulkExtractor extends Object implements BulkExtractor<ConfluenceEntityObject>
A BulkExtractor which extracts theSearchFieldMappings.LAST_MODIFIERSfromContentEntityObjects.- Since:
 - 7.14
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ContentModifiersBulkExtractor(ContentEntityObjectDao<ContentEntityObject> contentEntityObjectDao) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(Class<?> entityType)voidextractAll(Collection<ConfluenceEntityObject> entities, Class<? extends ConfluenceEntityObject> entityType, BiConsumer<ConfluenceEntityObject,FieldDescriptor> sink)Extracts all indexable data from all of the given entities 
 - 
 
- 
- 
Constructor Detail
- 
ContentModifiersBulkExtractor
public ContentModifiersBulkExtractor(ContentEntityObjectDao<ContentEntityObject> contentEntityObjectDao)
 
 - 
 
- 
Method Detail
- 
canHandle
public boolean canHandle(Class<?> entityType)
- Specified by:
 canHandlein interfaceBulkExtractor<ConfluenceEntityObject>- Returns:
 - true of the extractor can handle entities of the given type, else false
 
 
- 
extractAll
public void extractAll(Collection<ConfluenceEntityObject> entities, Class<? extends ConfluenceEntityObject> entityType, BiConsumer<ConfluenceEntityObject,FieldDescriptor> sink)
Description copied from interface:BulkExtractorExtracts all indexable data from all of the given entities- Specified by:
 extractAllin interfaceBulkExtractor<ConfluenceEntityObject>- Parameters:
 entities- the entities to extract the fields fromsink- the consumer into which allFieldDescriptors should be pushed.
 
 - 
 
 -