Interface ITDConnection2

    • Method Detail

      • productInfo

        com4j.Com4jObject productInfo()

        An IProductInfo reference pointing to the current build information.

        Getter method for the COM property "ProductInfo"

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

        com4j.Com4jObject graphBuilder()

        The GraphBuilder object for the connection.

        Getter method for the COM property "GraphBuilder"

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

        com4j.Com4jObject auditRecordFactory()

        The global AuditRecord factory, not associated with a specific entity.

        Getter method for the COM property "AuditRecordFactory"

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

        com4j.Com4jObject auditPropertyFactory()

        The global AuditProperty factory, not associated with a specific entity.

        Getter method for the COM property "AuditPropertyFactory"

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

        com4j.Com4jObject tsTestFactory()

        The factory that manages test instances in test sets.

        Getter method for the COM property "TSTestFactory"

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

        boolean isSearchSupported()

        Checks if the search function is enabled for the project.

        Getter method for the COM property "IsSearchSupported"

        Returns:
        Returns a value of type boolean
      • login

        void login​(String userName,
                   String password)

        Confirms that the user is authorized to use Quality Center. If authorized, the user is logged in and can connect to projects.

        Parameters:
        userName - Mandatory java.lang.String parameter.
        password - Mandatory java.lang.String parameter.
      • connect

        void connect​(String domainName,
                     String projectName)

        Connects the logged-in user to the specified project in the domain.

        Parameters:
        domainName - Mandatory java.lang.String parameter.
        projectName - Mandatory java.lang.String parameter.
      • disconnect

        void disconnect()

        Disconnects the user from the currently connected project.

      • logout

        void logout()

        Terminates the user's session on this TDConnection.

      • loggedIn

        boolean loggedIn()

        Checks if the user is currently logged in on this TDConnection.

        Getter method for the COM property "LoggedIn"

        Returns:
        Returns a value of type boolean
      • visibleDomains

        IList visibleDomains()

        The list of domain names that the current logged in user is permitted to view.

        Getter method for the COM property "VisibleDomains"

        Returns:
        Returns a value of type otaclient.IList
      • visibleDomains

        Object visibleDomains​(int index)
      • visibleProjects

        IList visibleProjects​(String domainName)

        The list of projects in the specified domain that the current logged in user is allowed to connect to.

        Getter method for the COM property "VisibleProjects"

        Parameters:
        domainName - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type otaclient.IList