class ExpandoTableResolversImpl implements ExpandoTableResolvers {

    @Override
    public DataFetcher<ExpandoTable> updateExpandoTableDataFetcher() {
        return environment -> {
            long tableId = util.getLongArg(environment, "tableId");
            String name = util.getStringArg(environment, "name");

            return expandoTableLocalService.updateTable(
                    tableId,
                    name);
        };
    }

}