public class ContentValuesExtractorFactory extends AbstractLogEnabled implements Component, Serviceable
SearchModel
s or content type IDs.Modifier and Type | Class and Description |
---|---|
(package private) class |
ContentValuesExtractorFactory.MetadataReference
Represents a metadata definition and a multiple status, which can be different
from the metadata definition's own multiple status.
|
class |
ContentValuesExtractorFactory.SearchModelContentValuesExtractor
A ContentValuesExtractor backed by a
SearchModel . |
class |
ContentValuesExtractorFactory.SimpleContentValuesExtractor
A simple ContentValuesExtractor on a list of content types.
|
Modifier and Type | Field and Description |
---|---|
protected ContentTypeExtensionPoint |
_cTypeEP
The content type extension point.
|
protected ContentTypesHelper |
_cTypeHelper
The content type helper.
|
protected ContentSearchHelper |
_searchHelper
The content type helper.
|
protected SystemPropertyExtensionPoint |
_sysPropEP
The system property extension point.
|
static String |
ROLE
The component role.
|
Constructor and Description |
---|
ContentValuesExtractorFactory() |
Modifier and Type | Method and Description |
---|---|
ContentValuesExtractorFactory.SimpleContentValuesExtractor |
create(Collection<String> contentTypes)
Create a simple ContentValuesExtractor from a list of content types.
|
ContentValuesExtractorFactory.SimpleContentValuesExtractor |
create(Collection<String> contentTypes,
List<String> fields)
Create a simple ContentValuesExtractor from a list of content types.
|
ContentValuesExtractorFactory.SearchModelContentValuesExtractor |
create(SearchModel searchModel)
Create a ContentValuesExtractor from a search model.
|
void |
service(ServiceManager manager) |
getLogger, setLogger
protected ContentTypeExtensionPoint _cTypeEP
protected ContentTypesHelper _cTypeHelper
protected ContentSearchHelper _searchHelper
protected SystemPropertyExtensionPoint _sysPropEP
public ContentValuesExtractorFactory()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public ContentValuesExtractorFactory.SearchModelContentValuesExtractor create(SearchModel searchModel)
searchModel
- The reference search model.public ContentValuesExtractorFactory.SimpleContentValuesExtractor create(Collection<String> contentTypes)
contentTypes
- The content types to search on.public ContentValuesExtractorFactory.SimpleContentValuesExtractor create(Collection<String> contentTypes, List<String> fields)
contentTypes
- The content types to search on.fields
- The fields to extract.