org.exoplatform.forum.bench
Class PhpBBForumDataProvider

java.lang.Object
  extended by org.exoplatform.forum.bench.PhpBBForumDataProvider
All Implemented Interfaces:
ForumDataProvider

public class PhpBBForumDataProvider
extends java.lang.Object
implements ForumDataProvider


Method Summary
 java.util.List<Category> findCategories()
           
 java.util.List<Forum> findForumsByCategory(java.lang.String categoryId)
           
 java.util.List<Topic> findTopicsByForum(Forum forum)
           
 java.util.List<Post> fingPostsByTopic(Topic topic)
           
 boolean isInitialized()
           
protected  Category newCategory(java.lang.String name, long order)
           
protected  Forum newForum(java.lang.String name, java.lang.String desc, int order)
           
protected  Post newPost(java.lang.String subject, java.lang.String text)
           
protected  Topic newTopic(java.lang.String name, java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findCategories

public java.util.List<Category> findCategories()
Specified by:
findCategories in interface ForumDataProvider

newCategory

protected Category newCategory(java.lang.String name,
                               long order)

findForumsByCategory

public java.util.List<Forum> findForumsByCategory(java.lang.String categoryId)
Specified by:
findForumsByCategory in interface ForumDataProvider

newForum

protected Forum newForum(java.lang.String name,
                         java.lang.String desc,
                         int order)

fingPostsByTopic

public java.util.List<Post> fingPostsByTopic(Topic topic)
Specified by:
fingPostsByTopic in interface ForumDataProvider

newPost

protected Post newPost(java.lang.String subject,
                       java.lang.String text)

findTopicsByForum

public java.util.List<Topic> findTopicsByForum(Forum forum)
Specified by:
findTopicsByForum in interface ForumDataProvider

newTopic

protected Topic newTopic(java.lang.String name,
                         java.lang.String text)

isInitialized

public boolean isInitialized()
Specified by:
isInitialized in interface ForumDataProvider


Copyright © 2011 eXo Platform SAS. All Rights Reserved.