Class SyncParameters
- java.lang.Object
-
- de.hybris.platform.outboundservices.facade.SyncParameters
-
public class SyncParameters extends java.lang.ObjectItem synchronization parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSyncParameters.SyncParametersBuilderDeprecated, for removal: This API element is subject to removal in a future version.UseSyncParametersBuilderinstead.
-
Constructor Summary
Constructors Modifier Constructor Description protectedSyncParameters(ItemModel item, java.lang.String ioCode, IntegrationObjectModel ioModel, java.lang.String destId, ConsumedDestinationModel destModel, OutboundSource source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ConsumedDestinationModelgetDestination()Retrieves destination to which data should be sent.java.lang.StringgetDestinationId()Retrieves information about the destination, to which data should be sent.EventTypegetEventType()Retrieves type of the event that triggered outbound synchronization.java.lang.StringgetIntegrationKey()Retrieves integration key value.IntegrationObjectModelgetIntegrationObject()Retrieves integration object used for outbound communication.java.lang.StringgetIntegrationObjectCode()Retrieves information about the integration object used for outbound communication.ItemModelgetItem()OutboundSourcegetSource()Retrieves information about the module that initiated the data exchange with the destination.inthashCode()static SyncParameters.SyncParametersBuildersyncParametersBuilder()Returns a builder for creation ofSyncParameters.java.lang.StringtoString()
-
-
-
Constructor Detail
-
SyncParameters
protected SyncParameters(ItemModel item, java.lang.String ioCode, IntegrationObjectModel ioModel, java.lang.String destId, ConsumedDestinationModel destModel, OutboundSource source)
-
-
Method Detail
-
getItem
public ItemModel getItem()
-
getIntegrationObjectCode
public java.lang.String getIntegrationObjectCode()
Retrieves information about the integration object used for outbound communication.- Returns:
- code of the integration object to be used.
-
getDestinationId
public java.lang.String getDestinationId()
Retrieves information about the destination, to which data should be sent.- Returns:
- ID of the
ConsumedDestinationModelto send data to.
-
getSource
public OutboundSource getSource()
Retrieves information about the module that initiated the data exchange with the destination.- Returns:
- module that sends data to the remote system.
- See Also:
getDestination()
-
getDestination
public ConsumedDestinationModel getDestination()
Retrieves destination to which data should be sent.- Returns:
- a destination representing a remote system receiving data.
-
getIntegrationObject
public IntegrationObjectModel getIntegrationObject()
Retrieves integration object used for outbound communication.- Returns:
- integration object to be used.
-
getEventType
public EventType getEventType()
Retrieves type of the event that triggered outbound synchronization.- Returns:
- type of the event or
DefaultEventType.UNKNOWN, if the synchronization is not triggered by event but is a scheduled batch synchronization.
-
getIntegrationKey
public java.lang.String getIntegrationKey()
Retrieves integration key value.- Returns:
- integration key of the item being synchronized.
-
syncParametersBuilder
public static SyncParameters.SyncParametersBuilder syncParametersBuilder()
Returns a builder for creation ofSyncParameters.- Returns:
- a builder to use for
SyncParameterscreation. Returned builder has empty state, that is noSyncParametersproperty is specified for it.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-