Class OutboundSyncRetryModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.outboundsync.model.OutboundSyncRetryModel
- All Implemented Interfaces:
Serializable
Generated model class for type OutboundSyncRetry first defined at extension outboundsync.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofOutboundSyncRetry.channelattribute defined at extensionoutboundsync.static final StringGenerated constant - Attribute key ofOutboundSyncRetry.itemPkattribute defined at extensionoutboundsync.static final StringGenerated constant - Attribute key ofOutboundSyncRetry.reachedMaxRetriesattribute defined at extensionoutboundsync.static final StringGenerated constant - Attribute key ofOutboundSyncRetry.remainingSyncAttemptsattribute defined at extensionoutboundsync.static final StringGenerated constant - Attribute key ofOutboundSyncRetry.syncAttemptsattribute defined at extensionoutboundsync.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.OutboundSyncRetryModel(OutboundChannelConfigurationModel _channel, Long _itemPk) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersOutboundSyncRetryModel(OutboundChannelConfigurationModel _channel, Long _itemPk, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theOutboundSyncRetry.channelattribute defined at extensionoutboundsync.Generated method - Getter of theOutboundSyncRetry.itemPkattribute defined at extensionoutboundsync.Generated method - Getter of theOutboundSyncRetry.reachedMaxRetriesattribute defined at extensionoutboundsync.Generated method - Getter of theOutboundSyncRetry.remainingSyncAttemptsattribute defined at extensionoutboundsync.Generated method - Getter of theOutboundSyncRetry.syncAttemptsattribute defined at extensionoutboundsync.voidGenerated method - Setter ofOutboundSyncRetry.channelattribute defined at extensionoutboundsync.voidGenerated method - Setter ofOutboundSyncRetry.itemPkattribute defined at extensionoutboundsync.voidsetReachedMaxRetries(Boolean value) Generated method - Setter ofOutboundSyncRetry.reachedMaxRetriesattribute defined at extensionoutboundsync.voidsetRemainingSyncAttempts(Integer value) Generated method - Setter ofOutboundSyncRetry.remainingSyncAttemptsattribute defined at extensionoutboundsync.voidsetSyncAttempts(Integer value) Generated method - Setter ofOutboundSyncRetry.syncAttemptsattribute defined at extensionoutboundsync.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
ITEMPK
Generated constant - Attribute key ofOutboundSyncRetry.itemPkattribute defined at extensionoutboundsync.- See Also:
-
CHANNEL
Generated constant - Attribute key ofOutboundSyncRetry.channelattribute defined at extensionoutboundsync.- See Also:
-
SYNCATTEMPTS
Generated constant - Attribute key ofOutboundSyncRetry.syncAttemptsattribute defined at extensionoutboundsync.- See Also:
-
REMAININGSYNCATTEMPTS
Generated constant - Attribute key ofOutboundSyncRetry.remainingSyncAttemptsattribute defined at extensionoutboundsync.- See Also:
-
REACHEDMAXRETRIES
Generated constant - Attribute key ofOutboundSyncRetry.reachedMaxRetriesattribute defined at extensionoutboundsync.- See Also:
-
-
Constructor Details
-
OutboundSyncRetryModel
public OutboundSyncRetryModel()Generated constructor - Default constructor for generic creation. -
OutboundSyncRetryModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
OutboundSyncRetryModel
@Deprecated(since="4.1.1", forRemoval=true) public OutboundSyncRetryModel(OutboundChannelConfigurationModel _channel, Long _itemPk) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_channel- initial attribute declared by typeOutboundSyncRetryat extensionoutboundsync_itemPk- initial attribute declared by typeOutboundSyncRetryat extensionoutboundsync
-
OutboundSyncRetryModel
@Deprecated(since="4.1.1", forRemoval=true) public OutboundSyncRetryModel(OutboundChannelConfigurationModel _channel, Long _itemPk, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_channel- initial attribute declared by typeOutboundSyncRetryat extensionoutboundsync_itemPk- initial attribute declared by typeOutboundSyncRetryat extensionoutboundsync_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getChannel
Generated method - Getter of theOutboundSyncRetry.channelattribute defined at extensionoutboundsync.- Returns:
- the channel - Channel with the configuration including the Integration Object and the Destination for the synchronization
-
getItemPk
Generated method - Getter of theOutboundSyncRetry.itemPkattribute defined at extensionoutboundsync.- Returns:
- the itemPk
-
getReachedMaxRetries
Generated method - Getter of theOutboundSyncRetry.reachedMaxRetriesattribute defined at extensionoutboundsync.- Returns:
- the reachedMaxRetries - Indicates this retry record has reached the maximum number of retries. Use remainingSyncAttempts after deprecation.
-
getRemainingSyncAttempts
Generated method - Getter of theOutboundSyncRetry.remainingSyncAttemptsattribute defined at extensionoutboundsync.- Returns:
- the remainingSyncAttempts - Number of outbound synchronization attempts remaining before giving up synchronization of the corresponding item. If 0 or negative, no more synchronization attempts will be made.
-
getSyncAttempts
Generated method - Getter of theOutboundSyncRetry.syncAttemptsattribute defined at extensionoutboundsync.- Returns:
- the syncAttempts - Number of attempts to synchronize, that will allow us to keep track of the max number of
attempts
that we want to perform. This attempts number includes the original attempt as well as all
subsequent retries.
For example, when first item synchronization attempt fails, a new retry entity will be created
and the
syncAttemptsare set to 1 although no retries have been attempted yet.
-
setChannel
@Accessor(qualifier="channel", type=SETTER) public void setChannel(OutboundChannelConfigurationModel value) Generated method - Setter ofOutboundSyncRetry.channelattribute defined at extensionoutboundsync.- Parameters:
value- the channel - Channel with the configuration including the Integration Object and the Destination for the synchronization
-
setItemPk
Generated method - Setter ofOutboundSyncRetry.itemPkattribute defined at extensionoutboundsync.- Parameters:
value- the itemPk
-
setReachedMaxRetries
@Accessor(qualifier="reachedMaxRetries", type=SETTER) public void setReachedMaxRetries(Boolean value) Generated method - Setter ofOutboundSyncRetry.reachedMaxRetriesattribute defined at extensionoutboundsync.- Parameters:
value- the reachedMaxRetries - Indicates this retry record has reached the maximum number of retries. Use remainingSyncAttempts after deprecation.
-
setRemainingSyncAttempts
@Accessor(qualifier="remainingSyncAttempts", type=SETTER) public void setRemainingSyncAttempts(Integer value) Generated method - Setter ofOutboundSyncRetry.remainingSyncAttemptsattribute defined at extensionoutboundsync.- Parameters:
value- the remainingSyncAttempts - Number of outbound synchronization attempts remaining before giving up synchronization of the corresponding item. If 0 or negative, no more synchronization attempts will be made.
-
setSyncAttempts
Generated method - Setter ofOutboundSyncRetry.syncAttemptsattribute defined at extensionoutboundsync.- Parameters:
value- the syncAttempts - Number of attempts to synchronize, that will allow us to keep track of the max number of attempts that we want to perform. This attempts number includes the original attempt as well as all subsequent retries. For example, when first item synchronization attempt fails, a new retry entity will be created and thesyncAttemptsare set to 1 although no retries have been attempted yet.
-