Class ObjectInstances
java.lang.Object
de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.impl.erp.strategy.ObjectInstances
Handles the object instance references for the LORD API. The object instances are stored in table parameter
TT_OBJINST.
-
Constructor Summary
ConstructorsConstructorDescriptionObjectInstances(com.sap.conn.jco.JCoTable ttObjInst) Creates a map forTT_OBJINSTparameter of the LORD API. -
Method Summary
-
Constructor Details
-
ObjectInstances
public ObjectInstances(com.sap.conn.jco.JCoTable ttObjInst) Creates a map forTT_OBJINSTparameter of the LORD API. This map contains the parent relations for the objects provided in the different tables of the ERP_LORD_GET_ALL function module. Key of the map is theHANDLE.- Parameters:
ttObjInst- jCo Table containing the TTT_OBJINSTinstances
-
-
Method Details
-
getParent
Returns the parent handle for a given handle.- Parameters:
handle- child handle- Returns:
- handle of the parent null, when there is no object instance for the handle EMPTY_STRING, when the handle has no parent
-
getObjectType
Returns the object type for a given handle. This is the value of the fieldOBJECT_ID.- Parameters:
handle- object handle- Returns:
- the object type of the handle; null, if object type cannot be retrieved.
-