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
-
objectPage<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
commandProcessorIConditionParameterCommandProcessorpageLinkGeneratorIPageLinkGenerator
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
commandModelFormComponentCommandModelForm component command arguments.
cancellationTokenCancellationTokenThe 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
argsCustomerJourneyStagesCommandArgumentsCommand arguments containing start date and end date.
cancellationTokenCancellationTokenCancellation 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
argsRecalculationStatusCommandArgumentscancellationTokenCancellationToken
Returns
- Task<ICommandResponse<RecalculationStatusCommandResult>>