Class OutboundSyncRetryModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class OutboundSyncRetryModel
    extends ItemModel
    Generated model class for type OutboundSyncRetry first defined at extension outboundsync.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • ITEMPK

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

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

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

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

        public static final java.lang.String REACHEDMAXRETRIES
        Generated constant - Attribute key of OutboundSyncRetry.reachedMaxRetries attribute defined at extension outboundsync.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OutboundSyncRetryModel

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

        public OutboundSyncRetryModel​(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,
                                      java.lang.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,
                                      java.lang.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 Detail

      • 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 java.lang.Long getItemPk()
        Generated method - Getter of the OutboundSyncRetry.itemPk attribute defined at extension outboundsync.
        Returns:
        the itemPk
      • getReachedMaxRetries

        @Deprecated(since="1905.08-CEP",
                    forRemoval=true)
        @Accessor(qualifier="reachedMaxRetries",
                  type=GETTER)
        public java.lang.Boolean getReachedMaxRetries()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1905.08-CEP
        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 java.lang.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 java.lang.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​(java.lang.Long value)
        Generated method - Setter of OutboundSyncRetry.itemPk attribute defined at extension outboundsync.
        Parameters:
        value - the itemPk
      • setReachedMaxRetries

        @Deprecated(since="1905.08-CEP",
                    forRemoval=true)
        @Accessor(qualifier="reachedMaxRetries",
                  type=SETTER)
        public void setReachedMaxRetries​(java.lang.Boolean value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1905.08-CEP
        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​(java.lang.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​(java.lang.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.