public class ObjectStatistics extends XMLRequest implements java.lang.Iterable<StatisticSearchItem>
Constructor and Description |
---|
ObjectStatistics(UC4ObjectName name)
Creates a request instance to read the statistic of the specified object.
|
ObjectStatistics(UC4ObjectName name,
int maxResult)
Creates a request instance to read the statistic of the specified object.
|
ObjectStatistics(UserListItem user)
Creates a request to read the statistics of a user object.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<StatisticSearchItem> |
iterator() |
java.util.Iterator<StatisticSearchItem> |
resultIterator()
Deprecated.
Use the iterator() method instead, the iterator() method never returns
null . |
int |
size()
Returns the number of items in the result.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public ObjectStatistics(UC4ObjectName name)
name
- Name of the UC4 objectpublic ObjectStatistics(UserListItem user)
user
- Entry of the user list in the system overviewpublic ObjectStatistics(UC4ObjectName name, int maxResult)
name
- Name of the UC4 objectmaxResult
- Maximum number of rows, Integer between 1 and 5000@Deprecated public java.util.Iterator<StatisticSearchItem> resultIterator()
null
.StatisticSearchItem
.StatisticSearchItem
or null
if this request
does not contain a search resultpublic int size()
StatisticSearchItem
itemspublic java.util.Iterator<StatisticSearchItem> iterator()
iterator
in interface java.lang.Iterable<StatisticSearchItem>