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 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​(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

        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​(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​(String pattern,
                        @DefaultValue("0")
                        boolean matchCase,
                        @DefaultValue("")
                        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​(Object parent)

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

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