public void removeChannelFromCategory(ChannelDefinition channelDef, ChannelCategory category) throws PortalException {
String channelDefKey = String.valueOf(channelDef.getId());
IEntity channelDefEntity = GroupService.getEntity(channelDefKey, ChannelDefinition.class);
String categoryKey = String.valueOf(category.getId());
IEntityGroup categoryGroup = GroupService.findGroup(categoryKey);
categoryGroup.removeMember(channelDefEntity);
categoryGroup.updateMembers();
}
protected static final PreparedStatement getChannelPstmt(Connection con) throws SQLException {