Class ProductEventManager
This class has several events which are trigger when Catalog, Catalog node, Catalog entry changed (in Commerce Manager).
Register to these events helps frontend site know when something happen with Catalog, CatalogNode and CatalogEntry in the backend site (Commerce Manager).
Inheritance
System.Object
ProductEventManager
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: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
[Obsolete("Handling remote update events is no longer supported. React to update events locally, e.g. by handling an event of Mediachase.Commerce.Catalog.Events.CatalogEventBroadcaster, register a custom implementation of Mediachase.Commerce.Catalog.Events.CatalogEventListenerBase with the service locator or handle an event of EPiServer.Commerce.Catalog.Provider.CatalogEventHandler (for Content modelcatalog items). Will remain at least until March 2016.")]
public static class ProductEventManager
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 |
|
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 |
|
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 |
|
Methods
AddEvent()
Declaration
public static void AddEvent()
CreateEvent(ProductUpdatedEventArgs)
Base on the event type, take appropriate handler(s) and invoke them.
Declaration
[Obsolete]
public static void CreateEvent(ProductUpdatedEventArgs eventArgs)
Parameters
CreateEvent(CatalogContentUpdateEventArgs)
Base on the event type, take appropriate handler(s) and invoke them.
Declaration
public static void CreateEvent(CatalogContentUpdateEventArgs eventArgs)
Parameters
CreateEvent(String, ProductUpdatedEventArgs)
Base on the event type, take appropriate handler(s) and invoke them.
Declaration
[Obsolete("Use the overload with 'CatalogContentUpdateEventArgs' instead. Will remain at least until November 2016.")]
public static void CreateEvent(string eventType, ProductUpdatedEventArgs eventArgs)
Parameters
CreateEvent(String, CatalogContentUpdateEventArgs)
Base on the event type, take appropriate handler(s) and invoke them.
Declaration
public static void CreateEvent(string eventType, CatalogContentUpdateEventArgs eventArgs)
Parameters
RaiseEvent(ProductUpdatedEventArgs)
Raise event when product is updated
Declaration
[Obsolete("Use the overload with 'CatalogContentUpdateEventArgs' instead. Will remain at least until November 2016.")]
public static void RaiseEvent(ProductUpdatedEventArgs e)
Parameters
RaiseEvent(CatalogContentUpdateEventArgs)
Raise event when product is updated
Declaration
public static void RaiseEvent(CatalogContentUpdateEventArgs e)
Parameters
Events
AssociationDataDeleted
Occurs when an association is updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> AssociationDataDeleted
Event Type
AssociationDataUpdated
Occurs when an association is deleted.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> AssociationDataUpdated
Event Type
AssociationDataUpdating
Occurs when an association is about to be updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> AssociationDataUpdating
Event Type
AssociationDeleted
Occurs when an association is updated.
Declaration
[Obsolete("Use 'AssociationDataDeleted' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> AssociationDeleted
Event Type
AssociationUpdated
Occurs when an association is deleted.
Declaration
[Obsolete("Use 'AssociationDataUpdated' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> AssociationUpdated
Event Type
AssociationUpdating
Occurs when an association is about to be updated.
Declaration
[Obsolete("Use 'AssociationDataUpdating' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> AssociationUpdating
Event Type
CatalogDataDeleted
Occurs when a catalog is deleted.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> CatalogDataDeleted
Event Type
CatalogDataUpdated
Occurs when a catalog is updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> CatalogDataUpdated
Event Type
CatalogDataUpdating
Occurs when a catalog is about to be updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> CatalogDataUpdating
Event Type
CatalogDeleted
Occurs when a catalog is deleted.
Declaration
[Obsolete("Use 'CatalogDataDeleted' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogDeleted
Event Type
CatalogEntryDeleted
Occurs when a catalog entry is deleted.
Declaration
[Obsolete("Use 'EntryDeleted' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogEntryDeleted
Event Type
CatalogEntryUpdated
Occurs when a catalog entry is updated.
Declaration
[Obsolete("Use 'EntryUpdated' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogEntryUpdated
Event Type
CatalogEntryUpdating
Occurs when a catalog entry is about to be updated.
Declaration
[Obsolete("Use 'EntryUpdating' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogEntryUpdating
Event Type
CatalogNodeDeleted
Occurs when a catalog node is deleted.
Declaration
[Obsolete("Use 'NodeDeleted' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogNodeDeleted
Event Type
CatalogNodeUpdated
Occurs when a catalog node is updated.
Declaration
[Obsolete("Use 'NodeUpdated' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogNodeUpdated
Event Type
CatalogNodeUpdating
Occurs when a catalog node is about to be updated.
Declaration
[Obsolete("Use 'NodeUpdating' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogNodeUpdating
Event Type
CatalogUpdated
Occurs when a catalog is updated.
Declaration
[Obsolete("Use 'CatalogDataUpdated' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogUpdated
Event Type
CatalogUpdating
Occurs when a catalog is about to be updated.
Declaration
[Obsolete("Use 'CatalogDataUpdating' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> CatalogUpdating
Event Type
EntryDeleted
Occurs when a catalog entry is deleted.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> EntryDeleted
Event Type
EntryUpdated
Occurs when a catalog entry is updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> EntryUpdated
Event Type
EntryUpdating
Occurs when a catalog entry is about to be updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> EntryUpdating
Event Type
LanguageConfigurationChanged
Occurs when catalog language configuration has changed.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> LanguageConfigurationChanged
Event Type
NodeDeleted
Occurs when a catalog node is deleted.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> NodeDeleted
Event Type
NodeUpdated
Occurs when a catalog node is updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> NodeUpdated
Event Type
NodeUpdating
Occurs when a catalog node is about to be updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> NodeUpdating
Event Type
RelationDataDeleted
Occurs when relation is deleted.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> RelationDataDeleted
Event Type
RelationDataUpdated
Occurs when a relation is updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> RelationDataUpdated
Event Type
RelationDataUpdating
Occurs when a relation is about to be updated.
Declaration
public static event EventHandler<CatalogContentUpdateEventArgs> RelationDataUpdating
Event Type
RelationDeleted
Occurs when relation is deleted.
Declaration
[Obsolete("Use 'RelationDataDeleted' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> RelationDeleted
Event Type
RelationUpdated
Occurs when a relation is updated.
Declaration
[Obsolete("Use 'RelationDataUpdated' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> RelationUpdated
Event Type
RelationUpdating
Occurs when a relation is about to be updated.
Declaration
[Obsolete("Use 'RelationDataUpdating' instead. Will remain at least until November 2016.")]
public static event EventHandler<ProductUpdatedEventArgs> RelationUpdating
Event Type