class JournalFolderResolversImpl implements JournalFolderResolvers {

    @Override
    public DataFetcher<JournalFolder> deleteJournalFolderDataFetcher() {
        return environment -> {
            long folderId = util.getLongArg(environment, "folderId");

            return journalFolderLocalService.deleteJournalFolder(folderId);
        };
    }

}