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 |
|---|---|
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
java.lang.String |
findByName(java.lang.String name)
Returns the value of the specified property name.
|
protected java.lang.String |
getIdnr()
Return the idnr attribute
|
protected java.lang.String |
getSrc()
Returns the request source.
|
java.util.Iterator<DetailGroup> |
groupIterator()
Returns an iterator over
DetailGroup. |
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
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.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationpublic 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)
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.DetailGrouppublic int size()
protected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestprotected void createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
XMLRequestcreateRequest in class XMLRequestdoc - Document, used to create new Elementsrequest - Request Element - classes append information to this request elementsessionInfo - Information about the sessionprotected java.lang.String getIdnr()
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 propertyprotected void handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session)
handleContent in class XMLRequestprotected boolean isAllowedInClientZero()
XMLRequestXMLRequest is allowed in client 0.
The default implementation returns false, subclasses may override.isAllowedInClientZero in class XMLRequesttrue if this request is allowed in client 0, false otherwise