Class DefaultSortQueryData

java.lang.Object
de.hybris.platform.cms2.services.impl.DefaultSortQueryData
All Implemented Interfaces:
SortQueryData

public class DefaultSortQueryData extends Object implements SortQueryData
Default implementation of SortQueryData
  • Constructor Details

    • DefaultSortQueryData

      public DefaultSortQueryData()
  • Method Details

    • getTypeClass

      public Class<? extends Dao> getTypeClass()
      Description copied from interface: SortQueryData
      Get the typeClass identifying the SortQueryData
      Specified by:
      getTypeClass in interface SortQueryData
    • getSortCode

      public String getSortCode()
      Description copied from interface: SortQueryData
      Get the sort code associated to the sort query to be applied.
      Specified by:
      getSortCode in interface SortQueryData
    • getQuery

      public String getQuery()
      Description copied from interface: SortQueryData
      Get the sort query to be applied.
      Specified by:
      getQuery in interface SortQueryData
    • isDefault

      public boolean isDefault()
      Description copied from interface: SortQueryData
      Determines if the sort query data is the default one or not.
      Specified by:
      isDefault in interface SortQueryData
    • setTypeClass

      public void setTypeClass(Class<? extends Dao> typeClass)
    • setSortCode

      public void setSortCode(String sortCode)
    • setQuery

      public void setQuery(String query)
    • setDefault

      public void setDefault(boolean isDefault)