Class SolrSearchQuerySortModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.solrfacetsearch.model.SolrSearchQuerySortModel
-
- All Implemented Interfaces:
java.io.Serializable
public class SolrSearchQuerySortModel extends ItemModel
Generated model class for type SolrSearchQuerySort first defined at extension solrfacetsearch.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_SOLRSEARCHQUERYTEMPLATE2SOLRSEARCHQUERYSORTGenerated relation code constant for relationSolrSearchQueryTemplate2SolrSearchQuerySortdefining source attributesearchQueryTemplatein extensionsolrfacetsearch.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringASCENDINGGenerated constant - Attribute key ofSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.static java.lang.StringFIELDGenerated constant - Attribute key ofSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.static java.lang.StringSEARCHQUERYTEMPLATEGenerated constant - Attribute key ofSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch.static java.lang.StringSEARCHQUERYTEMPLATEPOSGenerated constant - Attribute key ofSolrSearchQuerySort.searchQueryTemplatePOSattribute defined at extensionsolrfacetsearch.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SolrSearchQuerySortModel()Generated constructor - Default constructor for generic creation.SolrSearchQuerySortModel(ItemModel _owner, SolrSearchQueryTemplateModel _searchQueryTemplate)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSolrSearchQuerySortModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextSolrSearchQuerySortModel(SolrSearchQueryTemplateModel _searchQueryTemplate)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetField()Generated method - Getter of theSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.SolrSearchQueryTemplateModelgetSearchQueryTemplate()Generated method - Getter of theSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch.booleanisAscending()Generated method - Getter of theSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.voidsetAscending(boolean value)Generated method - Setter ofSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.voidsetField(java.lang.String value)Generated method - Setter ofSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.voidsetSearchQueryTemplate(SolrSearchQueryTemplateModel value)Generated method - Initial setter ofSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_SOLRSEARCHQUERYTEMPLATE2SOLRSEARCHQUERYSORT
public static final java.lang.String _SOLRSEARCHQUERYTEMPLATE2SOLRSEARCHQUERYSORT
Generated relation code constant for relationSolrSearchQueryTemplate2SolrSearchQuerySortdefining source attributesearchQueryTemplatein extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
FIELD
public static final java.lang.String FIELD
Generated constant - Attribute key ofSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
ASCENDING
public static final java.lang.String ASCENDING
Generated constant - Attribute key ofSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
SEARCHQUERYTEMPLATEPOS
public static final java.lang.String SEARCHQUERYTEMPLATEPOS
Generated constant - Attribute key ofSolrSearchQuerySort.searchQueryTemplatePOSattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
SEARCHQUERYTEMPLATE
public static final java.lang.String SEARCHQUERYTEMPLATE
Generated constant - Attribute key ofSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SolrSearchQuerySortModel
public SolrSearchQuerySortModel()
Generated constructor - Default constructor for generic creation.
-
SolrSearchQuerySortModel
public SolrSearchQuerySortModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SolrSearchQuerySortModel
@Deprecated(since="4.1.1", forRemoval=true) public SolrSearchQuerySortModel(SolrSearchQueryTemplateModel _searchQueryTemplate)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_searchQueryTemplate- initial attribute declared by typeSolrSearchQuerySortat extensionsolrfacetsearch
-
SolrSearchQuerySortModel
@Deprecated(since="4.1.1", forRemoval=true) public SolrSearchQuerySortModel(ItemModel _owner, SolrSearchQueryTemplateModel _searchQueryTemplate)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_searchQueryTemplate- initial attribute declared by typeSolrSearchQuerySortat extensionsolrfacetsearch
-
-
Method Detail
-
getField
@Accessor(qualifier="field", type=GETTER) public java.lang.String getField()
Generated method - Getter of theSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.- Returns:
- the field
-
getSearchQueryTemplate
@Accessor(qualifier="searchQueryTemplate", type=GETTER) public SolrSearchQueryTemplateModel getSearchQueryTemplate()
Generated method - Getter of theSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch.- Returns:
- the searchQueryTemplate
-
isAscending
@Accessor(qualifier="ascending", type=GETTER) public boolean isAscending()
Generated method - Getter of theSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.- Returns:
- the ascending
-
setAscending
@Accessor(qualifier="ascending", type=SETTER) public void setAscending(boolean value)
Generated method - Setter ofSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.- Parameters:
value- the ascending
-
setField
@Accessor(qualifier="field", type=SETTER) public void setField(java.lang.String value)
Generated method - Setter ofSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.- Parameters:
value- the field
-
setSearchQueryTemplate
@Accessor(qualifier="searchQueryTemplate", type=SETTER) public void setSearchQueryTemplate(SolrSearchQueryTemplateModel value)
Generated method - Initial setter ofSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch. Can only be used at creation of model - before first save.- Parameters:
value- the searchQueryTemplate
-
-