Class DefaultStrategyService
- java.lang.Object
-
- com.hybris.merchandising.service.impl.DefaultStrategyService
-
- All Implemented Interfaces:
StrategyService
public class DefaultStrategyService extends java.lang.Object implements StrategyService
Default implementation ofStrategyService.
-
-
Field Summary
Fields Modifier and Type Field Description protected ApiRegistryClientServiceapiRegistryClientService
-
Constructor Summary
Constructors Constructor Description DefaultStrategyService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Strategy>getStrategies(java.lang.Integer pageNumber, java.lang.Integer pageSize)getStrategies returns a list ofStrategyobjects for the configured tenant.StrategygetStrategy(java.lang.String id)getStrategy return theStrategyfor the id
-
-
-
Field Detail
-
apiRegistryClientService
@Autowired @Qualifier("apiRegistryClientService") protected ApiRegistryClientService apiRegistryClientService
-
-
Method Detail
-
getStrategies
public java.util.List<Strategy> getStrategies(java.lang.Integer pageNumber, java.lang.Integer pageSize)
getStrategies returns a list ofStrategyobjects for the configured tenant.- Specified by:
getStrategiesin interfaceStrategyService- Parameters:
pageNumber- - number of pages to include in the responsepageSize- - number of data in a single page- Returns:
- List of
Strategy- list of strategy
-
getStrategy
public Strategy getStrategy(java.lang.String id)
getStrategy return theStrategyfor the id- Specified by:
getStrategyin interfaceStrategyService- Parameters:
id- - identifier of the strategy- Returns:
- Strategy - a Strategy for the id provided
-
-