Interface StrategyService

  • All Known Implementing Classes:
    DefaultStrategyService

    public interface StrategyService
    StrategyService is a service for retrieving a list of configured Strategy entities to be rendered within SmartEdit.
    • Method Detail

      • getStrategies

        java.util.List<Strategy> getStrategies​(java.lang.Integer pageNumber,
                                               java.lang.Integer pageSize)
        getStrategies returns a list of Strategy objects for the configured tenant.
        Parameters:
        pageNumber - - number of pages to include in the response
        pageSize - - number of data in a single page
        Returns:
        List of Strategy - list of strategy
      • getStrategy

        Strategy getStrategy​(java.lang.String id)
        getStrategy return the Strategy for the id
        Parameters:
        id - - identifier of the strategy
        Returns:
        Strategy - a Strategy for the id provided