public class IndexConfigurationModel extends AbstractLuceneItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ACTIVATIONATTRIBUTE
Generated constant - Attribute key of
IndexConfiguration.activationAttribute attribute defined at extension lucenesearch. |
static String |
ALLAVAILABLEATTRIBUTES
Generated constant - Attribute key of
IndexConfiguration.allAvailableAttributes attribute defined at extension lucenesearch. |
static String |
ATTRIBUTECONFIGURATIONS
Generated constant - Attribute key of
IndexConfiguration.attributeConfigurations attribute defined at extension lucenesearch. |
static String |
AVAILABLEACTIVATIONATTRIBUTES
Generated constant - Attribute key of
IndexConfiguration.availableActivationAttributes attribute defined at extension lucenesearch. |
static String |
AVAILABLEGROUPINGATTRIBUTES
Generated constant - Attribute key of
IndexConfiguration.availableGroupingAttributes attribute defined at extension lucenesearch. |
static String |
AVAILABLEINDEXABLEATTRIBUTES
Generated constant - Attribute key of
IndexConfiguration.availableIndexableAttributes attribute defined at extension lucenesearch. |
static String |
GROUPINGATTRIBUTE
Generated constant - Attribute key of
IndexConfiguration.groupingAttribute attribute defined at extension lucenesearch. |
static String |
INCLUDEDTYPES
Generated constant - Attribute key of
IndexConfiguration.includedTypes attribute defined at extension lucenesearch. |
static String |
INDEXEDDATAFACTORYCLASSNAME
Generated constant - Attribute key of
IndexConfiguration.indexedDataFactoryClassName attribute defined at extension lucenesearch. |
static String |
INDEXEDDATAPARAMS
Generated constant - Attribute key of
IndexConfiguration.indexedDataParams attribute defined at extension lucenesearch. |
static String |
INDEXEDTYPE
Generated constant - Attribute key of
IndexConfiguration.indexedType attribute defined at extension lucenesearch. |
static String |
LUCENEINDEX
Generated constant - Attribute key of
IndexConfiguration.luceneIndex attribute defined at extension lucenesearch. |
static String |
PENDINGUPDATES
Generated constant - Attribute key of
IndexConfiguration.pendingUpdates attribute defined at extension lucenesearch. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
IndexConfigurationModel()
Generated constructor - Default constructor for generic creation.
|
IndexConfigurationModel(ComposedTypeModel _indexedType,
LuceneIndexModel _luceneIndex)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
IndexConfigurationModel(ComposedTypeModel _indexedType,
LuceneIndexModel _luceneIndex,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
IndexConfigurationModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDescriptorModel |
getActivationAttribute()
Generated method - Getter of the
IndexConfiguration.activationAttribute attribute defined at extension lucenesearch. |
Collection<AttributeDescriptorModel> |
getAllAvailableAttributes()
Generated method - Getter of the
IndexConfiguration.allAvailableAttributes attribute defined at extension lucenesearch. |
Collection<AttributeConfigurationModel> |
getAttributeConfigurations()
Generated method - Getter of the
IndexConfiguration.attributeConfigurations attribute defined at extension lucenesearch. |
Collection<AttributeDescriptorModel> |
getAvailableActivationAttributes()
Generated method - Getter of the
IndexConfiguration.availableActivationAttributes attribute defined at extension lucenesearch. |
Collection<AttributeDescriptorModel> |
getAvailableGroupingAttributes()
Generated method - Getter of the
IndexConfiguration.availableGroupingAttributes attribute defined at extension lucenesearch. |
Collection<AttributeDescriptorModel> |
getAvailableIndexableAttributes()
Generated method - Getter of the
IndexConfiguration.availableIndexableAttributes attribute defined at extension lucenesearch. |
AttributeDescriptorModel |
getGroupingAttribute()
Generated method - Getter of the
IndexConfiguration.groupingAttribute attribute defined at extension lucenesearch. |
Collection<ComposedTypeModel> |
getIncludedTypes()
Generated method - Getter of the
IndexConfiguration.includedTypes attribute defined at extension lucenesearch. |
String |
getIndexedDataFactoryClassName()
Generated method - Getter of the
IndexConfiguration.indexedDataFactoryClassName attribute defined at extension lucenesearch. |
String |
getIndexedDataParams()
Generated method - Getter of the
IndexConfiguration.indexedDataParams attribute defined at extension lucenesearch. |
ComposedTypeModel |
getIndexedType()
Generated method - Getter of the
IndexConfiguration.indexedType attribute defined at extension lucenesearch. |
LuceneIndexModel |
getLuceneIndex()
Generated method - Getter of the
IndexConfiguration.luceneIndex attribute defined at extension lucenesearch. |
Collection<IndexUpdateModel> |
getPendingUpdates()
Generated method - Getter of the
IndexConfiguration.pendingUpdates attribute defined at extension lucenesearch. |
void |
setActivationAttribute(AttributeDescriptorModel value)
Generated method - Setter of
IndexConfiguration.activationAttribute attribute defined at extension lucenesearch. |
void |
setAttributeConfigurations(Collection<AttributeConfigurationModel> value)
Generated method - Setter of
IndexConfiguration.attributeConfigurations attribute defined at extension lucenesearch. |
void |
setGroupingAttribute(AttributeDescriptorModel value)
Generated method - Setter of
IndexConfiguration.groupingAttribute attribute defined at extension lucenesearch. |
void |
setIncludedTypes(Collection<ComposedTypeModel> value)
Generated method - Setter of
IndexConfiguration.includedTypes attribute defined at extension lucenesearch. |
void |
setIndexedDataFactoryClassName(String value)
Generated method - Setter of
IndexConfiguration.indexedDataFactoryClassName attribute defined at extension lucenesearch. |
void |
setIndexedDataParams(String value)
Generated method - Setter of
IndexConfiguration.indexedDataParams attribute defined at extension lucenesearch. |
void |
setIndexedType(ComposedTypeModel value)
Generated method - Initial setter of
IndexConfiguration.indexedType attribute defined at extension lucenesearch. |
void |
setLuceneIndex(LuceneIndexModel value)
Generated method - Setter of
IndexConfiguration.luceneIndex attribute defined at extension lucenesearch. |
void |
setPendingUpdates(Collection<IndexUpdateModel> value)
Generated method - Setter of
IndexConfiguration.pendingUpdates attribute defined at extension lucenesearch. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final String _TYPECODE
public static final String ACTIVATIONATTRIBUTE
IndexConfiguration.activationAttribute attribute defined at extension lucenesearch.public static final String ALLAVAILABLEATTRIBUTES
IndexConfiguration.allAvailableAttributes attribute defined at extension lucenesearch.public static final String ATTRIBUTECONFIGURATIONS
IndexConfiguration.attributeConfigurations attribute defined at extension lucenesearch.public static final String AVAILABLEACTIVATIONATTRIBUTES
IndexConfiguration.availableActivationAttributes attribute defined at extension lucenesearch.public static final String AVAILABLEGROUPINGATTRIBUTES
IndexConfiguration.availableGroupingAttributes attribute defined at extension lucenesearch.public static final String AVAILABLEINDEXABLEATTRIBUTES
IndexConfiguration.availableIndexableAttributes attribute defined at extension lucenesearch.public static final String GROUPINGATTRIBUTE
IndexConfiguration.groupingAttribute attribute defined at extension lucenesearch.public static final String INDEXEDDATAFACTORYCLASSNAME
IndexConfiguration.indexedDataFactoryClassName attribute defined at extension lucenesearch.public static final String INDEXEDDATAPARAMS
IndexConfiguration.indexedDataParams attribute defined at extension lucenesearch.public static final String INDEXEDTYPE
IndexConfiguration.indexedType attribute defined at extension lucenesearch.public static final String LUCENEINDEX
IndexConfiguration.luceneIndex attribute defined at extension lucenesearch.public static final String PENDINGUPDATES
IndexConfiguration.pendingUpdates attribute defined at extension lucenesearch.public static final String INCLUDEDTYPES
IndexConfiguration.includedTypes attribute defined at extension lucenesearch.public IndexConfigurationModel()
public IndexConfigurationModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public IndexConfigurationModel(ComposedTypeModel _indexedType, LuceneIndexModel _luceneIndex)
_indexedType - initial attribute declared by type IndexConfiguration at extension lucenesearch_luceneIndex - initial attribute declared by type IndexConfiguration at extension lucenesearch@Deprecated public IndexConfigurationModel(ComposedTypeModel _indexedType, LuceneIndexModel _luceneIndex, ItemModel _owner)
_indexedType - initial attribute declared by type IndexConfiguration at extension lucenesearch_luceneIndex - initial attribute declared by type IndexConfiguration at extension lucenesearch_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="activationAttribute", type=GETTER) public AttributeDescriptorModel getActivationAttribute()
IndexConfiguration.activationAttribute attribute defined at extension lucenesearch.@Accessor(qualifier="allAvailableAttributes", type=GETTER) public Collection<AttributeDescriptorModel> getAllAvailableAttributes()
IndexConfiguration.allAvailableAttributes attribute defined at extension lucenesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="attributeConfigurations", type=GETTER) public Collection<AttributeConfigurationModel> getAttributeConfigurations()
IndexConfiguration.attributeConfigurations attribute defined at extension lucenesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="availableActivationAttributes", type=GETTER) public Collection<AttributeDescriptorModel> getAvailableActivationAttributes()
IndexConfiguration.availableActivationAttributes attribute defined at extension lucenesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="availableGroupingAttributes", type=GETTER) public Collection<AttributeDescriptorModel> getAvailableGroupingAttributes()
IndexConfiguration.availableGroupingAttributes attribute defined at extension lucenesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="availableIndexableAttributes", type=GETTER) public Collection<AttributeDescriptorModel> getAvailableIndexableAttributes()
IndexConfiguration.availableIndexableAttributes attribute defined at extension lucenesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="groupingAttribute", type=GETTER) public AttributeDescriptorModel getGroupingAttribute()
IndexConfiguration.groupingAttribute attribute defined at extension lucenesearch.@Accessor(qualifier="includedTypes", type=GETTER) public Collection<ComposedTypeModel> getIncludedTypes()
IndexConfiguration.includedTypes attribute defined at extension lucenesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="indexedDataFactoryClassName", type=GETTER) public String getIndexedDataFactoryClassName()
IndexConfiguration.indexedDataFactoryClassName attribute defined at extension lucenesearch.@Accessor(qualifier="indexedDataParams", type=GETTER) public String getIndexedDataParams()
IndexConfiguration.indexedDataParams attribute defined at extension lucenesearch.@Accessor(qualifier="indexedType", type=GETTER) public ComposedTypeModel getIndexedType()
IndexConfiguration.indexedType attribute defined at extension lucenesearch.@Accessor(qualifier="luceneIndex", type=GETTER) public LuceneIndexModel getLuceneIndex()
IndexConfiguration.luceneIndex attribute defined at extension lucenesearch.@Accessor(qualifier="pendingUpdates", type=GETTER) public Collection<IndexUpdateModel> getPendingUpdates()
IndexConfiguration.pendingUpdates attribute defined at extension lucenesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="activationAttribute", type=SETTER) public void setActivationAttribute(AttributeDescriptorModel value)
IndexConfiguration.activationAttribute attribute defined at extension lucenesearch.value - the activationAttribute - Optional descriptor of boolean attribute.
Instances must have the value true in this
attribute to be indexed. Is limited to the
values of the availableActivationAttributes
attribute.@Accessor(qualifier="attributeConfigurations", type=SETTER) public void setAttributeConfigurations(Collection<AttributeConfigurationModel> value)
IndexConfiguration.attributeConfigurations attribute defined at extension lucenesearch.value - the attributeConfigurations - All AttributeConfiguration objects that belong
to this IndexConfiguration. Jalo-only attribute.@Accessor(qualifier="groupingAttribute", type=SETTER) public void setGroupingAttribute(AttributeDescriptorModel value)
IndexConfiguration.groupingAttribute attribute defined at extension lucenesearch.value - the groupingAttribute - Optional descriptor of an attribute that puts
the indexed item into one or more groups; see
the documentation of LucenesearchManager
for a description of grouping. Is limited to the
values of the availableGroupingAttributes
attribute.@Accessor(qualifier="includedTypes", type=SETTER) public void setIncludedTypes(Collection<ComposedTypeModel> value)
IndexConfiguration.includedTypes attribute defined at extension lucenesearch.value - the includedTypes - Only types specified here will be used within the
index. Types not specified will not be indexed.
Attribute created via the IndexTypeRelation
relation.@Accessor(qualifier="indexedDataFactoryClassName", type=SETTER) public void setIndexedDataFactoryClassName(String value)
IndexConfiguration.indexedDataFactoryClassName attribute defined at extension lucenesearch.value - the indexedDataFactoryClassName - Optionally, you can specify an IndexedDataFactory
Uses the DefaultIndexedDataFactory by default.@Accessor(qualifier="indexedDataParams", type=SETTER) public void setIndexedDataParams(String value)
IndexConfiguration.indexedDataParams attribute defined at extension lucenesearch.value - the indexedDataParams - Additional parameters which may be evaluated by
the associated IndexedDataFactory.@Accessor(qualifier="indexedType", type=SETTER) public void setIndexedType(ComposedTypeModel value)
IndexConfiguration.indexedType attribute defined at extension lucenesearch. Can only be used at creation of model - before first save.value - the indexedType - The item type whose instances will be indexed.
Initial attribute, cannot be edited after the
IndexConfiguration has been created.@Accessor(qualifier="luceneIndex", type=SETTER) public void setLuceneIndex(LuceneIndexModel value)
IndexConfiguration.luceneIndex attribute defined at extension lucenesearch.value - the luceneIndex - The LuceneIndex to which this IndexConfiguration
belongs.@Accessor(qualifier="pendingUpdates", type=SETTER) public void setPendingUpdates(Collection<IndexUpdateModel> value)
IndexConfiguration.pendingUpdates attribute defined at extension lucenesearch.value - the pendingUpdates - A collection of all IndexUpdate objects that
refer to objects of the given type which
currently exist and which have to be updated.
Jalo-only attribute. Entries are retrieved via a
FlexibleSearch statement.Copyright © 2017 SAP SE. All Rights Reserved.