Class DefaultSortQueryData
java.lang.Object
de.hybris.platform.cms2.services.impl.DefaultSortQueryData
- All Implemented Interfaces:
SortQueryData
Default implementation of
SortQueryData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()Get the sort query to be applied.Get the sort code associated to the sort query to be applied.Get the typeClass identifying theSortQueryDatabooleanDetermines if the sort query data is the default one or not.voidsetDefault(boolean isDefault) voidvoidsetSortCode(String sortCode) voidsetTypeClass(Class<? extends Dao> typeClass)
-
Constructor Details
-
DefaultSortQueryData
public DefaultSortQueryData()
-
-
Method Details
-
getTypeClass
Description copied from interface:SortQueryDataGet the typeClass identifying theSortQueryData- Specified by:
getTypeClassin interfaceSortQueryData
-
getSortCode
Description copied from interface:SortQueryDataGet the sort code associated to the sort query to be applied.- Specified by:
getSortCodein interfaceSortQueryData
-
getQuery
Description copied from interface:SortQueryDataGet the sort query to be applied.- Specified by:
getQueryin interfaceSortQueryData
-
isDefault
public boolean isDefault()Description copied from interface:SortQueryDataDetermines if the sort query data is the default one or not.- Specified by:
isDefaultin interfaceSortQueryData
-
setTypeClass
-
setSortCode
-
setQuery
-
setDefault
public void setDefault(boolean isDefault)
-