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

public class OutboundSyncRetryModel extends ItemModel
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

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of OutboundSyncRetry.channel attribute defined at extension outboundsync.
    static final String
    Generated constant - Attribute key of OutboundSyncRetry.itemPk attribute defined at extension outboundsync.
    static final String
    Generated constant - Attribute key of OutboundSyncRetry.reachedMaxRetries attribute defined at extension outboundsync.
    static final String
    Generated constant - Attribute key of OutboundSyncRetry.remainingSyncAttempts attribute defined at extension outboundsync.
    static final String
    Generated constant - Attribute key of OutboundSyncRetry.syncAttempts attribute defined at extension outboundsync.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
    OutboundSyncRetryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the OutboundSyncRetry.channel attribute defined at extension outboundsync.
    Generated method - Getter of the OutboundSyncRetry.itemPk attribute defined at extension outboundsync.
    Generated method - Getter of the OutboundSyncRetry.reachedMaxRetries attribute defined at extension outboundsync.
    Generated method - Getter of the OutboundSyncRetry.remainingSyncAttempts attribute defined at extension outboundsync.
    Generated method - Getter of the OutboundSyncRetry.syncAttempts attribute defined at extension outboundsync.
    void
    Generated method - Setter of OutboundSyncRetry.channel attribute defined at extension outboundsync.
    void
    setItemPk(Long value)
    Generated method - Setter of OutboundSyncRetry.itemPk attribute defined at extension outboundsync.
    void
    Generated method - Setter of OutboundSyncRetry.reachedMaxRetries attribute defined at extension outboundsync.
    void
    Generated method - Setter of OutboundSyncRetry.remainingSyncAttempts attribute defined at extension outboundsync.
    void
    Generated method - Setter of OutboundSyncRetry.syncAttempts attribute defined at extension outboundsync.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • ITEMPK

      public static final String ITEMPK
      Generated constant - Attribute key of OutboundSyncRetry.itemPk attribute defined at extension outboundsync.
      See Also:
    • CHANNEL

      public static final String CHANNEL
      Generated constant - Attribute key of OutboundSyncRetry.channel attribute defined at extension outboundsync.
      See Also:
    • SYNCATTEMPTS

      public static final String SYNCATTEMPTS
      Generated constant - Attribute key of OutboundSyncRetry.syncAttempts attribute defined at extension outboundsync.
      See Also:
    • REMAININGSYNCATTEMPTS

      public static final String REMAININGSYNCATTEMPTS
      Generated constant - Attribute key of OutboundSyncRetry.remainingSyncAttempts attribute defined at extension outboundsync.
      See Also:
    • REACHEDMAXRETRIES

      public static final String REACHEDMAXRETRIES
      Generated constant - Attribute key of OutboundSyncRetry.reachedMaxRetries attribute defined at extension outboundsync.
      See Also:
  • Constructor Details

    • OutboundSyncRetryModel

      public OutboundSyncRetryModel()
      Generated constructor - Default constructor for generic creation.
    • OutboundSyncRetryModel

      public OutboundSyncRetryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _channel - initial attribute declared by type OutboundSyncRetry at extension outboundsync
      _itemPk - initial attribute declared by type OutboundSyncRetry at extension outboundsync
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _channel - initial attribute declared by type OutboundSyncRetry at extension outboundsync
      _itemPk - initial attribute declared by type OutboundSyncRetry at extension outboundsync
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getChannel

      @Accessor(qualifier="channel", type=GETTER) public OutboundChannelConfigurationModel getChannel()
      Generated method - Getter of the OutboundSyncRetry.channel attribute defined at extension outboundsync.
      Returns:
      the channel - Channel with the configuration including the Integration Object and the Destination for the synchronization
    • getItemPk

      @Accessor(qualifier="itemPk", type=GETTER) public Long getItemPk()
      Generated method - Getter of the OutboundSyncRetry.itemPk attribute defined at extension outboundsync.
      Returns:
      the itemPk
    • getReachedMaxRetries

      @Accessor(qualifier="reachedMaxRetries", type=GETTER) public Boolean getReachedMaxRetries()
      Generated method - Getter of the OutboundSyncRetry.reachedMaxRetries attribute defined at extension outboundsync.
      Returns:
      the reachedMaxRetries - Indicates this retry record has reached the maximum number of retries. Use remainingSyncAttempts after deprecation.
    • getRemainingSyncAttempts

      @Accessor(qualifier="remainingSyncAttempts", type=GETTER) public Integer getRemainingSyncAttempts()
      Generated method - Getter of the OutboundSyncRetry.remainingSyncAttempts attribute defined at extension outboundsync.
      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

      @Accessor(qualifier="syncAttempts", type=GETTER) public Integer getSyncAttempts()
      Generated method - Getter of the OutboundSyncRetry.syncAttempts attribute defined at extension outboundsync.
      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 syncAttempts are set to 1 although no retries have been attempted yet.
    • setChannel

      @Accessor(qualifier="channel", type=SETTER) public void setChannel(OutboundChannelConfigurationModel value)
      Generated method - Setter of OutboundSyncRetry.channel attribute defined at extension outboundsync.
      Parameters:
      value - the channel - Channel with the configuration including the Integration Object and the Destination for the synchronization
    • setItemPk

      @Accessor(qualifier="itemPk", type=SETTER) public void setItemPk(Long value)
      Generated method - Setter of OutboundSyncRetry.itemPk attribute defined at extension outboundsync.
      Parameters:
      value - the itemPk
    • setReachedMaxRetries

      @Accessor(qualifier="reachedMaxRetries", type=SETTER) public void setReachedMaxRetries(Boolean value)
      Generated method - Setter of OutboundSyncRetry.reachedMaxRetries attribute defined at extension outboundsync.
      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 of OutboundSyncRetry.remainingSyncAttempts attribute defined at extension outboundsync.
      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

      @Accessor(qualifier="syncAttempts", type=SETTER) public void setSyncAttempts(Integer value)
      Generated method - Setter of OutboundSyncRetry.syncAttempts attribute defined at extension outboundsync.
      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 the syncAttempts are set to 1 although no retries have been attempted yet.