T - @ExperimentalApi public final class RestList<T> extends RestObject implements PageResponse<T>, List<T>, NavigationAware
| Modifier and Type | Class and Description |
|---|---|
static class |
RestList.Builder<T> |
RestObject.PropertiesjsonProperties| Modifier | Constructor and Description |
|---|---|
protected |
RestList() |
addProperty, getProperties, getProperty, hasProperty, properties, putProperties, putProperty, putProperty, removePropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic static <T> RestList.Builder<T> newRestList(PageRequest pageRequest)
public static <T> RestList.Builder<T> newRestList(PageResponse<T> response)
public static <T> RestList.Builder<T> newRestList()
@Deprecated public static <T> RestList<T> createRestList(PageResponse<T> pageResponse)
newRestList(com.atlassian.confluence.api.model.pagination.PageResponse) instead.@Deprecated public static <T> RestList<T> createRestList(PageRequest pageRequest, PageResponse<T> pageResponse)
newRestList(com.atlassian.confluence.api.model.pagination.PageResponse) instead.@Deprecated public static <T> RestList<T> createRestList(PageRequest request, List<T> results, boolean hasMore)
newRestList(PageRequest) instead.public PageRequest getPageRequest()
getPageRequest in interface PageResponse<T>public PageResponse<T> getPageResponse()
public Navigation.Builder resolveNavigation(NavigationService navigationService)
resolveNavigation in interface NavigationAwarepublic Object[] toArray()
public boolean add(T o)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T>containsAll in interface List<T>public boolean addAll(int index,
Collection<? extends T> c)
public boolean addAll(Collection<? extends T> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public int lastIndexOf(Object o)
lastIndexOf in interface List<T>public ListIterator<T> listIterator()
listIterator in interface List<T>public ListIterator<T> listIterator(int index)
listIterator in interface List<T>public <A> A[] toArray(A[] a)
public List<T> getResults()
getResults in interface PageResponse<T>public int size()
size in interface PageResponse<T>size in interface Collection<T>size in interface List<T>public boolean isEmpty()
public boolean contains(Object o)
public boolean hasMore()
PageResponsehasMore in interface PageResponse<T>public boolean equals(Object obj)
Copyright © 2003–2020 Atlassian. All rights reserved.