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