Class DefaultIntegrationSortingService
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.common.services.impl.DefaultIntegrationSortingService
- All Implemented Interfaces:
IntegrationSortingService
Default implementation of IntegrationSortingService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAttributeSortable(com.hybris.cockpitng.dataaccess.facades.type.DataAttribute attribute) Verifies ifDataAttributeis sortable.
-
Constructor Details
-
DefaultIntegrationSortingService
public DefaultIntegrationSortingService()
-
-
Method Details
-
isAttributeSortable
public boolean isAttributeSortable(com.hybris.cockpitng.dataaccess.facades.type.DataAttribute attribute) Verifies ifDataAttributeis sortable.- Specified by:
isAttributeSortablein interfaceIntegrationSortingService- Parameters:
attribute- a given attribute.- Returns:
- true if the attribute is searchable, of type single and has
DataTypeatomic or enum. Returns false otherwise.
-