Table of Contents

Class CampaignCustomerJourney

Namespace
Kentico.Xperience.Admin.DigitalMarketing.UIPages
Assembly
Kentico.Xperience.Admin.DigitalMarketing.dll

Campaign customer journey tab page.

[UINavigation(true)]
[UIEvaluatePermission("View")]
public sealed class CampaignCustomerJourney : CustomerJourneyPageBase<CampaignCustomerJourneyClientProperties>, IPage
Inheritance
object
CampaignCustomerJourney
Implements
Inherited Members
Extension Methods

Constructors

CampaignCustomerJourney(IInfoProvider<CustomerJourneyInfo>, IInfoProvider<CampaignInfo>, IPageLinkGenerator, IApplicationPermissionEvaluator, IAuthenticatedUserAccessor, IConditionParameterCommandProcessor, IDateTimeNowService, ILogger<CampaignCustomerJourney>)

Initializes an instance of the CampaignCustomerJourney class.

public CampaignCustomerJourney(IInfoProvider<CustomerJourneyInfo> customerJourneyInfoProvider, IInfoProvider<CampaignInfo> campaignInfoProvider, IPageLinkGenerator pageLinkGenerator, IApplicationPermissionEvaluator applicationPermissionEvaluator, IAuthenticatedUserAccessor authenticatedUserAccessor, IConditionParameterCommandProcessor commandProcessor, IDateTimeNowService dateTimeNowService, ILogger<CampaignCustomerJourney> logger)

Parameters

customerJourneyInfoProvider IInfoProvider<CustomerJourneyInfo>
campaignInfoProvider IInfoProvider<CampaignInfo>
pageLinkGenerator IPageLinkGenerator
applicationPermissionEvaluator IApplicationPermissionEvaluator
authenticatedUserAccessor IAuthenticatedUserAccessor
commandProcessor IConditionParameterCommandProcessor
dateTimeNowService IDateTimeNowService
logger ILogger<CampaignCustomerJourney>

Properties

CampaignId

ID of the campaign.

[PageParameter(typeof(IntPageModelBinder), typeof(CampaignsEditLayout))]
public int CampaignId { get; set; }

Property Value

int

CustomerJourneyId

ID of the customer journey.

[PageParameter(typeof(CampaignCustomerJourneyIdBinder), typeof(CampaignsEditLayout))]
public override int CustomerJourneyId { get; set; }

Property Value

int

Methods

ConfigureTemplateProperties(CampaignCustomerJourneyClientProperties)

Gets the object representing client side template properties.

public override Task<CampaignCustomerJourneyClientProperties> ConfigureTemplateProperties(CampaignCustomerJourneyClientProperties properties)

Parameters

properties CampaignCustomerJourneyClientProperties

Initialized properties object.

Returns

Task<CampaignCustomerJourneyClientProperties>

RecalculateData(CancellationToken)

Starts recalculation for the current customer journey.

[PageCommand(Permission = "View")]
public Task<ICommandResponse<RecalculateDataCommandResult>> RecalculateData(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task<ICommandResponse<RecalculateDataCommandResult>>

ValidatePage()

Validates the page state prior invocation of the ConfigurePage() method.

public override Task<PageValidationResult> ValidatePage()

Returns

Task<PageValidationResult>