org.exoplatform.forum.service
Class TopicListAccess

java.lang.Object
  extended by org.exoplatform.ks.common.jcr.JCRListAccess<Topic>
      extended by org.exoplatform.forum.service.TopicListAccess
All Implemented Interfaces:
ListAccess<Topic>

public class TopicListAccess
extends JCRListAccess<Topic>

List access for topics.

Version:
$Revision$
Author:
Patrice Lamarque

Constructor Summary
TopicListAccess(java.lang.String topicQuery)
           
 
Method Summary
protected  int getSize(javax.jcr.Session session)
           
protected  Topic[] load(javax.jcr.Session session, int index, int length)
           
 
Methods inherited from class org.exoplatform.ks.common.jcr.JCRListAccess
getSize, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicListAccess

public TopicListAccess(java.lang.String topicQuery)
Parameters:
topicQuery - the JCR xpath query that will match topic nodes
Method Detail

getSize

protected int getSize(javax.jcr.Session session)
               throws java.lang.Exception
Specified by:
getSize in class JCRListAccess<Topic>
Throws:
java.lang.Exception

load

protected Topic[] load(javax.jcr.Session session,
                       int index,
                       int length)
                throws java.lang.Exception,
                       java.lang.IllegalArgumentException
Specified by:
load in class JCRListAccess<Topic>
Throws:
java.lang.Exception
java.lang.IllegalArgumentException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.