public class ConditionalSolrSortModel extends SolrSortModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CONDITIONS
Generated constant - Attribute key of
ConditionalSolrSort.conditions attribute defined at extension commercesearch. |
_SOLRINDEXEDTYPE2SOLRSORTREL, CODE, FIELDS, INDEXEDTYPE, INDEXEDTYPEPOS, NAME, USEBOOST, VISIBLE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ConditionalSolrSortModel()
Generated constructor - Default constructor for generic creation.
|
ConditionalSolrSortModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ConditionalSolrSortModel(String _code,
SolrIndexedTypeModel _indexedType)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ConditionalSolrSortModel(String _code,
SolrIndexedTypeModel _indexedType,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
List<AbstractSolrSortConditionModel> |
getConditions()
Generated method - Getter of the
ConditionalSolrSort.conditions attribute defined at extension commercesearch. |
void |
setConditions(List<AbstractSolrSortConditionModel> value)
Generated method - Setter of
ConditionalSolrSort.conditions attribute defined at extension commercesearch. |
getCode, getFields, getIndexedType, getName, getName, getVisible, isUseBoost, setCode, setFields, setIndexedType, setName, setName, setUseBoost, setVisiblegetComments, 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 CONDITIONS
ConditionalSolrSort.conditions attribute defined at extension commercesearch.public ConditionalSolrSortModel()
public ConditionalSolrSortModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ConditionalSolrSortModel(String _code, SolrIndexedTypeModel _indexedType)
_code - initial attribute declared by type SolrSort at extension commerceservices_indexedType - initial attribute declared by type SolrSort at extension commerceservices@Deprecated public ConditionalSolrSortModel(String _code, SolrIndexedTypeModel _indexedType, ItemModel _owner)
_code - initial attribute declared by type SolrSort at extension commerceservices_indexedType - initial attribute declared by type SolrSort at extension commerceservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="conditions", type=GETTER) public List<AbstractSolrSortConditionModel> getConditions()
ConditionalSolrSort.conditions attribute defined at extension commercesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.Copyright © 2017 SAP SE. All Rights Reserved.