Interface ITDConnection
- 
- All Superinterfaces:
- com4j.Com4jObject
 - All Known Subinterfaces:
- ITDConnection10,- ITDConnection11,- ITDConnection12,- ITDConnection13,- ITDConnection2,- ITDConnection3,- ITDConnection4,- ITDConnection5,- ITDConnection6,- ITDConnection7,- ITDConnection8,- ITDConnection9
 
 public interface ITDConnection extends com4j.Com4jObjectRepresents a single server connection.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description com4j.Com4jObjectactionPermission()The ActionPermission object for this connection.com4j.Com4jObjectalertManager()The AlertManager object for this connection.booleanallowReconnect()For HP use.voidallowReconnect(boolean pVal)For HP use.com4j.Com4jObjectanalysis()For HP use.com4j.Com4jObjectbugFactory()The Bug Factory object for this connection.com4j.Com4jObjectchangeFactory()Obsolete.voidchangePassword(java.lang.String oldPassword, java.lang.String newPassword)Changes the password for the currently logged in user.java.lang.StringcheckoutRepository()The path of the checkout repository.voidclientType(java.lang.String newVal, java.lang.String rhs)For HP use.com4j.Com4jObjectcommand()The Command object for this connection.com4j.Com4jObjectcommonSettings()The Settings object for all users in this connection.com4j.Com4jObjectcomponentFactory()For HP use.com4j.Com4jObjectcomponentFolderFactory()The Component Folder Factory object for this connection.booleanconnected()Checks if the Open Test Architecture API server connection is initialized.voidconnectProject(java.lang.String projectName, java.lang.String userName, java.lang.String password)Connects to the specified project.voidconnectProjectEx(java.lang.String domainName, java.lang.String projectName, java.lang.String userName, java.lang.String password)Connects to the specified project in the specified domain.voidconnectToVCSAs(java.lang.String userName, java.lang.String password, java.lang.String copyDesStep)Obsolete.com4j.Com4jObjectcustomization()The Customization object for this connection.com4j.Com4jObjectdbManager()Obsolete.java.lang.StringdbName()The name of the database.java.lang.StringdbType()The database type.java.lang.StringdirectoryPath(int nType)The path of the server side repository directory for the database repository type.voiddisconnectProject()Disconnects from the project.java.lang.StringdomainName()The current domain.IListdomainsList()The domain names for this site.java.lang.ObjectdomainsList(int index)com4j.Com4jObjectextendedStorage()Disabled by default security settings.IListfields(java.lang.String dataType)A list of fields for the table specified in the DataType argument.voidgetLicense(int licenseType)For HP use.voidgetLicenses(int licensesType, com4j.Holder<java.lang.String> pVal)Allocates multiple licenses types according to the LicensesType parameter.voidgetLicenseStatus(int clientType, com4j.Holder<java.lang.Integer> inUse, com4j.Holder<java.lang.Integer> max)The license status for the specified client type.voidgetTDVersion(com4j.Holder<java.lang.String> pbsMajorVersion, com4j.Holder<java.lang.String> pbsBuildNum)The major and minor versions of the OTA API.com4j.Com4jObjecthostFactory()The Hosts Factory object for this connection.com4j.Com4jObjecthostGroupFactory()The HostGroupFactory object for this connection.booleanignoreHtmlFormat()Indicates if formatted memo and description fields are returned as plain text without HTML tags.voidignoreHtmlFormat(boolean pVal)Indicates if formatted memo and description fields are returned as plain text without HTML tags.voidinitConnection(java.lang.String serverName, java.lang.String domainName, java.lang.String domainPswd)For HP use.voidinitConnectionEx(java.lang.String serverName)Initializes the connection.booleankeepConnection()For HP use.voidkeepConnection(boolean pVal)For HP use.com4j.Com4jObjectmailConditions()The TDMailConditions object for this connection.booleanmoduleVisible(int moduleID)Checks if the specified module is visible to the connected user.java.lang.Stringpassword()For HP use.booleanprojectConnected()Checks if the TDConnection is connected to a project.java.lang.StringprojectName()The name of the connected project.com4j.Com4jObjectprojectProperties()The ProjectProperties object for this connection.IListprojectsList()The projects that are available in the domain to which Quality Center is connected.java.lang.ObjectprojectsList(int index)IListprojectsListEx(java.lang.String domainName)The projects available within the specified domain.voidpurgeRuns(java.lang.String testSetFilter, int keepLast, java.lang.Object dateUnit, int unitCount, boolean stepsOnly)Deletes the specified runs.voidreleaseConnection()Releases the COM pointer created when the connection is initialized.java.lang.StringreportRole()The report role of the connected user.com4j.Com4jObjectreqFactory()The ReqFactory object for this connection.com4j.Com4jObjectrules()The RuleManager object for this connection.com4j.Com4jObjectrunFactory()The RunFactory object for this connection.voidsendMail(java.lang.String sendTo, java.lang.String sendFrom, java.lang.String subject, java.lang.String message, java.lang.Object attachArray, java.lang.String bsFormat)Sends Mail.java.lang.StringserverName()The name of the connected Open Test Architecture API server.java.util.DateserverTime()The time and date of the application server.java.lang.StringserverURL()The URL of the connected server.voidsynchronizeFollowUps(java.lang.String password)Obsolete.java.lang.StringtdParams(java.lang.String request)Gets the value of the parameter whose name is specified by Request.com4j.Com4jObjecttdSettings()For future use.com4j.Com4jObjecttestFactory()The Test Factory object for this connection.java.lang.StringtestRepository()The path of the tests directory of the connected project.com4j.Com4jObjecttestSetFactory()The Test Set Factory object for this connection.com4j.Com4jObjecttestSetTreeManager()The TestSetTreeManager object for this connection.com4j.Com4jObjecttextParam()The TextParser object.com4j.Com4jObjecttreeManager()The TreeManager object for the system tree.IListuserGroupsList()The names of the user groups of the currently connected project.java.lang.ObjectuserGroupsList(int index)java.lang.StringuserName()The user connected to the project.com4j.Com4jObjectuserSettings()The Settings object for the logged-on user.IListusersList()The names of the users of the currently connected project.java.lang.ObjectusersList(int index)booleanusingProgress()Indicates if a progress bar is displayed.voidusingProgress(boolean pVal)Indicates if a progress bar is displayed.com4j.Com4jObjectvcs()Obsolete.java.lang.StringvcsDbRepository()The path of the VCS database of the connected project.java.lang.StringviewsRepository()Obsolete.java.lang.StringvmRepository()Obsolete.
 
