Class SyncParameters
java.lang.Object
de.hybris.platform.outboundservices.facade.SyncParameters
Item synchronization parameters.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSyncParameters(ItemModel item, String ioCode, IntegrationObjectModel ioModel, String destId, ConsumedDestinationModel destModel, OutboundSource source) -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves destination to which data should be sent.Retrieves information about the destination, to which data should be sent.Retrieves type of the event that triggered outbound synchronization.Retrieves integration key value.Retrieves integration object used for outbound communication.Retrieves information about the integration object used for outbound communication.getItem()Retrieves information about the module that initiated the data exchange with the destination.inthashCode()Returns a builder for creation ofSyncParameters.toString()
-
Constructor Details
-
SyncParameters
protected SyncParameters(ItemModel item, String ioCode, IntegrationObjectModel ioModel, String destId, ConsumedDestinationModel destModel, OutboundSource source)
-
-
Method Details
-
getItem
-
getIntegrationObjectCode
Retrieves information about the integration object used for outbound communication.- Returns:
- code of the integration object to be used.
-
getDestinationId
Retrieves information about the destination, to which data should be sent.- Returns:
- ID of the
ConsumedDestinationModelto send data to.
-
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
Retrieves destination to which data should be sent.- Returns:
- a destination representing a remote system receiving data.
-
getIntegrationObject
Retrieves integration object used for outbound communication.- Returns:
- integration object to be used.
-
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
Retrieves integration key value.- Returns:
- integration key of the item being synchronized.
-
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
-
hashCode
public int hashCode() -
toString
-
SyncParametersBuilderinstead.