class ExpandoValueResolversImpl implements ExpandoValueResolvers {

    @Override
    public DataFetcher<ExpandoValue> createExpandoValueForStringDataFetcher() {
        return environment -> {
            long companyId = util.getLongArg(environment, "companyId");
            String className = util.getStringArg(environment, "className");
            String tableName = util.getStringArg(environment, "tableName");
            String columnName = util.getStringArg(environment, "columnName");
            long classPK = util.getLongArg(environment, "classPK");
            String data = util.getStringArg(environment, "data");

            return expandoValueLocalService.addValue(
                    companyId,
                    className,
                    tableName,
                    columnName,
                    classPK,
                    data);
        };
    }

}