- 
- 
- 
Method Detail- 
connectedboolean connected() Checks if the Open Test Architecture API server connection is initialized. Getter method for the COM property "Connected" - Returns:
- Returns a value of type boolean
 
 - 
projectConnectedboolean projectConnected() Checks if the TDConnection is connected to a project. Getter method for the COM property "ProjectConnected" - Returns:
- Returns a value of type boolean
 
 - 
serverNamejava.lang.String serverName() The name of the connected Open Test Architecture API server. Getter method for the COM property "ServerName" - Returns:
- Returns a value of type java.lang.String
 
 - 
projectNamejava.lang.String projectName() The name of the connected project. Getter method for the COM property "ProjectName" - Returns:
- Returns a value of type java.lang.String
 
 - 
testRepositoryjava.lang.String testRepository() The path of the tests directory of the connected project. Getter method for the COM property "TestRepository" - Returns:
- Returns a value of type java.lang.String
 
 - 
userNamejava.lang.String userName() The user connected to the project. Getter method for the COM property "UserName" - Returns:
- Returns a value of type java.lang.String
 
 - 
testFactorycom4j.Com4jObject testFactory() The Test Factory object for this connection. Getter method for the COM property "TestFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
bugFactorycom4j.Com4jObject bugFactory() The Bug Factory object for this connection. Getter method for the COM property "BugFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
testSetFactorycom4j.Com4jObject testSetFactory() The Test Set Factory object for this connection. Getter method for the COM property "TestSetFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
userGroupsListIList userGroupsList() The names of the user groups of the currently connected project. Getter method for the COM property "UserGroupsList" - Returns:
- Returns a value of type step.repository.alm.v16.otaclient.IList
 
 - 
userGroupsListjava.lang.Object userGroupsList(int index) 
 - 
hostFactorycom4j.Com4jObject hostFactory() The Hosts Factory object for this connection. Getter method for the COM property "HostFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
vcscom4j.Com4jObject vcs() Obsolete. Accessing this property throws an exception. Getter method for the COM property "VCS" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
initConnectionvoid initConnection(java.lang.String serverName, @DefaultValue("") java.lang.String domainName, @DefaultValue("") java.lang.String domainPswd)For HP use. Initializes the Open Test Architecture API server connection for specified domain. - Parameters:
- serverName- Mandatory java.lang.String parameter.
- domainName- Optional parameter. Default value is ""
- domainPswd- Optional parameter. Default value is ""
 
 - 
