protected void processAssignedWriter ( final TagProvider tagProvider , final ITopicNode topicNode , final TopicWrapper topic ) { LOG . debug ( "Processing assigned writer" ) ; // See if a new tag collection needs to be created if ( topic . getTags ( ) == null ) { topic . setTags ( tagProvider . newTagCollection ( ) ) ; } // Set the assigned writer (Tag Table) final TagWrapper writerTag = tagProvider . getTagByName ( topicNode . getAssignedWriter ( true ) ) ; // Save a new assigned writer topic . getTags ( ) . addNewItem ( writerTag ) ; // Some providers need the collection to be set to set flags for saving topic . setTags ( topic . getTags ( ) ) ; }
Processes a Spec Topic and adds the assigned writer for the topic it represents .