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
-
objectCampaignCustomerJourney
- 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
customerJourneyInfoProviderIInfoProvider<CustomerJourneyInfo>campaignInfoProviderIInfoProvider<CampaignInfo>pageLinkGeneratorIPageLinkGeneratorapplicationPermissionEvaluatorIApplicationPermissionEvaluatorauthenticatedUserAccessorIAuthenticatedUserAccessorcommandProcessorIConditionParameterCommandProcessordateTimeNowServiceIDateTimeNowServiceloggerILogger<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
propertiesCampaignCustomerJourneyClientPropertiesInitialized properties object.
Returns
RecalculateData(CancellationToken)
Starts recalculation for the current customer journey.
[PageCommand(Permission = "View")]
public Task<ICommandResponse<RecalculateDataCommandResult>> RecalculateData(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationToken
Returns
- Task<ICommandResponse<RecalculateDataCommandResult>>
ValidatePage()
Validates the page state prior invocation of the ConfigurePage() method.
public override Task<PageValidationResult> ValidatePage()
Returns
- Task<PageValidationResult>