releaseConnectionvoid releaseConnection() Releases the COM pointer created when the connection is initialized. 
 - 
connectProjectvoid connectProject(java.lang.String projectName, java.lang.String userName, @DefaultValue("") java.lang.String password)Connects to the specified project. - Parameters:
- projectName- Mandatory java.lang.String parameter.
- userName- Mandatory java.lang.String parameter.
- password- Optional parameter. Default value is ""
 
 - 
disconnectProjectvoid disconnectProject() Disconnects from the project. 
 - 
projectsListIList projectsList() The projects that are available in the domain to which Quality Center is connected. Getter method for the COM property "ProjectsList" - Returns:
- Returns a value of type step.repository.alm.v16.otaclient.IList
 
 - 
projectsListjava.lang.Object projectsList(int index) 
 - 
commandcom4j.Com4jObject command() The Command object for this connection. Getter method for the COM property "Command" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
treeManagercom4j.Com4jObject treeManager() The TreeManager object for the system tree. Getter method for the COM property "TreeManager" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
reqFactorycom4j.Com4jObject reqFactory() The ReqFactory object for this connection. Getter method for the COM property "ReqFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
actionPermissioncom4j.Com4jObject actionPermission() The ActionPermission object for this connection. Getter method for the COM property "ActionPermission" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
getLicensevoid getLicense(int licenseType) For HP use. Allocates a license type according to the LicenseType parameter. - Parameters:
- licenseType- Mandatory int parameter.
 
 - 
sendMailvoid sendMail(java.lang.String sendTo, @DefaultValue("") java.lang.String sendFrom, @DefaultValue("") java.lang.String subject, @DefaultValue("") java.lang.String message, java.lang.Object attachArray, @DefaultValue("") java.lang.String bsFormat)Sends Mail. - Parameters:
- sendTo- Mandatory java.lang.String parameter.
- sendFrom- Optional parameter. Default value is ""
- subject- Optional parameter. Default value is ""
- message- Optional parameter. Default value is ""
- attachArray- Optional parameter. Default value is com4j.Variant.getMissing()
- bsFormat- Optional parameter. Default value is ""
 
 - 
dbTypejava.lang.String dbType() The database type. Getter method for the COM property "DBType" - Returns:
- Returns a value of type java.lang.String
 
 - 
dbManagercom4j.Com4jObject dbManager() Obsolete. Do not invoke. Getter method for the COM property "DBManager" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
customizationcom4j.Com4jObject customization() The Customization object for this connection. Getter method for the COM property "Customization" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
fieldsIList fields(java.lang.String dataType) A list of fields for the table specified in the DataType argument. Getter method for the COM property "Fields" - Parameters:
- dataType- Mandatory java.lang.String parameter.
- Returns:
- Returns a value of type step.repository.alm.v16.otaclient.IList
 
 - 
commonSettingscom4j.Com4jObject commonSettings() The Settings object for all users in this connection. Getter method for the COM property "CommonSettings" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
userSettingscom4j.Com4jObject userSettings() The Settings object for the logged-on user. Getter method for the COM property "UserSettings" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
hostGroupFactorycom4j.Com4jObject hostGroupFactory() The HostGroupFactory object for this connection. Getter method for the COM property "HostGroupFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
changePasswordvoid changePassword(java.lang.String oldPassword, java.lang.String newPassword)Changes the password for the currently logged in user. - Parameters:
- oldPassword- Mandatory java.lang.String parameter.
- newPassword- Mandatory java.lang.String parameter.
 
 - 
usersListIList usersList() The names of the users of the currently connected project. Getter method for the COM property "UsersList" - Returns:
- Returns a value of type step.repository.alm.v16.otaclient.IList
 
 - 
usersListjava.lang.Object usersList(int index) 
 - 
passwordjava.lang.String password() For HP use. The password for the logged in user. Getter method for the COM property "Password" - Returns:
- Returns a value of type java.lang.String
 
 - 
extendedStoragecom4j.Com4jObject extendedStorage() Disabled by default security settings. Use the entity-level extended storage property. Getter method for the COM property "ExtendedStorage" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
directoryPathjava.lang.String directoryPath(int nType) The path of the server side repository directory for the database repository type. Getter method for the COM property "DirectoryPath" - Parameters:
- nType- Mandatory int parameter.
- Returns:
- Returns a value of type java.lang.String
 
 - 
