@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); }
@Override public List<ProjectBasic> findProjectBasicByPageAndRows(Integer page, Integer rows, String name) { return projectBasicService.findProjectBasicByPageAndRows(page, rows, name); }
public Long findProjectBasicTotal(String name) { return projectBasicService.findProjectBasicTotal(name); }
@Override public Document exportXml(List<Long> projectBasicIds) { return projectBasicService.exportXml(projectBasicIds); }
@Override public void addProjectBasicByImportXml(File file, Integer channelId, String fileType) { projectBasicService.addProjectBasicByImportXml(file, channelId, fileType); }
@Override public ProjectBasic findProjectBasicById(Long id) { return projectBasicService.findProjectBasicById(id); }
@Override public void delProjectBasic(Long id) { projectBasicService.delProjectBasic(id); }
@Override public Long updProjectBasic(ProjectBasic projectBasic) throws BaseException { return projectBasicService.updProjectBasic(projectBasic); }