|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.security.JetspeedPrincipalResultList
public class JetspeedPrincipalResultList
A container for principals that have been retrieved from storage with ranged queries. Additional to the principals itself it also contains the total size of the query result.
| Constructor Summary | |
|---|---|
JetspeedPrincipalResultList(java.util.List<? extends JetspeedPrincipal> results)
Creates a result list, totalSize will be set to the lists size. |
|
JetspeedPrincipalResultList(java.util.List<? extends JetspeedPrincipal> results,
long totalSize)
|
|
| Method Summary | |
|---|---|
java.util.List<? extends JetspeedPrincipal> |
getResults()
Get the principal results. |
long |
getTotalSize()
Get the total size of search results. |
void |
setTotalSize(long totalSize)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JetspeedPrincipalResultList(java.util.List<? extends JetspeedPrincipal> results,
long totalSize)
public JetspeedPrincipalResultList(java.util.List<? extends JetspeedPrincipal> results)
results - firstResult - | Method Detail |
|---|
public long getTotalSize()
public void setTotalSize(long totalSize)
public java.util.List<? extends JetspeedPrincipal> getResults()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||