changeFactorycom4j.Com4jObject changeFactory() Obsolete. Do not invoke. Getter method for the COM property "ChangeFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
mailConditionscom4j.Com4jObject mailConditions() The TDMailConditions object for this connection. Getter method for the COM property "MailConditions" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
serverTimejava.util.Date serverTime() The time and date of the application server. Getter method for the COM property "ServerTime" - Returns:
- Returns a value of type java.util.Date
 
 - 
tdSettingscom4j.Com4jObject tdSettings() For future use. An ITDSettings reference. Getter method for the COM property "TDSettings" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
purgeRunsvoid purgeRuns(java.lang.String testSetFilter, int keepLast, java.lang.Object dateUnit, int unitCount, boolean stepsOnly)Deletes the specified runs. - Parameters:
- testSetFilter- Mandatory java.lang.String parameter.
- keepLast- Mandatory int parameter.
- dateUnit- Mandatory java.lang.Object parameter.
- unitCount- Mandatory int parameter.
- stepsOnly- Mandatory boolean parameter.
 
 - 
projectPropertiescom4j.Com4jObject projectProperties() The ProjectProperties object for this connection. Getter method for the COM property "ProjectProperties" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
getLicenseStatusvoid getLicenseStatus(int clientType, com4j.Holder<java.lang.Integer> inUse, com4j.Holder<java.lang.Integer> max)The license status for the specified client type. - Parameters:
- clientType- Mandatory int parameter.
- inUse- Mandatory Holder- parameter. 
- max- Mandatory Holder- parameter. 
 
 - 
domainNamejava.lang.String domainName() The current domain. Getter method for the COM property "DomainName" - Returns:
- Returns a value of type java.lang.String
 
 - 
textParamcom4j.Com4jObject textParam() The TextParser object. Getter method for the COM property "TextParam" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
tdParamsjava.lang.String tdParams(java.lang.String request) Gets the value of the parameter whose name is specified by Request. Getter method for the COM property "TDParams" - Parameters:
- request- Mandatory java.lang.String parameter.
- Returns:
- Returns a value of type java.lang.String
 
 - 
usingProgressboolean usingProgress() Indicates if a progress bar is displayed. Getter method for the COM property "UsingProgress" - Returns:
- Returns a value of type boolean
 
 - 
usingProgressvoid usingProgress(boolean pVal) Indicates if a progress bar is displayed. Setter method for the COM property "UsingProgress" - Parameters:
- pVal- Mandatory boolean parameter.
 
 - 
checkoutRepositoryjava.lang.String checkoutRepository() The path of the checkout repository. Getter method for the COM property "CheckoutRepository" - Returns:
- Returns a value of type java.lang.String
 
 - 
viewsRepositoryjava.lang.String viewsRepository() Obsolete. Do not invoke. Getter method for the COM property "ViewsRepository" - Returns:
- Returns a value of type java.lang.String
 
 - 
vcsDbRepositoryjava.lang.String vcsDbRepository() The path of the VCS database of the connected project. Getter method for the COM property "VcsDbRepository" - Returns:
- Returns a value of type java.lang.String
 
 - 
runFactorycom4j.Com4jObject runFactory() The RunFactory object for this connection. Getter method for the COM property "RunFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
moduleVisibleboolean moduleVisible(int moduleID) Checks if the specified module is visible to the connected user. This property is used for Quality Center UI programming and has no function in third-party applications. Getter method for the COM property "ModuleVisible" - Parameters:
- moduleID- Mandatory int parameter.
- Returns:
- Returns a value of type boolean
 
 - 
initConnectionExvoid initConnectionEx(java.lang.String serverName) Initializes the connection. - Parameters:
- serverName- Mandatory java.lang.String parameter.
 
 - 
projectsListExIList projectsListEx(java.lang.String domainName) The projects available within the specified domain. Getter method for the COM property "ProjectsListEx" - Parameters:
- domainName- Mandatory java.lang.String parameter.
- Returns:
- Returns a value of type step.repository.alm.v16.otaclient.IList
 
 - 
connectProjectExvoid connectProjectEx(java.lang.String domainName, java.lang.String projectName, java.lang.String userName, @DefaultValue("") java.lang.String password)Connects to the specified project in the specified domain. - Parameters:
- domainName- Mandatory java.lang.String parameter.
- projectName- Mandatory java.lang.String parameter.
- userName- Mandatory java.lang.String parameter.
- password- Optional parameter. Default value is ""
 
 - 
domainsListIList domainsList() The domain names for this site. Getter method for the COM property "DomainsList" - Returns:
- Returns a value of type step.repository.alm.v16.otaclient.IList
 
 - 
domainsListjava.lang.Object domainsList(int index) 
 - 
