@PreAuthorize( "hasRole('ROLE_ADMIN') " + "or hasPermission(#channelId,'com.ewcms.core.site.model.Channel','PUBLISH') " + "or hasPermission(#channelId,'com.ewcms.core.site.model.Channel','ADMIN') ") @Override public void unPubEnterpriseArticle(Integer channelId, List<Long> enterpriseArticleIds) { enterpriseArticleService.unPubEnterpriseArticle(enterpriseArticleIds); }
@Override public void delEnterpriseArticle(Long id) { enterpriseArticleService.delEnterpriseArticle(id); }
@Override public EnterpriseArticle findEnterpriseArticleById(Long id) { return enterpriseArticleService.findEnterpriseArticleById(id); }
@Override public Long updEnterpriseArticle(EnterpriseArticle enterpriseArticle) { return enterpriseArticleService.updEnterpriseArticle(enterpriseArticle); }