package ru.micord.ervu.service.rpc;

import java.util.List;

import model.FieldData;
import service.container.FormService;

import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
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 gulnaz
 */
@RpcService
public class LoadFormRpcService extends Behavior {

  @NotNull
  public FormService formService;

  @RpcCall
  public List<FieldData> loadData(Object dto) {
    return formService.loadData(dto);
  }
}
