public interface IListView<T> extends List<T>, Serializable
IView
s.Modifier and Type | Method and Description |
---|---|
IPagingCookie |
getCookie()
Gets the paging cookie associated with this list.
|
void |
setCookie(IPagingCookie cookie)
Sets the paging cookie associated with this list.
|
void |
sort()
Sorts objects in this view according to paging cookie sort order.
|
void |
sort(Comparator<? super T> comp)
Sorts the list using the given Comparator.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
IPagingCookie getCookie()
void setCookie(IPagingCookie cookie)
cookie
- Cookie to associate with this list. May be null.void sort(Comparator<? super T> comp)
sort
in interface List<T>
comp
- Comparator to use when sorting the list.PortalException
- if an error occured while sorting.void sort() throws PortalException
PortalException