public interface RealtimeListAccess<E> extends ListAccess<E>
ListAccess for accessing list item with real-time
support.| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfNewer(E baseElement)
Gets the number of newer elements based on the provided element.
|
int |
getNumberOfOlder(E baseElement)
Gets the number of older elements based on the provided element.
|
boolean |
hasNewer(E baseElement)
Checks if there is newer elements than the provided element.
|
boolean |
hasOlder(E baseElement)
Checks if there is older elements than the provided element.
|
E[] |
loadNewer(E baseElement,
int limit)
Loads newer elements based on the provided element.
|
List<E> |
loadNewerAsList(E baseElement,
int limit)
Loads newer elements based on the provided element.
|
E[] |
loadOlder(E baseElement,
int limit)
Loads older elements based on the provided based element.
|
List<E> |
loadOlderAsList(E baseElement,
int limit)
Loads older elements based on the provided based element.
|
getSize, load, loadAsListboolean hasNewer(E baseElement) throws SocialClientLibException
baseElement - the based elementSocialClientLibExceptionint getNumberOfNewer(E baseElement)
baseElement - the provided based elementE[] loadNewer(E baseElement, int limit) throws SocialClientLibException
baseElement - the based elementlimit - number of newer elements to loadSocialClientLibExceptionList<E> loadNewerAsList(E baseElement, int limit) throws SocialClientLibException
baseElement - the based elementlimit - number of newer elements to loadSocialClientLibExceptionboolean hasOlder(E baseElement) throws SocialClientLibException
baseElement - the based elementSocialClientLibExceptionint getNumberOfOlder(E baseElement)
baseElement - the provided elementE[] loadOlder(E baseElement, int limit) throws SocialClientLibException
baseElement - the based elementlimit - number of older elements to loadSocialClientLibExceptionList<E> loadOlderAsList(E baseElement, int limit) throws SocialClientLibException
baseElement - the based elementlimit - number of older elements to loadSocialClientLibExceptionCopyright © 2011–2015 eXo Platform SAS. All rights reserved.