public class SolrSortModel extends ItemModel
Extending SolrSort type with additional attributes.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_SOLRINDEXEDTYPE2SOLRSORTREL
Generated relation code constant for relation
SolrIndexedType2SolrSortRel defining source attribute indexedType in extension solrfacetsearch. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CODE
Generated constant - Attribute key of
SolrSort.code attribute defined at extension solrfacetsearch. |
static java.lang.String |
FIELDS
Generated constant - Attribute key of
SolrSort.fields attribute defined at extension solrfacetsearch. |
static java.lang.String |
INDEXEDTYPE
Generated constant - Attribute key of
SolrSort.indexedType attribute defined at extension solrfacetsearch. |
static java.lang.String |
INDEXEDTYPEPOS
Generated constant - Attribute key of
SolrSort.indexedTypePOS attribute defined at extension solrfacetsearch. |
static java.lang.String |
NAME
Generated constant - Attribute key of
SolrSort.name attribute defined at extension solrfacetsearch. |
static java.lang.String |
USEBOOST
Generated constant - Attribute key of
SolrSort.useBoost attribute defined at extension solrfacetsearch. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
SolrSortModel()
Generated constructor - Default constructor for generic creation.
|
SolrSortModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
SolrSortModel(java.lang.String _code,
SolrIndexedTypeModel _indexedType)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SolrSortModel(java.lang.String _code,
SolrIndexedTypeModel _indexedType,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Generated method - Getter of the
SolrSort.code attribute defined at extension solrfacetsearch. |
java.util.List<SolrSortFieldModel> |
getFields()
Generated method - Getter of the
SolrSort.fields attribute defined at extension solrfacetsearch. |
SolrIndexedTypeModel |
getIndexedType()
Generated method - Getter of the
SolrSort.indexedType attribute defined at extension solrfacetsearch. |
java.lang.String |
getName()
Generated method - Getter of the
SolrSort.name attribute defined at extension solrfacetsearch. |
java.lang.String |
getName(java.util.Locale loc)
Generated method - Getter of the
SolrSort.name attribute defined at extension solrfacetsearch. |
boolean |
isUseBoost()
Generated method - Getter of the
SolrSort.useBoost attribute defined at extension solrfacetsearch. |
void |
setCode(java.lang.String value)
Generated method - Setter of
SolrSort.code attribute defined at extension solrfacetsearch. |
void |
setFields(java.util.List<SolrSortFieldModel> value)
Generated method - Setter of
SolrSort.fields attribute defined at extension solrfacetsearch. |
void |
setIndexedType(SolrIndexedTypeModel value)
Generated method - Setter of
SolrSort.indexedType attribute defined at extension solrfacetsearch. |
void |
setName(java.lang.String value)
Generated method - Setter of
SolrSort.name attribute defined at extension solrfacetsearch. |
void |
setName(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
SolrSort.name attribute defined at extension solrfacetsearch. |
void |
setUseBoost(boolean value)
Generated method - Setter of
SolrSort.useBoost attribute defined at extension solrfacetsearch. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String _SOLRINDEXEDTYPE2SOLRSORTREL
SolrIndexedType2SolrSortRel defining source attribute indexedType in extension solrfacetsearch.public static final java.lang.String CODE
SolrSort.code attribute defined at extension solrfacetsearch.public static final java.lang.String NAME
SolrSort.name attribute defined at extension solrfacetsearch.public static final java.lang.String USEBOOST
SolrSort.useBoost attribute defined at extension solrfacetsearch.public static final java.lang.String INDEXEDTYPEPOS
SolrSort.indexedTypePOS attribute defined at extension solrfacetsearch.public static final java.lang.String INDEXEDTYPE
SolrSort.indexedType attribute defined at extension solrfacetsearch.public static final java.lang.String FIELDS
SolrSort.fields attribute defined at extension solrfacetsearch.public SolrSortModel()
public SolrSortModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public SolrSortModel(java.lang.String _code,
SolrIndexedTypeModel _indexedType)
_code - initial attribute declared by type SolrSort at extension solrfacetsearch_indexedType - initial attribute declared by type SolrSort at extension solrfacetsearch@Deprecated
public SolrSortModel(java.lang.String _code,
SolrIndexedTypeModel _indexedType,
ItemModel _owner)
_code - initial attribute declared by type SolrSort at extension solrfacetsearch_indexedType - initial attribute declared by type SolrSort at extension solrfacetsearch_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
SolrSort.code attribute defined at extension solrfacetsearch.@Accessor(qualifier="fields", type=GETTER) public java.util.List<SolrSortFieldModel> getFields()
SolrSort.fields attribute defined at extension solrfacetsearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="indexedType", type=GETTER) public SolrIndexedTypeModel getIndexedType()
SolrSort.indexedType attribute defined at extension solrfacetsearch.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
SolrSort.name attribute defined at extension solrfacetsearch.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
SolrSort.name attribute defined at extension solrfacetsearch.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="useBoost", type=GETTER) public boolean isUseBoost()
SolrSort.useBoost attribute defined at extension solrfacetsearch.@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
SolrSort.code attribute defined at extension solrfacetsearch.value - the code - The unique code used to identify the solr sort.@Accessor(qualifier="fields", type=SETTER) public void setFields(java.util.List<SolrSortFieldModel> value)
SolrSort.fields attribute defined at extension solrfacetsearch.value - the fields@Accessor(qualifier="indexedType", type=SETTER) public void setIndexedType(SolrIndexedTypeModel value)
SolrSort.indexedType attribute defined at extension solrfacetsearch.value - the indexedType@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
SolrSort.name attribute defined at extension solrfacetsearch.value - the name - The display name for this sort.@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
SolrSort.name attribute defined at extension solrfacetsearch.value - the name - The display name for this sort.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.