Table of Contents

Class Feed

Namespace
Dynamicweb.Ecommerce.Feeds
Assembly
Dynamicweb.Ecommerce.dll

The class Feed represents product feed.

[Serializable]
[PermissionEntity("Feed")]
public class Feed : ICloneable, IPermissionEntity, IPermissionEntityLookup
Inheritance
Feed
Implements
Inherited Members
Extension Methods

Constructors

Feed()

Initializes a new instance of the class.

public Feed()

Properties

ChannelId

Gets or sets the channel ID used when source is channel.

public string? ChannelId { get; set; }

Property Value

string

CurrencyCodes

Gets or sets the feed currency code

public List<string> CurrencyCodes { get; set; }

Property Value

List<string>

Id

Gets or sets the ID of the feed

public int Id { get; set; }

Property Value

int

IndexQueryId

Gets or sets the id of index query used when source is index

public string? IndexQueryId { get; set; }

Property Value

string

IsFolder

Gets or sets value indicating whether feed used as folder for grouping child feeds

public bool IsFolder { get; set; }

Property Value

bool

LanguageIds

Gets or sets the feed language id.

public List<string> LanguageIds { get; set; }

Property Value

List<string>

Name

Gets or sets the name of the feed.

public required string Name { get; set; }

Property Value

string

ParentId

Gets or sets the parent feed id in the feeds tree hierarchy.

public int ParentId { get; set; }

Property Value

int

PermissionName

The permission entity identifier name supported by this implementation of IPermissionEntityLookup.

public string PermissionName { get; }

Property Value

string
See Also

Provider

Gets or sets the provider of the feed

public string? Provider { get; set; }

Property Value

string

ProviderConfiguration

Gets or sets the configuration of the provider

public string? ProviderConfiguration { get; set; }

Property Value

string

RawIndexQueryParameters

Gets or sets query parameters

public string? RawIndexQueryParameters { get; set; }

Property Value

string

RawIndexQuerySorting

Gets or sets query sorting

public string? RawIndexQuerySorting { get; set; }

Property Value

string

ShopIds

Gets or sets the feed shop ids

public List<string> ShopIds { get; set; }

Property Value

List<string>

Source

Gets or sets the feed source.

public FeedSourceType Source { get; set; }

Property Value

FeedSourceType

Time

Gets or sets the date and time, to get the prices from a specific period

public DateTime? Time { get; set; }

Property Value

DateTime?

UserId

Gets or sets user id

public int UserId { get; set; }

Property Value

int

Methods

Clone()

Clones the feed.

public object Clone()

Returns

object

A new instance of the Feed.

GetPermissionEntityByKey(string)

Attempts to resolve a concrete instance of IPermissionEntity based on a key.

public IPermissionEntity? GetPermissionEntityByKey(string key)

Parameters

key string

The key used for looking up an instance of IPermissionEntity

Returns

IPermissionEntity

An instance of IPermissionEntity, if found; otherwise, null.

See Also

GetPermissionKey()

Gets the unique key for this permission entity.

public string GetPermissionKey()

Returns

string

Permission key

GetPermissionParents()

Gets the parents of this permission entity, for the purposes of inherited permissions.

public IEnumerable<IPermissionEntity> GetPermissionParents()

Returns

IEnumerable<IPermissionEntity>

A sequence of direct parents to this entity

To top