@PreAuthorize( "hasRole('ROLE_ADMIN') " + "or hasPermission(#parentId,'com.ewcms.core.site.model.Channel',new String[]{'ADMIN','CREATE'})") @Override public Integer addChannel(Integer parentId, String name) { return channelService.addChannel(parentId, name); }
@PreAuthorize( "hasRole('ROLE_ADMIN') " + "or hasPermission(#id,'com.ewcms.core.site.model.Channel',new String[]{'ADMIN','DELETE'})") @Override public void delChannel(Integer id) { channelService.delChannel(id); }
@PreAuthorize( "hasRole('ROLE_ADMIN') " + "or hasPermission(#id,'com.ewcms.core.site.model.Channel',new String[]{'ADMIN','UPDATE'})") @Override public void renameChannel(Integer id, String name) { channelService.renameChannel(id, name); }
@PreAuthorize( "hasRole('ROLE_ADMIN') or hasPermission(#id,'com.ewcms.core.site.model.Channel','ADMIN')") @Override public void removePermission(Integer id, String name) { channelService.removePermission(id, name); }
@Override public void delAppChannel(Integer channelId, Integer appChannelId) { channelService.delAppChannel(channelId, appChannelId); }
@Override public List<Integer> findAssociatedChannel(Integer channelId) { return channelService.findAppChannel(channelId); }
@PreAuthorize("isAuthenticated()") @Override public Acl findAclOfChannel(final Channel channel) { return channelService.findAclOfChannel(channel); }
public void exportChannelZip(Integer channelId, ZipOutputStream zos, String channelPath) { channelService.exportChannelZip(channelId, zos, channelPath); }
@Override public List<Channel> getChannelChildren(Integer parentId) { return channelService.getChannelChildren(parentId); }
@PreAuthorize( "hasRole('ROLE_ADMIN') or hasPermission(#id,'com.ewcms.core.site.model.Channel','ADMIN')") @Override public void forceRelease(Integer channelId, Boolean children) throws PublishException { channelService.forceRelease(channelId, children); }
@Override public ChannelNode channelNodeRoot() { return channelService.channelNodeRoot(); }
@PreAuthorize("isAuthenticated()") @Override public Channel getChannelRoot() { return channelService.getChannelRoot(); }
@Override public Channel getChannel(Integer id) { return channelService.getChannel(id); }
@PreAuthorize( "hasRole('ROLE_ADMIN') " + "or hasPermission(#channel,new String[]{'ADMIN','UPDATE'})") @Override public Integer updChannel(Channel vo) { return channelService.updChannel(vo); }
@PreAuthorize( "hasRole('ROLE_ADMIN') or hasPermission(#id,'com.ewcms.core.site.model.Channel','ADMIN')") @Override public void updateInheriting(Integer id, boolean inheriting) { channelService.updateInheriting(id, inheriting); }
@PreAuthorize( "hasRole('ROLE_ADMIN') or hasPermission(#id,'com.ewcms.core.site.model.Channel','ADMIN')") @Override public void moveSortChannel(Integer channelId, Integer parentId, Long sort) { channelService.moveSortChannel(channelId, parentId, sort); }
@Override public Set<Permission> getPermissionsById(int id) { return channelService.getPermissionsById(id); }
@PreAuthorize("isAuthenticated()") @Override public List<ChannelNode> getChannelChildren(Integer parentId, Boolean publicenable) { return channelService.getChannelChildren(parentId, publicenable); }