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') ")
 public void unPubProjectBasic(Integer channelId, List<Long> projectBasicIds) {
   projectBasicService.unPubProjectBasic(projectBasicIds);
 }
Beispiel #2
0
 @Override
 public List<ProjectBasic> findProjectBasicByPageAndRows(Integer page, Integer rows, String name) {
   return projectBasicService.findProjectBasicByPageAndRows(page, rows, name);
 }
Beispiel #3
0
 public Long findProjectBasicTotal(String name) {
   return projectBasicService.findProjectBasicTotal(name);
 }
Beispiel #4
0
 @Override
 public Document exportXml(List<Long> projectBasicIds) {
   return projectBasicService.exportXml(projectBasicIds);
 }
Beispiel #5
0
 @Override
 public void addProjectBasicByImportXml(File file, Integer channelId, String fileType) {
   projectBasicService.addProjectBasicByImportXml(file, channelId, fileType);
 }
Beispiel #6
0
 @Override
 public ProjectBasic findProjectBasicById(Long id) {
   return projectBasicService.findProjectBasicById(id);
 }
Beispiel #7
0
 @Override
 public void delProjectBasic(Long id) {
   projectBasicService.delProjectBasic(id);
 }
Beispiel #8
0
 @Override
 public Long updProjectBasic(ProjectBasic projectBasic) throws BaseException {
   return projectBasicService.updProjectBasic(projectBasic);
 }