class JournalArticleResolversImpl implements JournalArticleResolvers {

    @Override
    public DataFetcher<JournalArticle> deleteJournalArticleDataFetcher() {
        return environment -> {
            long id = util.getLongArg(environment, "id");

            return journalArticleLocalService.deleteJournalArticle(id);
        };
    }

}