public class StrategyConfigurationLoader extends Object
Modifier and Type | Method and Description |
---|---|
static GeneratorStrategy |
getStrategy(Criteria criteria,
com.tridion.broker.querying.criteria.strategies.QueryNumberGenerator joinNumberGenerator)
This retrieves the criteria strategy for a given broker criteria which can generate the part of the query for
this criteria.
|
static GeneratorStrategy |
getStrategy(SortParameter sortParameter)
This retrieves the sorting strategy for a given broker sorting column which can generate the part of
the query for sorting on a specific column.
|
public static GeneratorStrategy getStrategy(Criteria criteria, com.tridion.broker.querying.criteria.strategies.QueryNumberGenerator joinNumberGenerator) throws TridionReflectionException
criteria
- The criteria to retrieve a strategy forjoinNumberGenerator
- The joinNumber generator containing the join numbering logicTridionReflectionException
- If unable to load strategy a reflection exception is thrownpublic static GeneratorStrategy getStrategy(SortParameter sortParameter) throws TridionReflectionException
sortParameter
- The sorting column to get a strategy forTridionReflectionException
- If unable to load strategy a reflection exception is thrownCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries