T4EA  18.1 C7177 A20283
Teamcenter Gateway for Enterprise Applications API Reference
T4EA::CUSTOM::ORACLE Namespace Reference

Functions

 createProductInformation inputDict
 insert data row into oracle table PRODUCT_INFORMATION More...
 
 getObjectInfo ObjectId
 select a single row form db and get results in TCL array More...
 
 logException text
 log exceptions from the Java JDBC pipe properly to the session log More...
 
 updateProductInformation inputDict
 update data row of oracle table PRODUCT_INFORMATION More...
 

Function Documentation

◆ createProductInformation()

T4EA::CUSTOM::ORACLE::createProductInformation   inputDict  

insert data row into oracle table PRODUCT_INFORMATION

Parameters
inputDicta TCL dict containing the data of a single product
Returns
list of OK and the ID of the new product or ERROR

References T4EA::JDBC::ORACLE::getConnectionHandle4ActiveSystem(), T4X::CORE::getSessionLogChannel(), logException(), and tpwrite().

Referenced by T4EA::GENOBJ::CUSTOM::MAPPING::performTransfer().

◆ getObjectInfo()

T4EA::CUSTOM::ORACLE::getObjectInfo   ObjectId  

select a single row form db and get results in TCL array

Parameters
ObjectIdthe ID of the object for which to retrieve information
Returns
list of OK and a dict with the result or ERROR

References T4EA::JDBC::ORACLE::getConnectionHandle4ActiveSystem(), T4X::CORE::getSessionLogChannel(), logException(), and tpwrite().

Referenced by T4EA::PROP::CUSTOM::MAPPING::displayOracleProductInformation(), and T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::getObjectInfo().

◆ logException()

T4EA::CUSTOM::ORACLE::logException   text  

log exceptions from the Java JDBC pipe properly to the session log

Parameters
texttext to be logged
Returns
nothing useful

References T4X::CORE::getSessionLogChannel(), and tpwrite().

Referenced by createProductInformation(), T4EA::QUERY::CUSTOM::MAPPING::executeQuery4ProductInformation(), getObjectInfo(), and updateProductInformation().

◆ updateProductInformation()

T4EA::CUSTOM::ORACLE::updateProductInformation   inputDict  

update data row of oracle table PRODUCT_INFORMATION

Parameters
inputDicta TCL dict containing the data of a single product
Returns
OK or ERROR

References T4EA::JDBC::ORACLE::getConnectionHandle4ActiveSystem(), T4X::CORE::getSessionLogChannel(), logException(), and tpwrite().

Referenced by T4EA::GENOBJ::CUSTOM::MAPPING::performTransfer().