class DDMContentResolversImpl implements DDMContentResolvers {

    @Override
    public DataFetcher<DDMContent> deleteDDMContentDataFetcher() {
        return environment -> {
            long contentId = util.getLongArg(environment, "contentId");

            return ddmContentLocalService.deleteDDMContent(contentId);
        };
    }

}