Class OutboundItemDTO.Builder
- java.lang.Object
-
- de.hybris.platform.outboundsync.dto.OutboundItemDTO.Builder
-
- Enclosing class:
- OutboundItemDTO
public static final class OutboundItemDTO.Builder extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OutboundItemDTObuild()static OutboundItemDTO.Builderfrom(OutboundItemDTO dto)static OutboundItemDTO.Builderitem()OutboundItemDTO.BuilderwithChannelConfiguration(OutboundChannelConfigurationModel model)Specifies the outbound channel configuration and all items that can be derived from the channel configuration, e.g.OutboundItemDTO.BuilderwithChannelConfigurationPK(java.lang.Long pk)OutboundItemDTO.BuilderwithCronJobPK(PK pk)OutboundItemDTO.BuilderwithInfo(ChangeInfo info)OutboundItemDTO.BuilderwithIntegrationObject(IntegrationObjectModel model)OutboundItemDTO.BuilderwithIntegrationObjectPK(java.lang.Long pk)OutboundItemDTO.BuilderwithItem(OutboundItemChange item)OutboundItemDTO.BuilderwithRootItemPK(java.lang.Long pk)OutboundItemDTO.BuilderwithSynchronizeDelete(boolean synchronizeDelete)
-
-
-
Method Detail
-
item
public static OutboundItemDTO.Builder item()
-
from
public static OutboundItemDTO.Builder from(OutboundItemDTO dto)
-
withItem
public OutboundItemDTO.Builder withItem(OutboundItemChange item)
-
withIntegrationObject
public OutboundItemDTO.Builder withIntegrationObject(IntegrationObjectModel model)
-
withIntegrationObjectPK
public OutboundItemDTO.Builder withIntegrationObjectPK(java.lang.Long pk)
-
withChannelConfiguration
public OutboundItemDTO.Builder withChannelConfiguration(OutboundChannelConfigurationModel model)
Specifies the outbound channel configuration and all items that can be derived from the channel configuration, e.g. integration object, etc.- Parameters:
model- model of the outbound channel configuration to include in the DTO- Returns:
- a builder with the channel configuraiton specified
-
withChannelConfigurationPK
public OutboundItemDTO.Builder withChannelConfigurationPK(java.lang.Long pk)
-
withRootItemPK
public OutboundItemDTO.Builder withRootItemPK(java.lang.Long pk)
-
withCronJobPK
public OutboundItemDTO.Builder withCronJobPK(PK pk)
-
withSynchronizeDelete
public OutboundItemDTO.Builder withSynchronizeDelete(boolean synchronizeDelete)
-
withInfo
public OutboundItemDTO.Builder withInfo(ChangeInfo info)
-
build
public OutboundItemDTO build()
-
-