connectToVCSAsvoid connectToVCSAs(java.lang.String userName, java.lang.String password, java.lang.String copyDesStep)Obsolete. Do not invoke. - Parameters:
- userName- Mandatory java.lang.String parameter.
- password- Mandatory java.lang.String parameter.
- copyDesStep- Mandatory java.lang.String parameter.
 
 - 
getLicensesvoid getLicenses(int licensesType, com4j.Holder<java.lang.String> pVal)Allocates multiple licenses types according to the LicensesType parameter. - Parameters:
- licensesType- Mandatory int parameter.
- pVal- Mandatory Holder- parameter. 
 
 - 
analysiscom4j.Com4jObject analysis() For HP use. Property Analysis. Getter method for the COM property "Analysis" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
vmRepositoryjava.lang.String vmRepository() Obsolete. Do not invoke. Getter method for the COM property "VMRepository" - Returns:
- Returns a value of type java.lang.String
 
 - 
dbNamejava.lang.String dbName() The name of the database. Getter method for the COM property "DBName" - Returns:
- Returns a value of type java.lang.String
 
 - 
rulescom4j.Com4jObject rules() The RuleManager object for this connection. Getter method for the COM property "Rules" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
testSetTreeManagercom4j.Com4jObject testSetTreeManager() The TestSetTreeManager object for this connection. Getter method for the COM property "TestSetTreeManager" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
alertManagercom4j.Com4jObject alertManager() The AlertManager object for this connection. Getter method for the COM property "AlertManager" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
allowReconnectboolean allowReconnect() For HP use. Allows repeat call to InitConnection,ReleaseConnection, ConnectProject and DisconnectProject. Getter method for the COM property "AllowReconnect" - Returns:
- Returns a value of type boolean
 
 - 
allowReconnectvoid allowReconnect(boolean pVal) For HP use. Allows repeat call to InitConnection,ReleaseConnection, ConnectProject and DisconnectProject. Setter method for the COM property "AllowReconnect" - Parameters:
- pVal- Mandatory boolean parameter.
 
 - 
synchronizeFollowUpsvoid synchronizeFollowUps(java.lang.String password) Obsolete. Do not invoke. - Parameters:
- password- Mandatory java.lang.String parameter.
 
 - 
keepConnectionboolean keepConnection() For HP use. Prevents automatic disconnect by server on timeout. Getter method for the COM property "KeepConnection" - Returns:
- Returns a value of type boolean
 
 - 
keepConnectionvoid keepConnection(boolean pVal) For HP use. Prevents automatic disconnect by server on timeout. Setter method for the COM property "KeepConnection" - Parameters:
- pVal- Mandatory boolean parameter.
 
 - 
ignoreHtmlFormatboolean ignoreHtmlFormat() Indicates if formatted memo and description fields are returned as plain text without HTML tags. Getter method for the COM property "IgnoreHtmlFormat" - Returns:
- Returns a value of type boolean
 
 - 
ignoreHtmlFormatvoid ignoreHtmlFormat(boolean pVal) Indicates if formatted memo and description fields are returned as plain text without HTML tags. Setter method for the COM property "IgnoreHtmlFormat" - Parameters:
- pVal- Mandatory boolean parameter.
 
 - 
reportRolejava.lang.String reportRole() The report role of the connected user. Getter method for the COM property "ReportRole" - Returns:
- Returns a value of type java.lang.String
 
 - 
clientTypevoid clientType(java.lang.String newVal, @DefaultValue("") java.lang.String rhs)For HP use. Sets the Client type. Setter method for the COM property "ClientType" - Parameters:
- newVal- Mandatory java.lang.String parameter.
- rhs- Optional parameter. Default value is ""
 
 - 
componentFactorycom4j.Com4jObject componentFactory() For HP use. The Component Factory object for this connection. Getter method for the COM property "ComponentFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
componentFolderFactorycom4j.Com4jObject componentFolderFactory() The Component Folder Factory object for this connection. Getter method for the COM property "ComponentFolderFactory" - Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
getTDVersionvoid getTDVersion(com4j.Holder<java.lang.String> pbsMajorVersion, com4j.Holder<java.lang.String> pbsBuildNum)The major and minor versions of the OTA API. - Parameters:
- pbsMajorVersion- Mandatory Holder- parameter. 
- pbsBuildNum- Mandatory Holder- parameter. 
 
 - 
serverURLjava.lang.String serverURL() The URL of the connected server. Getter method for the COM property "ServerURL" - Returns:
- Returns a value of type java.lang.String
 
 
- 
 
-