Beispiel #1
0
 @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);
 }
Beispiel #2
0
 @Override
 public void delEnterpriseArticle(Long id) {
   enterpriseArticleService.delEnterpriseArticle(id);
 }
Beispiel #3
0
 @Override
 public EnterpriseArticle findEnterpriseArticleById(Long id) {
   return enterpriseArticleService.findEnterpriseArticleById(id);
 }
Beispiel #4
0
 @Override
 public Long updEnterpriseArticle(EnterpriseArticle enterpriseArticle) {
   return enterpriseArticleService.updEnterpriseArticle(enterpriseArticle);
 }