Table of Contents

Class CustomerJourneyPageBase<TProperties>

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

Base class for pages that display customer journey data with recalculation and stage filtering support.

public abstract class CustomerJourneyPageBase<TProperties> : Page<TProperties>, IPage where TProperties : TemplateClientProperties, new()

Type Parameters

TProperties
Inheritance
object
Page<TProperties>
CustomerJourneyPageBase<TProperties>
Implements
Derived
Inherited Members
Extension Methods

Constructors

CustomerJourneyPageBase(IConditionParameterCommandProcessor, IPageLinkGenerator)

Initializes a new instance of the CustomerJourneyPageBase<TProperties> class.

protected CustomerJourneyPageBase(IConditionParameterCommandProcessor commandProcessor, IPageLinkGenerator pageLinkGenerator)

Parameters

commandProcessor IConditionParameterCommandProcessor
pageLinkGenerator IPageLinkGenerator

Properties

CustomerJourneyId

ID of the customer journey.

public abstract int CustomerJourneyId { get; set; }

Property Value

int

Methods

ComponentCommand(FormComponentCommandModel, CancellationToken)

Handles the form component command invocation.

[PageCommand]
public Task<object> ComponentCommand(FormComponentCommandModel commandModel, CancellationToken cancellationToken)

Parameters

commandModel FormComponentCommandModel

Form component command arguments.

cancellationToken CancellationToken

The cancellation instruction.

Returns

Task<object>

Returns the form component command result.

GetCustomerJourneyStages(CustomerJourneyStagesCommandArguments, CancellationToken)

Retrieves customer journey stages for the specified date range.

[PageCommand(Permission = "View")]
public Task<ICommandResponse<GetCustomerJourneyStagesCommandResult>> GetCustomerJourneyStages(CustomerJourneyStagesCommandArguments args, CancellationToken cancellationToken)

Parameters

args CustomerJourneyStagesCommandArguments

Command arguments containing start date and end date.

cancellationToken CancellationToken

Cancellation instruction.

Returns

Task<ICommandResponse<GetCustomerJourneyStagesCommandResult>>

RecalculationStatusCheck(RecalculationStatusCommandArguments, CancellationToken)

Retrieves recalculation status of the current customer journey.

[PageCommand(Permission = "View")]
public Task<ICommandResponse<RecalculationStatusCommandResult>> RecalculationStatusCheck(RecalculationStatusCommandArguments args, CancellationToken cancellationToken)

Parameters

args RecalculationStatusCommandArguments
cancellationToken CancellationToken

Returns

Task<ICommandResponse<RecalculationStatusCommandResult>>