public class ObjectStatistics extends XMLRequest implements 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 |
---|---|
Iterator<StatisticSearchItem> |
iterator() |
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, showQuarantineNotification
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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 Iterator<StatisticSearchItem> resultIterator()
null
.StatisticSearchItem
.StatisticSearchItem
or null
if this request
does not contain a search resultpublic int size()
StatisticSearchItem
itemspublic Iterator<StatisticSearchItem> iterator()
iterator
in interface Iterable<StatisticSearchItem>
Copyright © 2021. All rights reserved.