Class DefaultSortQueryDataRegistry
java.lang.Object
de.hybris.platform.cms2.services.impl.DefaultSortQueryDataRegistry
- All Implemented Interfaces:
SortQueryDataRegistry,org.springframework.beans.factory.InitializingBean
public class DefaultSortQueryDataRegistry
extends Object
implements SortQueryDataRegistry, org.springframework.beans.factory.InitializingBean
Default implementation of the
SortQueryDataRegistry. This implementation uses autowire-by-type to inject
all beans implementing SortQueryData.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected Set<SortQueryData>Get all elements in the registry.getDefaultSortQueryData(Class<? extends Dao> typeClass) Get a defaultSortQueryDatafor a given type class.getSortQueryData(Class<? extends Dao> typeClass, String sortCode) Get a specificSortQueryDataby type class.voidsetAllSortQueries(Set<SortQueryData> allSortQueries)
-
Constructor Details
-
DefaultSortQueryDataRegistry
public DefaultSortQueryDataRegistry()
-
-
Method Details
-
getSortQueryData
Description copied from interface:SortQueryDataRegistryGet a specificSortQueryDataby type class.- Specified by:
getSortQueryDatain interfaceSortQueryDataRegistry
-
getDefaultSortQueryData
Description copied from interface:SortQueryDataRegistryGet a defaultSortQueryDatafor a given type class.- Specified by:
getDefaultSortQueryDatain interfaceSortQueryDataRegistry
-
getAllSortQueryData
Description copied from interface:SortQueryDataRegistryGet all elements in the registry.- Specified by:
getAllSortQueryDatain interfaceSortQueryDataRegistry
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getAllSortQueries
-
setAllSortQueries
-