Class OutboundItemDTOGroup
- java.lang.Object
-
- de.hybris.platform.outboundsync.dto.OutboundItemDTOGroup
-
@Immutable public class OutboundItemDTOGroup extends java.lang.ObjectTheOutboundItemDTOGroupclass encapsulates the collection ofOutboundItemDTOs. It also provides some convenience accessors.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static OutboundItemDTOGroupfrom(java.util.Collection<OutboundItemDTO> outboundItemDTOs, OutboundItemFactory itemFactory)Creates anOutboundItemDTOGroupfrom the given collection ofOutboundItemDTOOutboundChannelConfigurationModelgetChannelConfiguration()Gets theOutboundChannelConfigurationModelassociated with the changed itemPKgetCronJobPk()Gets the PK of the CronJob that was triggeredjava.lang.StringgetDestinationId()Gets the ConsumedDestination id associated with the changed itemjava.lang.StringgetIntegrationObjectCode()Gets the Integration Object's code associated with the changed itemjava.util.Collection<OutboundItemDTO>getOutboundItemDTOs()Retrieves a copy of the collection of OutboundItemDTOsjava.lang.LonggetRootItemPk()Gets the root item PK.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
from
public static OutboundItemDTOGroup from(java.util.Collection<OutboundItemDTO> outboundItemDTOs, OutboundItemFactory itemFactory)
Creates anOutboundItemDTOGroupfrom the given collection ofOutboundItemDTO- Parameters:
outboundItemDTOs- Collection of OutboundItemDTOsitemFactory- a factory forOutboundItem- Returns:
- new instance of this group
-
getOutboundItemDTOs
public java.util.Collection<OutboundItemDTO> getOutboundItemDTOs()
Retrieves a copy of the collection of OutboundItemDTOs- Returns:
- Collection of OutboundItemDTOs
-
getRootItemPk
public java.lang.Long getRootItemPk()
Gets the root item PK. If the items in the OutboundItemDTO collection have a root, the root item PK belongs to the root. Otherwise, the root item PK is the same as the item's PK.- Returns:
- Root item PK
-
getIntegrationObjectCode
public java.lang.String getIntegrationObjectCode()
Gets the Integration Object's code associated with the changed item- Returns:
- Code
-
getDestinationId
public java.lang.String getDestinationId()
Gets the ConsumedDestination id associated with the changed item- Returns:
- Destination id
-
getChannelConfiguration
public OutboundChannelConfigurationModel getChannelConfiguration()
Gets theOutboundChannelConfigurationModelassociated with the changed item- Returns:
- Channel configuration model
-
getCronJobPk
public PK getCronJobPk()
Gets the PK of the CronJob that was triggered- Returns:
- CronJob's primary key
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-