Class CatalogEventBroadcaster
Inherited Members
Namespace: Mediachase.Commerce.Catalog.Events
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CatalogEventBroadcaster : CatalogEventListenerBase
Constructors
CatalogEventBroadcaster()
Declaration
[Obsolete("Use the constructor with parameters instead. Will remain at least until October 2016.")]
public CatalogEventBroadcaster()
CatalogEventBroadcaster(IApplicationContext)
Declaration
public CatalogEventBroadcaster(IApplicationContext applicationContext)
Parameters
Type | Name | Description |
---|---|---|
IApplicationContext | applicationContext |
Fields
AssociationDeletedEventType
Declaration
public const string AssociationDeletedEventType = "AssociationDeleted"
Field Value
Type | Description |
---|---|
System.String |
AssociationUpdatedEventType
Declaration
public const string AssociationUpdatedEventType = "AssociationUpdated"
Field Value
Type | Description |
---|---|
System.String |
AssociationUpdatingEventType
Declaration
public const string AssociationUpdatingEventType = "AssociationUpdating"
Field Value
Type | Description |
---|---|
System.String |
CatalogDeletedEventType
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 |
CatalogEntryUpdatingEventType
Declaration
public const string CatalogEntryUpdatingEventType = "CatalogEntryUpdating"
Field Value
Type | Description |
---|---|
System.String |
CatalogLanguageUpdatedEventType
Declaration
public const string CatalogLanguageUpdatedEventType = "CatalogLanguageUpdated"
Field Value
Type | Description |
---|---|
System.String |
CatalogNodeDeletedEventType
Declaration
public const string CatalogNodeDeletedEventType = "CatalogNodeDeleted"
Field Value
Type | Description |
---|---|
System.String |
CatalogNodeUpdatedEventType
Declaration
public const string CatalogNodeUpdatedEventType = "CatalogNodeUpdated"
Field Value
Type | Description |
---|---|
System.String |
CatalogNodeUpdatingEventType
Declaration
public const string CatalogNodeUpdatingEventType = "CatalogNodeUpdating"
Field Value
Type | Description |
---|---|
System.String |
CatalogUpdatedEventType
Declaration
public const string CatalogUpdatedEventType = "CatalogUpdated"
Field Value
Type | Description |
---|---|
System.String |
CatalogUpdatingEventType
Declaration
public const string CatalogUpdatingEventType = "CatalogUpdating"
Field Value
Type | Description |
---|---|
System.String |
CommerceProductUpdated
Declaration
public static readonly Guid CommerceProductUpdated
Field Value
Type | Description |
---|---|
System.Guid |
EventRaiserId
Declaration
public static readonly Guid EventRaiserId
Field Value
Type | Description |
---|---|
System.Guid |
LanguageConfigurationChangedEventType
Declaration
public const string LanguageConfigurationChangedEventType = "LanguageConfigurationChanged"
Field Value
Type | Description |
---|---|
System.String |
RelationDeletedEventType
Declaration
public const string RelationDeletedEventType = "RelationDeleted"
Field Value
Type | Description |
---|---|
System.String |
RelationUpdatedEventType
Declaration
public const string RelationUpdatedEventType = "RelationUpdated"
Field Value
Type | Description |
---|---|
System.String |
RelationUpdatingEventType
Declaration
public const string RelationUpdatingEventType = "RelationUpdating"
Field Value
Type | Description |
---|---|
System.String |
Properties
Instance
Declaration
public static CatalogEventBroadcaster Instance { get; }
Property Value
Type | Description |
---|---|
CatalogEventBroadcaster |
Methods
AssociationDeleted(Object, DeletedAssociationEventArgs)
Trigger LocalAssociationDeleted.
Declaration
public override void AssociationDeleted(object source, DeletedAssociationEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
DeletedAssociationEventArgs | args | The DeletedAssociationEventArgs instance containing the event data. |
Overrides
AssociationUpdated(Object, AssociationEventArgs)
Trigger LocalAssociationUpdated.
Declaration
public override void AssociationUpdated(object source, AssociationEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
AssociationEventArgs | args | The AssociationEventArgs instance containing the event data. |
Overrides
AssociationUpdating(Object, AssociationEventArgs)
Trigger LocalAssociationUpdating.
Declaration
public override void AssociationUpdating(object source, AssociationEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
AssociationEventArgs | args | The AssociationEventArgs instance containing the event data. |
Overrides
CatalogDeleted(Object, DeletedCatalogEventArgs)
Trigger LocalCatalogDeleted.
Declaration
public override void CatalogDeleted(object source, DeletedCatalogEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
DeletedCatalogEventArgs | args | The DeletedCatalogEventArgs instance containing the event data. |
Overrides
CatalogLanguageUpdated(Object, CatalogLanguageEventArgs)
Trigger LocalCatalogLanguageUpdated.
Declaration
public override void CatalogLanguageUpdated(object source, CatalogLanguageEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
CatalogLanguageEventArgs | args | The CatalogLanguageEventArgs instance containing the event data. |
Overrides
CatalogUpdated(Object, CatalogEventArgs)
Trigger LocalCatalogUpdated.
Declaration
public override void CatalogUpdated(object source, CatalogEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
CatalogEventArgs | args | The CatalogEventArgs instance containing the event data. |
Overrides
CatalogUpdating(Object, CatalogEventArgs)
Trigger LocalCatalogUpdating.
Declaration
public override void CatalogUpdating(object source, CatalogEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
CatalogEventArgs | args | The CatalogEventArgs instance containing the event data. |
Overrides
EntryDeleted(Object, DeletedEntryEventArgs)
Trigger LocalEntryDeleted.
Declaration
public override void EntryDeleted(object source, DeletedEntryEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
DeletedEntryEventArgs | args | The DeletedEntryEventArgs instance containing the event data. |
Overrides
EntryUpdated(Object, EntryEventArgs)
Trigger LocalEntryUpdated.
Declaration
public override void EntryUpdated(object source, EntryEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
EntryEventArgs | args | The EntryEventArgs instance containing the event data. |
Overrides
EntryUpdating(Object, EntryEventArgs)
Trigger LocalEntryUpdating.
Declaration
public override void EntryUpdating(object source, EntryEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
EntryEventArgs | args | The EntryEventArgs instance containing the event data. |
Overrides
NodeDeleted(Object, DeletedNodeEventArgs)
Trigger LocalNodeDeleted.
Declaration
public override void NodeDeleted(object source, DeletedNodeEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
DeletedNodeEventArgs | args | The DeletedNodeEventArgs instance containing the event data. |
Overrides
NodeUpdated(Object, NodeEventArgs)
Trigger LocalNodeUpdated.
Declaration
public override void NodeUpdated(object source, NodeEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
NodeEventArgs | args | The NodeEventArgs instance containing the event data. |
Overrides
NodeUpdating(Object, NodeEventArgs)
Trigger LocalNodeUpdating.
Declaration
public override void NodeUpdating(object source, NodeEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
NodeEventArgs | args | The NodeEventArgs instance containing the event data. |
Overrides
RaiseEvent(CatalogContentUpdateEventArgs)
Raise event when product is updated
Declaration
public static void RaiseEvent(CatalogContentUpdateEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
CatalogContentUpdateEventArgs | e | Event arguments |
RelationDeleted(Object, DeletedRelationEventArgs)
Trigger LocalRelationDeleted.
Declaration
public override void RelationDeleted(object source, DeletedRelationEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
DeletedRelationEventArgs | args | The DeletedRelationEventArgs instance containing the event data. |
Overrides
RelationUpdated(Object, RelationEventArgs)
Trigger LocalRelationUpdated.
Declaration
public override void RelationUpdated(object source, RelationEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
RelationEventArgs | args | The RelationEventArgs instance containing the event data. |
Overrides
RelationUpdating(Object, RelationEventArgs)
Trigger LocalRelationUpdating.
Declaration
public override void RelationUpdating(object source, RelationEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
RelationEventArgs | args | The RelationEventArgs instance containing the event data. |
Overrides
Serialize(EventArgs)
Serialize update event arguments
Declaration
protected static byte[] Serialize(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event arguments |
Returns
Type | Description |
---|---|
System.Byte[] |
Events
LocalAssociationDeleted
Occurs when a Association is deleted.
Declaration
public event EventHandler<DeletedAssociationEventArgs> LocalAssociationDeleted
Event Type
Type | Description |
---|---|
System.EventHandler<DeletedAssociationEventArgs> |
LocalAssociationUpdated
Occurs when a Association is updated.
Declaration
public event EventHandler<AssociationEventArgs> LocalAssociationUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<AssociationEventArgs> |
LocalAssociationUpdating
Occurs when a Association is about to be updated.
Declaration
public event EventHandler<AssociationEventArgs> LocalAssociationUpdating
Event Type
Type | Description |
---|---|
System.EventHandler<AssociationEventArgs> |
LocalCatalogDeleted
Occurs when a Mediachase.Commerce.Catalog is deleted.
Declaration
public event EventHandler<DeletedCatalogEventArgs> LocalCatalogDeleted
Event Type
Type | Description |
---|---|
System.EventHandler<DeletedCatalogEventArgs> |
LocalCatalogLanguageUpdated
Occurs when a Mediachase.Commerce.Catalog is updated with a new language configuration (available or default languages)
Declaration
public event EventHandler<CatalogLanguageEventArgs> LocalCatalogLanguageUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<CatalogLanguageEventArgs> |
LocalCatalogUpdated
Occurs when a Mediachase.Commerce.Catalog is updated.
Declaration
public event EventHandler<CatalogEventArgs> LocalCatalogUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<CatalogEventArgs> |
LocalCatalogUpdating
Occurs when a Mediachase.Commerce.Catalog is about to be updated.
Declaration
public event EventHandler<CatalogEventArgs> LocalCatalogUpdating
Event Type
Type | Description |
---|---|
System.EventHandler<CatalogEventArgs> |
LocalEntryDeleted
Occurs when an Entry is deleted.
Declaration
public event EventHandler<DeletedEntryEventArgs> LocalEntryDeleted
Event Type
Type | Description |
---|---|
System.EventHandler<DeletedEntryEventArgs> |
LocalEntryUpdated
Occurs when an Entry is updated.
Declaration
public event EventHandler<EntryEventArgs> LocalEntryUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<EntryEventArgs> |
LocalEntryUpdating
Occurs when an Entry is about to be updated.
Declaration
public event EventHandler<EntryEventArgs> LocalEntryUpdating
Event Type
Type | Description |
---|---|
System.EventHandler<EntryEventArgs> |
LocalNodeDeleted
Occurs when a CatalogNode is deleted;
Declaration
public event EventHandler<DeletedNodeEventArgs> LocalNodeDeleted
Event Type
Type | Description |
---|---|
System.EventHandler<DeletedNodeEventArgs> |
LocalNodeUpdated
Occurs when a CatalogNode is updated.
Declaration
public event EventHandler<NodeEventArgs> LocalNodeUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<NodeEventArgs> |
LocalNodeUpdating
Occurs when a CatalogNode is about to be updated.
Declaration
public event EventHandler<NodeEventArgs> LocalNodeUpdating
Event Type
Type | Description |
---|---|
System.EventHandler<NodeEventArgs> |
LocalRelationDeleted
Occurs when a relation is deleted.
Declaration
public event EventHandler<DeletedRelationEventArgs> LocalRelationDeleted
Event Type
Type | Description |
---|---|
System.EventHandler<DeletedRelationEventArgs> |
LocalRelationUpdated
Occurs when a relation is updated.
Declaration
public event EventHandler<RelationEventArgs> LocalRelationUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<RelationEventArgs> |
LocalRelationUpdating
Occurs when a relation is about to be updated.
Declaration
public event EventHandler<RelationEventArgs> LocalRelationUpdating
Event Type
Type | Description |
---|---|
System.EventHandler<RelationEventArgs> |