com.elasticpath.service.catalogview
Interface SorterFactory

All Superinterfaces:
EpService
All Known Implementing Classes:
SorterFactoryImpl

public interface SorterFactory
extends EpService

Represents a factory which will create sorters based on the given sorter Id.


Method Summary
 Sorter getSorter(java.lang.String idStr)
          Creates and returns a sorter based on the given identifier string.
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Method Detail

getSorter

Sorter getSorter(java.lang.String idStr)
                 throws EpCatalogViewRequestBindException
Creates and returns a sorter based on the given identifier string.

Parameters:
idStr - the identifier string
Returns:
a sorter
Throws:
EpCatalogViewRequestBindException - when the given identifier string is invalid