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:
Serializable
Generated model class for type SolrSearchQuerySort first defined at extension solrfacetsearch.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationSolrSearchQueryTemplate2SolrSearchQuerySortdefining source attributesearchQueryTemplatein extensionsolrfacetsearch.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.static final StringGenerated constant - Attribute key ofSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.static final StringGenerated constant - Attribute key ofSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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(de.hybris.platform.servicelayer.model.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
Modifier and TypeMethodDescriptiongetField()Generated method - Getter of theSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.Generated method - Getter of theSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch.booleanGenerated method - Getter of theSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.voidsetAscending(boolean value) Generated method - Setter ofSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.voidGenerated method - Setter ofSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.voidGenerated 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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_SOLRSEARCHQUERYTEMPLATE2SOLRSEARCHQUERYSORT
Generated relation code constant for relationSolrSearchQueryTemplate2SolrSearchQuerySortdefining source attributesearchQueryTemplatein extensionsolrfacetsearch.- See Also:
-
FIELD
Generated constant - Attribute key ofSolrSearchQuerySort.fieldattribute defined at extensionsolrfacetsearch.- See Also:
-
ASCENDING
Generated constant - Attribute key ofSolrSearchQuerySort.ascendingattribute defined at extensionsolrfacetsearch.- See Also:
-
SEARCHQUERYTEMPLATEPOS
Generated constant - Attribute key ofSolrSearchQuerySort.searchQueryTemplatePOSattribute defined at extensionsolrfacetsearch.- See Also:
-
SEARCHQUERYTEMPLATE
Generated constant - Attribute key ofSolrSearchQuerySort.searchQueryTemplateattribute defined at extensionsolrfacetsearch.- See Also:
-
-
Constructor Details
-
SolrSearchQuerySortModel
public SolrSearchQuerySortModel()Generated constructor - Default constructor for generic creation. -
SolrSearchQuerySortModel
public SolrSearchQuerySortModel(de.hybris.platform.servicelayer.model.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 Details
-
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
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
-