org.exoplatform.platform.gadget.services.ForumStatistics
Class ForumsIntranetServiceImp

java.lang.Object
  extended by org.exoplatform.platform.gadget.services.ForumStatistics.ForumsIntranetServiceImp
All Implemented Interfaces:
ForumsIntranetService

public class ForumsIntranetServiceImp
extends Object
implements ForumsIntranetService

Version:
1.0
Author:
Do Thanh Tung

Field Summary
static String JCR_ROOT
           
 
Constructor Summary
ForumsIntranetServiceImp(org.exoplatform.container.xml.InitParams params, org.exoplatform.forum.common.jcr.KSDataLocation locator)
           
 
Method Summary
 List<TopicBean> getTopRateTopicByUser(List<String> allInfoOfUser, int maxcount)
          get Top {maxcount} rated of topics by permission of userId
 javax.jcr.NodeIterator getTopVoteTopicByUser(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, boolean isMod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JCR_ROOT

public static final String JCR_ROOT
See Also:
Constant Field Values
Constructor Detail

ForumsIntranetServiceImp

public ForumsIntranetServiceImp(org.exoplatform.container.xml.InitParams params,
                                org.exoplatform.forum.common.jcr.KSDataLocation locator)
                         throws Exception
Throws:
Exception
Method Detail

getTopRateTopicByUser

public List<TopicBean> getTopRateTopicByUser(List<String> allInfoOfUser,
                                             int maxcount)
                                      throws Exception
get Top {maxcount} rated of topics by permission of userId

Specified by:
getTopRateTopicByUser in interface ForumsIntranetService
Parameters:
userId - String is userId of user login
maxcount - maximum of result
Returns:
top {maxcount} rated of topics
Throws:
Exception

getTopVoteTopicByUser

public javax.jcr.NodeIterator getTopVoteTopicByUser(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                                                    boolean isMod)
                                             throws Exception
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.