HubSubscriberTransaction

public class HubSubscriberTransaction implements java.io.Serializable

Stores the transaction in which the hub distributes the content to its subscribers.

Constructors

HubSubscriberTransaction

public HubSubscriberTransaction()

Creates a new instance of HubSubscriberTransaction, with all fields set to null.

HubSubscriberTransaction

public HubSubscriberTransaction(Integer hubDistributionStatusId, Integer hubSubscriptionId, Integer contentId)

Creates a new instance of HubSubscriberTransaction, with all fields set to the values specified in the parameters.

Parameters:
  • hubDistributionStatusId – the id of distribution status
  • hubSubscriptionId – the id of subscription
  • contentId – the id of content

Methods

getContentId

public Integer getContentId()

Gets content id.

Returns:the id of content

getHubDistributionStatusId

public Integer getHubDistributionStatusId()

Gets distribution status id.

Returns:the id of distribution status

getHubSubscriptionId

public Integer getHubSubscriptionId()

Gets subscription id.

Returns:the id of subscription

setContentId

public void setContentId(Integer contentId)

Sets content id.

Parameters:
  • contentId – the content id to be set

setHubDistributionStatusId

public void setHubDistributionStatusId(Integer hubDistributionStatusId)

Sets distribution status id.

Parameters:
  • hubDistributionStatusId – the distribution status id to be set

setHubSubscriptionId

public void setHubSubscriptionId(Integer hubSubscriptionId)

Sets subscription id.

Parameters:
  • hubSubscriptionId – the subscription id to be set