Table of Contents

Class Feed

Namespace
Dynamicweb.Ecommerce.Feeds
Assembly
Dynamicweb.Ecommerce.dll
The class Feed represents product feed.
[Serializable]
public class Feed : ICloneable, IPermissionLookup, IPermissionControlled
Inheritance
Feed
Implements
Inherited Members

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 groupping 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>

LoadVariantInfoOnVariants

[Obsolete("No longer used. Changed to be an option at provider settings")]
public bool LoadVariantInfoOnVariants { get; set; }

Property Value

bool

Name

Gets or sets the name of the feed.
public 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

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.

GetByKey(string)

Can be used to look up a concrete object based upon the key.
public IPermissionControlled GetByKey(string key)

Parameters

key string
Identifier

Returns

IPermissionControlled
permissionControlled

GetParent()

Gets the parent of this object, for the purposes of inherited permissions.
public IPermissionControlled GetParent()

Returns

IPermissionControlled
parent

Remarks

Return null, if no parent permissions exist

GetPermissionIdentifier()

Combination of values that form a unique identifier.
public UnifiedPermissionIdentifier GetPermissionIdentifier()

Returns

UnifiedPermissionIdentifier
Unique identifier.
To top