Create a forum

Use RAMAsset.createForum(String name, String description), RAMForum.createTopic(String name, String description) and RAMTopic.createPost(String name, String description) to create discussion forums, topics and posts.

                //Create a new forum
                RAMForum newForum = newAsset.createForum("Test Forum", "A fourm created to show the API");
                
                //Create a topic
                RAMTopic newTopic = newForum.createTopic("New Topic", "This is my test topic");
                
                //Create a post
                RAMPost newPost = newTopic.createPost("New Post", "This is a test post");
                
                //Commit the asset and the forum change will go with it.
                session.put(newAsset, new NullProgressMonitor());

Feedback