Package com.uc4.api

Class StatisticSearchItem

  • All Implemented Interfaces:
    HasAlias

    public class StatisticSearchItem
    extends AbstractTask
    This class represents a row in the result of a statistics search.
    • Constructor Detail

      • StatisticSearchItem

        public StatisticSearchItem​(org.w3c.dom.Element row,
                                   boolean logging,
                                   ConnectionAttributes session,
                                   com.uc4.util.XMLDocument doc)
        Constructs a StatisticSearchItem from the speficied XML element.
        Parameters:
        row - Element
        logging - Is logging
        session - Session
        doc - 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 returns null.
        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() instead
        Returns 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object