class DDMContentResolversImpl implements DDMContentResolvers {

    @Override
    public DataFetcher<List<DDMContent>> getDDMContentsDataFetcher() {
        return environment -> {
            int start = util.getIntArg(environment, "start", 0);
            int end = util.getIntArg(environment, "end", 10);

            return ddmContentLocalService.getDDMContents(start, end);
        };
    }

}