포럼 작성

다음을 참조하십시오.

토론 포럼, 주제 및 포스트를 작성하려면 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());

피드백