Exemple #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 unPubEnterpriseBasic(Integer channelId, List<Long> enterpriseBasicIds) {
   enterpriseBasicService.unPubEnterpriseBasic(enterpriseBasicIds);
 }
Exemple #2
0
 @Override
 public Long findEnterpriseBasicTotal(String name) {
   return enterpriseBasicService.findEnterpriseBasicTotal(name);
 }
Exemple #3
0
 @Override
 public List<EnterpriseBasic> findEnterpriseBasicByPageAndRows(
     Integer page, Integer rows, String name) {
   return enterpriseBasicService.findEnterpriseBasicByPageAndRows(page, rows, name);
 }
Exemple #4
0
 @Override
 public EnterpriseBasic findEnterpriseBasicById(Long id) {
   return enterpriseBasicService.findEnterpriseBasicById(id);
 }
Exemple #5
0
 @Override
 public void delEnterpriseBasic(Long id) {
   enterpriseBasicService.delEnterpriseBasic(id);
 }
Exemple #6
0
 @Override
 public Long updEnterpriseBasic(EnterpriseBasic enterpriseBasic) {
   return enterpriseBasicService.updEnterpriseBasic(enterpriseBasic);
 }