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 |
---|---|
java.lang.String |
findByName(java.lang.String name)
Returns the value of the specified property name.
|
java.util.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
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 java.lang.IllegalArgumentException
user
- Entry in the user listjava.lang.IllegalArgumentException
- if the user is not logged on: UserListItem.isLoggedOn() returns falsepublic void setActivityDetail()
public void setForecastDetail()
public void setArchiveDetail()
public java.util.Iterator<DetailGroup> groupIterator()
DetailGroup
.DetailGroup
public int size()
public java.lang.String findByName(java.lang.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 property