Interface IListView<T>

All Superinterfaces:
Collection<T>, Iterable<T>, List<T>, Serializable
All Known Subinterfaces:
IDirPrincipalList, ISelectedListView, ITaskDefinitionList, ITaskList, IThingListView

public interface IListView<T> extends List<T>, Serializable
Base interface for a paged list view. Modifications are not persistant: modifing a list view or its contents does not modify the underlying resource(s). Instances can contain only IViews.
  • Method Details

    • getCookie

      IPagingCookie getCookie()
      Gets the paging cookie associated with this list.
      Returns:
      Paging cookie associated with this list or null.
    • setCookie

      void setCookie(IPagingCookie cookie)
      Sets the paging cookie associated with this list.
      Parameters:
      cookie - Cookie to associate with this list. May be null.
    • sort

      void sort(Comparator<? super T> comp)
      Sorts the list using the given Comparator.
      Specified by:
      sort in interface List<T>
      Parameters:
      comp - Comparator to use when sorting the list.
      Throws:
      PortalException - if an error occured while sorting.
    • sort

      void sort() throws PortalException
      Sorts objects in this view according to paging cookie sort order. Important: IView property to be sorted should implement Comparable
      Throws:
      PortalException