Class ItemtypeSortStatementFormatter

java.lang.Object
de.hybris.platform.cms2.cmsitems.service.impl.ItemtypeSortStatementFormatter
All Implemented Interfaces:
SortStatementFormatter

public class ItemtypeSortStatementFormatter extends Object implements SortStatementFormatter
Since Itemtype is of type ComposedTypeModel, a custom SortStatementFormatter is needed to sort the itemtype by code. The default formatter DefaultSortStatementFormatter would sort the itemtypes using their PKs, which is not the expected behaviour.