|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object grails.orm.PagedResultList
@SuppressWarnings({"unchecked","rawtypes"}) public class PagedResultList extends java.lang.Object
A result list for Criteria list calls, which is aware of the totalCount for the paged result.
Field Summary | |
---|---|
protected java.util.List |
list
|
protected int |
totalCount
|
Constructor Summary | |
PagedResultList(GrailsHibernateTemplate template, org.hibernate.Criteria crit)
|
Method Summary | |
---|---|
boolean
|
add(java.lang.Object o)
|
void
|
add(int i, java.lang.Object o)
|
boolean
|
addAll(java.util.Collection collection)
|
boolean
|
addAll(int i, java.util.Collection collection)
|
void
|
clear()
|
boolean
|
contains(java.lang.Object o)
|
boolean
|
containsAll(java.util.Collection collection)
|
boolean
|
equals(java.lang.Object o)
|
java.lang.Object
|
get(int i)
|
int
|
getTotalCount()
|
int
|
hashCode()
|
int
|
indexOf(java.lang.Object o)
|
boolean
|
isEmpty()
|
java.util.Iterator
|
iterator()
|
int
|
lastIndexOf(java.lang.Object o)
|
java.util.ListIterator
|
listIterator()
|
java.util.ListIterator
|
listIterator(int i)
|
boolean
|
remove(java.lang.Object o)
|
java.lang.Object
|
remove(int i)
|
boolean
|
removeAll(java.util.Collection collection)
|
boolean
|
retainAll(java.util.Collection collection)
|
java.lang.Object
|
set(int i, java.lang.Object o)
|
void
|
setTotalCount(int totalCount)
|
int
|
size()
|
java.util.List
|
subList(int i, int i1)
|
java.lang.Object[]
|
toArray()
|
java.lang.Object[]
|
toArray(java.lang.Object[] objects)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected java.util.List list
protected int totalCount
Constructor Detail |
---|
public PagedResultList(GrailsHibernateTemplate template, org.hibernate.Criteria crit)
Method Detail |
---|
public boolean add(java.lang.Object o)
public void add(int i, java.lang.Object o)
public boolean addAll(java.util.Collection collection)
public boolean addAll(int i, java.util.Collection collection)
public void clear()
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection collection)
@Override public boolean equals(java.lang.Object o)
public java.lang.Object get(int i)
public int getTotalCount()
@Override public int hashCode()
public int indexOf(java.lang.Object o)
public boolean isEmpty()
public java.util.Iterator iterator()
public int lastIndexOf(java.lang.Object o)
public java.util.ListIterator listIterator()
public java.util.ListIterator listIterator(int i)
public boolean remove(java.lang.Object o)
public java.lang.Object remove(int i)
public boolean removeAll(java.util.Collection collection)
public boolean retainAll(java.util.Collection collection)
public java.lang.Object set(int i, java.lang.Object o)
public void setTotalCount(int totalCount)
public int size()
public java.util.List subList(int i, int i1)
public java.lang.Object[] toArray()
public java.lang.Object[] toArray(java.lang.Object[] objects)
Groovy Documentation