Class CatalogEventBroadcaster
Listens to catalog events and broadcasts remote events for certain event types.
Inheritance
System.Object
CatalogEventBroadcaster
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
public class CatalogEventBroadcaster : CatalogEventListenerBase
Constructors
CatalogEventBroadcaster(IApplicationContext)
Declaration
[Obsolete("Use constructor with ICatalogEvents parameter. Will remain at least until May 2019.")]
public CatalogEventBroadcaster(IApplicationContext applicationContext)
Parameters
CatalogEventBroadcaster(IApplicationContext, ICatalogEvents)
Declaration
public CatalogEventBroadcaster(IApplicationContext applicationContext, ICatalogEvents catalogEvents)
Parameters
Fields
Declaration
public const string AssociationDeletedEventType = "AssociationDeleted"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string AssociationUpdatedEventType = "AssociationUpdated"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string CatalogDeletedEventType = "CatalogDeleted"
Field Value
Type |
Description |
System.String |
|
CatalogEntryDeletedEventType
Declaration
public const string CatalogEntryDeletedEventType = "CatalogEntryDeleted"
Field Value
Type |
Description |
System.String |
|
CatalogEntryUpdatedEventType
Declaration
public const string CatalogEntryUpdatedEventType = "CatalogEntryUpdated"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string CatalogLanguageUpdatedEventType = "CatalogLanguageUpdated"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string CatalogNodeDeletedEventType = "CatalogNodeDeleted"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string CatalogNodeUpdatedEventType = "CatalogNodeUpdated"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string CatalogUpdatedEventType = "CatalogUpdated"
Field Value
Type |
Description |
System.String |
|
Declaration
public static readonly Guid CommerceProductUpdated
Field Value
Type |
Description |
System.Guid |
|
Declaration
public static readonly Guid EventRaiserId
Field Value
Type |
Description |
System.Guid |
|
Declaration
public const string LanguageConfigurationChangedEventType = "LanguageConfigurationChanged"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string RelationDeletedEventType = "RelationDeleted"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string RelationUpdatedEventType = "RelationUpdated"
Field Value
Type |
Description |
System.String |
|
Properties
Declaration
[Obsolete("Get the instance from the service locator. Will remain at least until May 2019.")]
public static CatalogEventBroadcaster Instance { get; }
Property Value
Methods
Send remote event for association update.
Declaration
public override void AssociationUpdated(object source, AssociationEventArgs args)
Parameters
Overrides
Send remote event for catalog update.
Declaration
public override void CatalogUpdated(object source, CatalogEventArgs args)
Parameters
Overrides
EntryUpdated(Object, EntryEventArgs)
Send remote event for entry update.
Declaration
public override void EntryUpdated(object source, EntryEventArgs args)
Parameters
Overrides
Send remote event for node update.
Declaration
public override void NodeUpdated(object source, NodeEventArgs args)
Parameters
Overrides
RaiseEvent(CatalogContentUpdateEventArgs)
Raise event when product is updated
Declaration
public static void RaiseEvent(CatalogContentUpdateEventArgs e)
Parameters
Send remote event for relation update.
Declaration
public override void RelationUpdated(object source, RelationEventArgs args)
Parameters
Overrides
Events
Occurs when an association is deleted.
Declaration
[Obsolete("Superseded by ICatalogEvents.AssociationDeleted. Will remain at least until May 2019.")]
public event EventHandler<DeletedAssociationEventArgs> LocalAssociationDeleted
Event Type
Occurs when an association is updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.AssociationUpdated. Will remain at least until May 2019.")]
public event EventHandler<AssociationEventArgs> LocalAssociationUpdated
Event Type
Occurs when an association is about to be updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.AssociationUpdating. Will remain at least until May 2019.")]
public event EventHandler<AssociationEventArgs> LocalAssociationUpdating
Event Type
Occurs when a catalog is deleted.
Declaration
[Obsolete("Superseded by ICatalogEvents.CatalogDeleted. Will remain at least until May 2019.")]
public event EventHandler<DeletedCatalogEventArgs> LocalCatalogDeleted
Event Type
Occurs when a catalog is updated with a new language
configuration (available or default languages)
Declaration
[Obsolete("Superseded by ICatalogEvents.CatalogLanguageUpdated. Will remain at least until May 2019.")]
public event EventHandler<CatalogLanguageEventArgs> LocalCatalogLanguageUpdated
Event Type
Occurs when a catalog is updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.CatalogUpdated. Will remain at least until May 2019.")]
public event EventHandler<CatalogEventArgs> LocalCatalogUpdated
Event Type
Occurs when a catalog is about to be updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.CatalogUpdating. Will remain at least until May 2019.")]
public event EventHandler<CatalogEventArgs> LocalCatalogUpdating
Event Type
LocalEntryDeleted
Occurs when a catalog entry is deleted.
Declaration
[Obsolete("Superseded by ICatalogEvents.EntryDeleted. Will remain at least until May 2019.")]
public event EventHandler<DeletedEntryEventArgs> LocalEntryDeleted
Event Type
LocalEntryUpdated
Occurs when a catalog entry is updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.EntryUpdated. Will remain at least until May 2019.")]
public event EventHandler<EntryEventArgs> LocalEntryUpdated
Event Type
LocalEntryUpdating
Occurs when a catalog entry is about to be updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.EntryUpdating. Will remain at least until May 2019.")]
public event EventHandler<EntryEventArgs> LocalEntryUpdating
Event Type
Occurs when a catalog node is deleted;
Declaration
[Obsolete("Superseded by ICatalogEvents.NodeDeleted. Will remain at least until May 2019.")]
public event EventHandler<DeletedNodeEventArgs> LocalNodeDeleted
Event Type
Occurs when a catalog node is updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.NodeUpdated. Will remain at least until May 2019.")]
public event EventHandler<NodeEventArgs> LocalNodeUpdated
Event Type
Occurs when a catalog node is about to be updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.NodeUpdating. Will remain at least until May 2019.")]
public event EventHandler<NodeEventArgs> LocalNodeUpdating
Event Type
Occurs when a relation is deleted.
Declaration
[Obsolete("Superseded by ICatalogEvents.RelationDeleted. Will remain at least until May 2019.")]
public event EventHandler<DeletedRelationEventArgs> LocalRelationDeleted
Event Type
Occurs when a relation is updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.RelationUpdated. Will remain at least until May 2019.")]
public event EventHandler<RelationEventArgs> LocalRelationUpdated
Event Type
Occurs when a relation is about to be updated.
Declaration
[Obsolete("Superseded by ICatalogEvents.RelationUpdating. Will remain at least until May 2019.")]
public event EventHandler<RelationEventArgs> LocalRelationUpdating
Event Type