// construct a new channel registry
ChannelRegistryBean registry = new ChannelRegistryBean();
// add the root category and all its children to the registry
ChannelCategory rootCategory = channelRegistryStore.getTopLevelChannelCategory();
registry.addCategory(addChildren(rootCategory, allChannels, user, type));
/*
* uPortal historically has provided for a convention that channels
* not in any category may potentially be viewed by users but may not
* be subscribed to. We'd like administrators to still be able to