Beispiel #1
0
 public WebViewPortfolioGrid(
     ViewClient viewClient,
     CompiledViewDefinition compiledViewDefinition,
     ResultConverterCache resultConverterCache,
     LocalSession local,
     ServerSession remote,
     ComputationTargetResolver computationTargetResolver) {
   this(
       viewClient,
       compiledViewDefinition,
       flattenPortfolio(compiledViewDefinition.getPortfolio()),
       resultConverterCache,
       local,
       remote,
       computationTargetResolver);
 }
  protected PushRequirementBasedWebViewGrid(
      String name,
      ViewClient viewClient,
      CompiledViewDefinition compiledViewDefinition,
      List<ComputationTargetSpecification> targets,
      EnumSet<ComputationTargetType> targetTypes,
      ResultConverterCache resultConverterCache,
      String nullCellValue) {
    super(name, viewClient, resultConverterCache);

    List<RequirementBasedColumnKey> requirements =
        getRequirements(compiledViewDefinition.getViewDefinition(), targetTypes);
    _gridStructure =
        new RequirementBasedGridStructure(
            compiledViewDefinition, targetTypes, requirements, targets);
    _nullCellValue = nullCellValue;
  }