public class TaskDetails extends XMLRequest
Constructor and Description |
---|
TaskDetails(int run)
Constructs a
TaskDetails using the specified RunID. |
TaskDetails(UserListItem user)
Creates a new request to read the details of a logged on user.
|
Modifier and Type | Method and Description |
---|---|
String |
findByName(String name)
Returns the value of the specified property name.
|
Iterator<DetailGroup> |
groupIterator()
Returns an iterator over
DetailGroup . |
void |
setActivityDetail()
If this method is called the detail of a task in the activity list is returned.
|
void |
setArchiveDetail()
If this method is called the detail of a task in the statistics is returned.
|
void |
setForecastDetail()
If this method is called the detail of a task in the autoforecast list is returned.
|
int |
size()
Returns the number of groups.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send, showQuarantineNotification
public TaskDetails(int run)
TaskDetails
using the specified RunID. The detail type is set to statistics. To get the detail of a task in the activity list
the method setActivityDetail
can be called.run
- entry returned from a statistic searchpublic TaskDetails(UserListItem user) throws IllegalArgumentException
user
- Entry in the user listIllegalArgumentException
- if the user is not logged on: UserListItem.isLoggedOn() returns falsepublic void setActivityDetail()
public void setForecastDetail()
public void setArchiveDetail()
public Iterator<DetailGroup> groupIterator()
DetailGroup
.DetailGroup
public int size()
public String findByName(String name)
This method searches for the name in all sections and all groups of this detail. * The name of a property depends on the language.
name
- Name of the propertyCopyright © 2021. All rights reserved.