org.exoplatform.calendar.service
Class EventPageListQuery

java.lang.Object
  extended by org.exoplatform.calendar.service.JCRPageList
      extended by org.exoplatform.calendar.service.EventPageListQuery

public class EventPageListQuery
extends JCRPageList

Since:
July 25, 2007
Author:
Hung Nguyen (hung.nguyen@exoplatform.com)

Field Summary
 
Fields inherited from class org.exoplatform.calendar.service.JCRPageList
available_, availablePage_, currentListPage_, currentPage_
 
Constructor Summary
EventPageListQuery(String username, String value, long pageSize)
           
 
Method Summary
 List<CalendarEvent> getAll()
           
static CalendarEvent getEventFromNode(CalendarEvent event, javax.jcr.Node eventNode, javax.jcr.Node reminderFolder)
           
static List<Reminder> getReminders(javax.jcr.Node eventNode, javax.jcr.Node reminderFolder)
           
protected  void populateCurrentPage(long page, String username)
           
 void setSession(javax.jcr.Session s)
           
 
Methods inherited from class org.exoplatform.calendar.service.JCRPageList
checkAndSetPage, currentPage, getAvailable, getAvailablePage, getCurrentPage, getPage, getPageSize, setAvailablePage, setPageSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventPageListQuery

public EventPageListQuery(String username,
                          String value,
                          long pageSize)
                   throws Exception
Throws:
Exception
Method Detail

populateCurrentPage

protected void populateCurrentPage(long page,
                                   String username)
                            throws Exception
Specified by:
populateCurrentPage in class JCRPageList
Throws:
Exception

getEventFromNode

public static CalendarEvent getEventFromNode(CalendarEvent event,
                                             javax.jcr.Node eventNode,
                                             javax.jcr.Node reminderFolder)
                                      throws Exception
Throws:
Exception

getReminders

public static List<Reminder> getReminders(javax.jcr.Node eventNode,
                                          javax.jcr.Node reminderFolder)
                                   throws Exception
Throws:
Exception

getAll

public List<CalendarEvent> getAll()
                           throws Exception
Specified by:
getAll in class JCRPageList
Throws:
Exception

setSession

public void setSession(javax.jcr.Session s)


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.