Interface ISubjectNode

  • All Superinterfaces:
    com4j.Com4jObject, ISysTreeNode
    All Known Subinterfaces:
    ISubjectNode2

    public interface ISubjectNode
    extends ISysTreeNode
    Represents a subject folder in a Quality Center subject tree.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com4j.Com4jObject attachments()
      The AttachmentFactory for the subject folder.
      java.lang.String description()
      A description of the subject node.
      void description​(java.lang.String pVal)
      A description of the subject node.
      IList findTests​(java.lang.String pattern, boolean matchCase, java.lang.String filter)
      Finds tests within the current subject folder whose name matches the specified text pattern.
      boolean hasAttachment()
      Checks if the SubjectNode has at least one attachment.
      void move​(java.lang.Object parent)
      Moves the current tree mode to be under the specified parent.
      void removeSubjectNode​(java.lang.Object node, boolean deleteTests)
      Removes the specified node from the subject tree.
      com4j.Com4jObject testFactory()
      The TestFactory object for the subject folder.
      int viewOrder()
      The position of the node in the tree as presented in the user interface.
      void viewOrder​(int pVal)
      The position of the node in the tree as presented in the user interface.
      • Methods inherited from interface com4j.Com4jObject

        advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
    • Method Detail

      • testFactory

        com4j.Com4jObject testFactory()

        The TestFactory object for the subject folder.

        Getter method for the COM property "TestFactory"

        Returns:
        Returns a value of type com4j.Com4jObject
      • removeSubjectNode

        void removeSubjectNode​(java.lang.Object node,
                               @DefaultValue("0")
                               boolean deleteTests)

        Removes the specified node from the subject tree.

        Parameters:
        node - Mandatory java.lang.Object parameter.
        deleteTests - Optional parameter. Default value is false
      • description

        java.lang.String description()

        A description of the subject node.

        Getter method for the COM property "Description"

        Returns:
        Returns a value of type java.lang.String
      • description

        void description​(java.lang.String pVal)

        A description of the subject node.

        Setter method for the COM property "Description"

        Parameters:
        pVal - Mandatory java.lang.String parameter.
      • attachments

        com4j.Com4jObject attachments()

        The AttachmentFactory for the subject folder.

        Getter method for the COM property "Attachments"

        Returns:
        Returns a value of type com4j.Com4jObject
      • findTests

        IList findTests​(java.lang.String pattern,
                        @DefaultValue("0")
                        boolean matchCase,
                        @DefaultValue("")
                        java.lang.String filter)

        Finds tests within the current subject folder whose name matches the specified text pattern.

        Parameters:
        pattern - Mandatory java.lang.String parameter.
        matchCase - Optional parameter. Default value is false
        filter - Optional parameter. Default value is ""
        Returns:
        Returns a value of type otaclient.IList
      • viewOrder

        int viewOrder()

        The position of the node in the tree as presented in the user interface.

        Getter method for the COM property "ViewOrder"

        Returns:
        Returns a value of type int
      • viewOrder

        void viewOrder​(int pVal)

        The position of the node in the tree as presented in the user interface.

        Setter method for the COM property "ViewOrder"

        Parameters:
        pVal - Mandatory int parameter.
      • hasAttachment

        boolean hasAttachment()

        Checks if the SubjectNode has at least one attachment.

        Getter method for the COM property "HasAttachment"

        Returns:
        Returns a value of type boolean
      • move

        void move​(java.lang.Object parent)

        Moves the current tree mode to be under the specified parent.

        Parameters:
        parent - Mandatory java.lang.Object parameter.