de.espirit.firstspirit.access.store.sitestore
Class ContentMultiPageParams.ContentPageParams

java.lang.Object
  extended by de.espirit.firstspirit.access.store.PageParams
      extended by de.espirit.firstspirit.access.store.sitestore.ContentMultiPageParams.ContentPageParams
All Implemented Interfaces:
Iterable<Entity>
Direct Known Subclasses:
ContentMultiPageParams.FastSingleContentPageParams, ContentMultiPageParams.SingleContentPageParams
Enclosing class:
ContentMultiPageParams

public class ContentMultiPageParams.ContentPageParams
extends PageParams
implements Iterable<Entity>

Since:
4.0.17

Method Summary
 Entity get(int index)
           
 de.espirit.or.EntityList getAll()
           
 List<Entity> getData()
           
 long getLastChangeDate(long after)
          Calculate the last change date after the provided timestamp.
 int getOffset()
           
 boolean isLast()
           
 Iterator<Entity> iterator()
           
 
Methods inherited from class de.espirit.firstspirit.access.store.PageParams
getIndex, getLastChangeDate, getPageSuffix, getPreviewSuffix, isFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isLast

public boolean isLast()
Overrides:
isLast in class PageParams
Since:
4.0.17

getOffset

public int getOffset()
Since:
4.0.17

getAll

public de.espirit.or.EntityList getAll()
Since:
4.0.19

getData

public List<Entity> getData()
Since:
4.0.17

getLastChangeDate

public long getLastChangeDate(long after)
Calculate the last change date after the provided timestamp. The default implementation returns the provided timestamp.

Overrides:
getLastChangeDate in class PageParams
Since:
4.2.
See Also:
PageParams.getLastChangeDate()

iterator

public Iterator<Entity> iterator()
Specified by:
iterator in interface Iterable<Entity>
Since:
4.0.17

get

public Entity get(int index)
Since:
4.0.17


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480