|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.xbrlq.XBRLqResult<T>
public class XBRLqResult<T>
This class represents the result of an XBRLq query execution.
The result only contains a small set of elements from the database. The number of elements in the set will be configurable. It is designed in a way that it will be easier if the number of elements matches the number of elements in the web page or application consuming the object.
| Constructor Summary | |
|---|---|
XBRLqResult()
Empty result or dynamic result that is empty initialized |
|
XBRLqResult(java.util.ArrayList<java.lang.Long> ids)
|
|
XBRLqResult(org.hibernate.ScrollableResults scrollable)
Result based on an scrollable result. |
|
| Method Summary | |
|---|---|
void |
addAll(XBRLqResult<T> newList)
|
void |
clear()
|
java.util.ArrayList<java.lang.Long> |
getAllContentIds()
|
java.util.ArrayList<T> |
getAllContents(org.hibernate.Session dbSession)
|
java.util.ArrayList<T> |
getContent(int start,
int length,
org.hibernate.Session dbSession)
Obtain an array of length elements from the database at the start position. |
java.util.ArrayList<java.lang.Object[]> |
getRawContent(int start,
int length,
org.hibernate.Session dbSession)
|
void |
retainAll(XBRLqResult<T> newList)
|
int |
size()
Returns the total number of elements in the XBRLq query without iterating through all of them. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLqResult(org.hibernate.ScrollableResults scrollable)
scrollable - public XBRLqResult()
public XBRLqResult(java.util.ArrayList<java.lang.Long> ids)
| Method Detail |
|---|
public int size()
public java.util.ArrayList<T> getContent(int start,
int length,
org.hibernate.Session dbSession)
start - integer (first row is 0)length - total number of rows to include in the array list
public java.util.ArrayList<java.lang.Object[]> getRawContent(int start,
int length,
org.hibernate.Session dbSession)
public java.util.ArrayList<T> getAllContents(org.hibernate.Session dbSession)
public void addAll(XBRLqResult<T> newList)
newList - public void retainAll(XBRLqResult<T> newList)
newList - public java.util.ArrayList<java.lang.Long> getAllContentIds()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||