Interface InsertManyToManyRelationRecord
- All Superinterfaces:
Record,RelationRecord
- All Known Subinterfaces:
InsertOneToManyRelationRecord,RemoveOneToManyRelationsRecord
- All Known Implementing Classes:
DefaultInsertManyToManyRelationRecord,DefaultInsertOneToManyRelationRecord,DefaultRemoveOneToManyRelationsRecord
Insert relation record with target Pk and order information
-
Method Summary
Modifier and TypeMethodDescriptionGets source PK.Gets source to target position for ordering.Gets target PK.Gets target to source position for ordering.voidsetSourceToTargetPosition(Integer position) Sets the source to target position.voidsetTargetToSourcePosition(Integer position) Sets the target to source position.Methods inherited from interface de.hybris.platform.directpersistence.record.RelationRecord
isSrcToTgt
-
Method Details
-
getSourcePk
PK getSourcePk()Gets source PK. -
getTargetPk
PK getTargetPk()Gets target PK. -
getSourceToTargetPosition
Integer getSourceToTargetPosition()Gets source to target position for ordering.- Returns:
- source to target position. Could be
nullif position is not known or not applicable
-
setSourceToTargetPosition
Sets the source to target position.- Parameters:
position- Source to target position
-
getTargetToSourcePosition
Integer getTargetToSourcePosition()Gets target to source position for ordering.- Returns:
- target to source position. Could be
nullif position is not known or not applicable
-
setTargetToSourcePosition
Sets the target to source position.- Parameters:
position- Target to source position
-