test_class.declarator: forumService
test_class.modifier: @SpringBean("forumService")
  	private
test_class.original_string: @SpringBean("forumService")
  	private ForumService forumService;
test_class.type: ForumService
test_class.var_name: forumService
test_class.declarator: userService
test_class.modifier: @SpringBean("userService")
  	private
test_class.original_string: @SpringBean("userService")
  	private UserService userService;
test_class.type: UserService
test_class.var_name: userService
test_class.file: chapter18/src/test/java/com/smart/service/ForumServiceTest.java
test_class.identifier: ForumServiceTest
test_class.superclass: extends BaseServiceTest
test_case.body: @Test
  	@DataSet("XiaoChun.DataSet.xls")
  	public void addBoard() throws Exception {
  		Board board = XlsDataSetBeanFactory.createBean(ForumServiceTest.class,
  				"XiaoChun.DataSet.xls", "t_board", Board.class);
  
  		forumService.addBoard(board);
  		Board boardDb = forumService.getBoardById(board.getBoardId());
  		assertEquals(boardDb.getBoardName(), "育儿");
  	}
test_case.class_method_signature: ForumServiceTest.addBoard()
test_case.full_signature: @Test @DataSet("XiaoChun.DataSet.xls") public void addBoard()
test_case.identifier: addBoard
test_case.invocations: createBean addBoard getBoardById getBoardId assertEquals getBoardName
test_case.modifiers: @Test @DataSet("XiaoChun.DataSet.xls") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void addBoard()
focal_class.declarator: topicDao
focal_class.modifier: private
focal_class.original_string: private TopicDao topicDao;
focal_class.type: TopicDao
focal_class.var_name: topicDao
focal_class.declarator: userDao
focal_class.modifier: private
focal_class.original_string: private UserDao userDao;
focal_class.type: UserDao
focal_class.var_name: userDao
focal_class.declarator: boardDao
focal_class.modifier: private
focal_class.original_string: private BoardDao boardDao;
focal_class.type: BoardDao
focal_class.var_name: boardDao
focal_class.declarator: postDao
focal_class.modifier: private
focal_class.original_string: private PostDao postDao;
focal_class.type: PostDao
focal_class.var_name: postDao
focal_class.file: chapter18/src/main/java/com/smart/service/ForumService.java
focal_class.identifier: ForumService
focal_class.class_method_signature: ForumService.setTopicDao(TopicDao topicDao)
focal_class.full_signature: @Autowired public void setTopicDao(TopicDao topicDao)
focal_class.identifier: setTopicDao
focal_class.modifiers: @Autowired public
focal_class.parameters: (TopicDao topicDao)
focal_class.return: void
focal_class.signature: void setTopicDao(TopicDao topicDao)
focal_class.class_method_signature: ForumService.setUserDao(UserDao userDao)
focal_class.full_signature: @Autowired public void setUserDao(UserDao userDao)
focal_class.identifier: setUserDao
focal_class.modifiers: @Autowired public
focal_class.parameters: (UserDao userDao)
focal_class.return: void
focal_class.signature: void setUserDao(UserDao userDao)
focal_class.class_method_signature: ForumService.setBoardDao(BoardDao boardDao)
focal_class.full_signature: @Autowired public void setBoardDao(BoardDao boardDao)
focal_class.identifier: setBoardDao
focal_class.modifiers: @Autowired public
focal_class.parameters: (BoardDao boardDao)
focal_class.return: void
focal_class.signature: void setBoardDao(BoardDao boardDao)
focal_class.class_method_signature: ForumService.setPostDao(PostDao postDao)
focal_class.full_signature: @Autowired public void setPostDao(PostDao postDao)
focal_class.identifier: setPostDao
focal_class.modifiers: @Autowired public
focal_class.parameters: (PostDao postDao)
focal_class.return: void
focal_class.signature: void setPostDao(PostDao postDao)
focal_class.class_method_signature: ForumService.addTopic(Topic topic)
focal_class.full_signature: public void addTopic(Topic topic)
focal_class.identifier: addTopic
focal_class.modifiers: public
focal_class.parameters: (Topic topic)
focal_class.return: void
focal_class.signature: void addTopic(Topic topic)
focal_class.class_method_signature: ForumService.removeTopic(int topicId)
focal_class.full_signature: public void removeTopic(int topicId)
focal_class.identifier: removeTopic
focal_class.modifiers: public
focal_class.parameters: (int topicId)
focal_class.return: void
focal_class.signature: void removeTopic(int topicId)
focal_class.class_method_signature: ForumService.addPost(Post post)
focal_class.full_signature: public void addPost(Post post)
focal_class.identifier: addPost
focal_class.modifiers: public
focal_class.parameters: (Post post)
focal_class.return: void
focal_class.signature: void addPost(Post post)
focal_class.class_method_signature: ForumService.removePost(int postId)
focal_class.full_signature: public void removePost(int postId)
focal_class.identifier: removePost
focal_class.modifiers: public
focal_class.parameters: (int postId)
focal_class.return: void
focal_class.signature: void removePost(int postId)
focal_class.class_method_signature: ForumService.addBoard(Board board)
focal_class.full_signature: public void addBoard(Board board)
focal_class.identifier: addBoard
focal_class.modifiers: public
focal_class.parameters: (Board board)
focal_class.return: void
focal_class.signature: void addBoard(Board board)
focal_class.class_method_signature: ForumService.removeBoard(int boardId)
focal_class.full_signature: public void removeBoard(int boardId)
focal_class.identifier: removeBoard
focal_class.modifiers: public
focal_class.parameters: (int boardId)
focal_class.return: void
focal_class.signature: void removeBoard(int boardId)
focal_class.class_method_signature: ForumService.makeDigestTopic(int topicId)
focal_class.full_signature: public void makeDigestTopic(int topicId)
focal_class.identifier: makeDigestTopic
focal_class.modifiers: public
focal_class.parameters: (int topicId)
focal_class.return: void
focal_class.signature: void makeDigestTopic(int topicId)
focal_class.class_method_signature: ForumService.getAllBoards()
focal_class.full_signature: public List<Board> getAllBoards()
focal_class.identifier: getAllBoards
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Board>
focal_class.signature: List<Board> getAllBoards()
focal_class.class_method_signature: ForumService.getPagedTopics(int boardId,int pageNo,int pageSize)
focal_class.full_signature: public Page getPagedTopics(int boardId,int pageNo,int pageSize)
focal_class.identifier: getPagedTopics
focal_class.modifiers: public
focal_class.parameters: (int boardId,int pageNo,int pageSize)
focal_class.return: Page
focal_class.signature: Page getPagedTopics(int boardId,int pageNo,int pageSize)
focal_class.class_method_signature: ForumService.getPagedPosts(int topicId,int pageNo,int pageSize)
focal_class.full_signature: public Page getPagedPosts(int topicId,int pageNo,int pageSize)
focal_class.identifier: getPagedPosts
focal_class.modifiers: public
focal_class.parameters: (int topicId,int pageNo,int pageSize)
focal_class.return: Page
focal_class.signature: Page getPagedPosts(int topicId,int pageNo,int pageSize)
focal_class.class_method_signature: ForumService.queryTopicByTitle(String title,int pageNo,int pageSize)
focal_class.full_signature: public Page queryTopicByTitle(String title,int pageNo,int pageSize)
focal_class.identifier: queryTopicByTitle
focal_class.modifiers: public
focal_class.parameters: (String title,int pageNo,int pageSize)
focal_class.return: Page
focal_class.signature: Page queryTopicByTitle(String title,int pageNo,int pageSize)
focal_class.class_method_signature: ForumService.getBoardById(int boardId)
focal_class.full_signature: public Board getBoardById(int boardId)
focal_class.identifier: getBoardById
focal_class.modifiers: public
focal_class.parameters: (int boardId)
focal_class.return: Board
focal_class.signature: Board getBoardById(int boardId)
focal_class.class_method_signature: ForumService.getTopicByTopicId(int topicId)
focal_class.full_signature: public Topic getTopicByTopicId(int topicId)
focal_class.identifier: getTopicByTopicId
focal_class.modifiers: public
focal_class.parameters: (int topicId)
focal_class.return: Topic
focal_class.signature: Topic getTopicByTopicId(int topicId)
focal_class.class_method_signature: ForumService.getPostByPostId(int postId)
focal_class.full_signature: public Post getPostByPostId(int postId)
focal_class.identifier: getPostByPostId
focal_class.modifiers: public
focal_class.parameters: (int postId)
focal_class.return: Post
focal_class.signature: Post getPostByPostId(int postId)
focal_class.class_method_signature: ForumService.addBoardManager(int boardId,String userName)
focal_class.full_signature: public void addBoardManager(int boardId,String userName)
focal_class.identifier: addBoardManager
focal_class.modifiers: public
focal_class.parameters: (int boardId,String userName)
focal_class.return: void
focal_class.signature: void addBoardManager(int boardId,String userName)
focal_class.class_method_signature: ForumService.updateTopic(Topic topic)
focal_class.full_signature: public void updateTopic(Topic topic)
focal_class.identifier: updateTopic
focal_class.modifiers: public
focal_class.parameters: (Topic topic)
focal_class.return: void
focal_class.signature: void updateTopic(Topic topic)
focal_class.class_method_signature: ForumService.updatePost(Post post)
focal_class.full_signature: public void updatePost(Post post)
focal_class.identifier: updatePost
focal_class.modifiers: public
focal_class.parameters: (Post post)
focal_class.return: void
focal_class.signature: void updatePost(Post post)
focal_method.body: public void addBoard(Board board) {
  		boardDao.save(board);
  	}
focal_method.class_method_signature: ForumService.addBoard(Board board)
focal_method.full_signature: public void addBoard(Board board)
focal_method.identifier: addBoard
focal_method.invocations: save
focal_method.modifiers: public
focal_method.parameters: (Board board)
focal_method.return: void
focal_method.signature: void addBoard(Board board)