com.elasticpath.service.catalogview.impl
Class SorterFactoryImpl

java.lang.Object
  extended by com.elasticpath.service.impl.AbstractEpServiceImpl
      extended by com.elasticpath.service.catalogview.impl.SorterFactoryImpl
All Implemented Interfaces:
SorterFactory, EpService

public class SorterFactoryImpl
extends AbstractEpServiceImpl
implements SorterFactory

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


Constructor Summary
SorterFactoryImpl()
           
 
Method Summary
 Sorter getSorter(java.lang.String idStr)
          Creates and returns a sorter based on the given identifier string.
 
Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Constructor Detail

SorterFactoryImpl

public SorterFactoryImpl()
Method Detail

getSorter

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

Specified by:
getSorter in interface SorterFactory
Parameters:
idStr - the identifier string
Returns:
a sorter
Throws:
EpCatalogViewRequestBindException - when the given identifier string is invalid