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