/** * Creates a channel and its properties/tags in the database. * * @param chan XmlChannel object * @throws CFException wrapping an SQLException */ public static void createChannel(XmlChannel chan) throws CFException { CreateChannelQuery q = new CreateChannelQuery(chan); q.executeQuery(DbConnection.getInstance().getConnection()); }