Class CampaignManager
Campaign manager acts as proxy between methods that call data layer functions and the facade layer. The methods here check if the appropriate security is set and that the data is cached.
Inheritance
System.Object
CampaignManager
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()
Namespace: Mediachase.Commerce.Marketing.Managers
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public static class CampaignManager
Methods
GetCampaignDto()
Gets the campaign dto.
Declaration
public static CampaignDto GetCampaignDto()
Returns
| Type | Description |
|---|---|
| CampaignDto |
GetCampaignDto(Int32)
Gets the Campaign dto, checks permissions and caches results.
Declaration
public static CampaignDto GetCampaignDto(int campaignId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | campaignId | The campaign id. |
Returns
| Type | Description |
|---|---|
| CampaignDto |
GetCampaignDto(String)
Gets the Campaign dto, checks permissions and caches results.
Declaration
public static CampaignDto GetCampaignDto(string marketId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | marketId | The market id. |
Returns
| Type | Description |
|---|---|
| CampaignDto |
SaveCampaign(CampaignDto)
Saves the campaign.
Declaration
public static void SaveCampaign(CampaignDto dto)
Parameters
| Type | Name | Description |
|---|---|---|
| CampaignDto | dto | The dto. |