package ru.micord.ervu.account_applications.component.rpc;

import java.util.List;


import ru.micord.ervu.account_applications.component.model.TreeItemDto;
import ru.micord.ervu.account_applications.component.service.TreeItemService;

import ru.cg.webbpm.modules.webkit.annotations.RpcCall;
import ru.cg.webbpm.modules.webkit.annotations.RpcService;
import ru.cg.webbpm.modules.webkit.beans.Behavior;

/**
 * @author r.latypov
 */
@RpcService
public class TreeItemRpcService extends Behavior {
  public TreeItemService treeItemService;

  @RpcCall
  public List<TreeItemDto> loadTreeData() {
    return treeItemService.loadTreeData();
  }
}
