Package com.uc4.api
Class StatisticSearchItem
- java.lang.Object
-
- com.uc4.api.AbstractTask
-
- com.uc4.api.StatisticSearchItem
-
- All Implemented Interfaces:
HasAlias
public class StatisticSearchItem extends AbstractTask
This class represents a row in the result of a statistics search.
-
-
Field Summary
-
Fields inherited from class com.uc4.api.AbstractTask
activationTime, alias, archiveKey1, archiveKey2, cauVersion, comment, endTime, host, intAccount, monitoredTask, name, objectName, parentRunID, periodDescription, platform, queue, remoteStatus, returnCode, rollback, runID, runtime, startTime, startType, state, stateIcon, stateWithinParent, statusCode, statusText, type, typeIcon, userId, version
-
-
Constructor Summary
Constructors Constructor Description StatisticSearchItem(org.w3c.dom.Element row, boolean logging, ConnectionAttributes session, com.uc4.util.XMLDocument doc)Constructs aStatisticSearchItemfrom the speficied XML element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetMessageText()Returns the message text for HOST, USER and SERVER objects.booleangetModificationFlag()java.lang.StringgetProcessId()java.lang.StringgetState()Returns the task status which has ended the object in a language independent format.UC4UserNamegetUser()Deprecated.use getUserName() insteadinthashCode()java.lang.StringtoString()-
Methods inherited from class com.uc4.api.AbstractTask
getActivationTime, getAlias, getArchive1, getArchive2, getArchiveKey1, getArchiveKey2, getCauVersion, getClient, getEndTime, getHost, getIntAccount, getName, getObjectName, getParentRunID, getPeriodDescription, getPlatform, getQueue, getRemoteStatus, getReturnCode, getRunID, getRuntime, getRuntimeInMillis, getStart, getStartTime, getStartType, getStateIcon, getStatus, getStatusCode, getStatusIcon, getStatusText, getTaskClient, getType, getTypeIcon, getUserId, getUserName, getVersion, hasComment, initObjectNameAndAlias, isMonitoredTask, isRollback, setUserInfo
-
-
-
-
Constructor Detail
-
StatisticSearchItem
public StatisticSearchItem(org.w3c.dom.Element row, boolean logging, ConnectionAttributes session, com.uc4.util.XMLDocument doc)Constructs aStatisticSearchItemfrom the speficied XML element.- Parameters:
row- Elementlogging- Is loggingsession- Sessiondoc- XML Document
-
-
Method Detail
-
getMessageText
public java.lang.String getMessageText()
Returns the message text for HOST, USER and SERVER objects. For all other object types this method returnsnull.- Returns:
- String containing a message or null
-
getState
public java.lang.String getState()
Returns the task status which has ended the object in a language independent format.- Returns:
- Task status which has ended the object
-
getUser
@Deprecated public UC4UserName getUser()
Deprecated.use getUserName() insteadReturns the name and department of the user that has activated the object.- Returns:
- user that has activated the object
-
getProcessId
public java.lang.String getProcessId()
- Returns:
- the process ID of the task.
-
getModificationFlag
public boolean getModificationFlag()
- Returns:
- if a task has been modified
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractTask
-
-