class RatingsEntryResolversImpl implements RatingsEntryResolvers {

    @Override
    public DataFetcher<RatingsEntry> deleteRatingsEntryDataFetcher() {
        return environment -> {
            long entryId = util.getLongArg(environment, "entryId");

            return ratingsEntryLocalService.deleteRatingsEntry(entryId);
        };
    }

}