T4S4  18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
CONFIGURATION::MANAGER::InstalledProductKeys Namespace Reference

Commands to edit the installed product keys configuration. More...

Functions

 addProductKey ProductKey
 Appends a new product key to the list of installed products. More...
 
 getInstalledProductKeys
 Returns a list containing the currently installed products. More...
 
 isInstalled ProductKey
 Checks if a certain product is installed. More...
 
 removeProductKey ProductKey
 Removes a product key from the list of installed products. More...
 

Detailed Description

Commands to edit the installed product keys configuration.

Function Documentation

◆ addProductKey()

CONFIGURATION::MANAGER::InstalledProductKeys::addProductKey   ProductKey  

Appends a new product key to the list of installed products.

Parameters
ProductKeyproduct key to be added
Returns
nothing

References CONFIGURATION::MANAGER::Util::getConfigKey(), CONFIGURATION::MANAGER::Util::setConfigKey(), and tpwrite().

◆ getInstalledProductKeys()

CONFIGURATION::MANAGER::InstalledProductKeys::getInstalledProductKeys

Returns a list containing the currently installed products.

Parameters
none
Returns
list of product keys

References CONFIGURATION::MANAGER::Util::getConfigKey().

◆ isInstalled()

CONFIGURATION::MANAGER::InstalledProductKeys::isInstalled   ProductKey  

Checks if a certain product is installed.

Parameters
ProductKeyproduct key to check for
Returns
true if the product is installed, false otherwise
2  puts "This is a BGS"
3 }

References CONFIGURATION::MANAGER::Util::getConfigKey().

◆ removeProductKey()

CONFIGURATION::MANAGER::InstalledProductKeys::removeProductKey   ProductKey  

Removes a product key from the list of installed products.

Parameters
ProductKeyproduct key to be removed
Returns
nothing

References CONFIGURATION::MANAGER::Util::getConfigKey(), and CONFIGURATION::MANAGER::Util::setConfigKey().