Package org.nuxeo.ecm.platform.query.api
Class PageSelections<T>
- java.lang.Object
-
- org.nuxeo.ecm.platform.query.api.PageSelections<T>
-
public class PageSelections<T> extends Object
List ofPageSelection
elements.- Author:
- Anahide Tchertchian
-
-
Constructor Summary
Constructors Constructor Description PageSelections()
PageSelections(Collection<? extends PageSelection<T>> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
add(PageSelection<T> entry)
List<PageSelection<T>>
getEntries()
String
getName()
int
getRowCount()
Deprecated.just here for compatibility with SelectDatamodel methods, usegetSize()
insteadList<PageSelection<T>>
getRows()
Deprecated.just here for compatibility with SelectDatamodel methods, usegetEntries()
insteadint
getSize()
boolean
isEmpty()
boolean
isSelected()
void
setEntries(List<PageSelection<T>> entries)
void
setName(String name)
void
setSelected(boolean selected)
-
-
-
Field Detail
-
name
protected String name
-
selected
protected boolean selected
-
entries
protected List<PageSelection<T>> entries
-
-
Constructor Detail
-
PageSelections
public PageSelections()
-
PageSelections
public PageSelections(Collection<? extends PageSelection<T>> c)
-
-
Method Detail
-
setName
public void setName(String name)
-
getName
public String getName()
-
setSelected
public void setSelected(boolean selected)
-
isSelected
public boolean isSelected()
-
getEntries
public List<PageSelection<T>> getEntries()
-
setEntries
public void setEntries(List<PageSelection<T>> entries)
-
add
public void add(PageSelection<T> entry)
- Since:
- 6.0
-
getSize
public int getSize()
-
getRowCount
@Deprecated public int getRowCount()
Deprecated.just here for compatibility with SelectDatamodel methods, usegetSize()
instead
-
getRows
@Deprecated public List<PageSelection<T>> getRows()
Deprecated.just here for compatibility with SelectDatamodel methods, usegetEntries()
instead
-
isEmpty
public boolean isEmpty()
- Since:
- 7.4
-
-