public void addChannelToCategory(IChannelDefinition channelDef, ChannelCategory category) throws PortalException {
String channelDefKey = String.valueOf(channelDef.getId());
IEntity channelDefEntity = GroupService.getEntity(channelDefKey, IChannelDefinition.class);
IEntityGroup categoryGroup = GroupService.findGroup(category.getId());
categoryGroup.addMember(channelDefEntity);
categoryGroup.updateMembers();
}
/**
* Sets a channel definition as "approved". This effectively makes a
* channel definition available in the channel registry, making the channel