フォーラムの作成

以下を参照してください。

RAMAsset.createForum(String name, String description)RAMForum.createTopic(String name, String description)、および RAMTopic.createPost(String name, String description) を使用して、ディスカッション・フォーラム、トピック、および投稿を作成します。

                //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());

フィードバック