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
CurrencyCodes
Gets or sets the feed currency code
public List<string> CurrencyCodes { get; set; }
Property Value
Id
Gets or sets the Id of the feed
public int Id { get; set; }
Property Value
IndexQueryId
Gets or sets the id of index query used when source is index
public string IndexQueryId { get; set; }
Property Value
IsFolder
Gets or sets value indicating whether feed used as folder for groupping child feeds
public bool IsFolder { get; set; }
Property Value
LanguageIds
Gets or sets the feed language id.
public List<string> LanguageIds { get; set; }
Property Value
LoadVariantInfoOnVariants
[Obsolete("No longer used. Changed to be an option at provider settings")]
public bool LoadVariantInfoOnVariants { get; set; }
Property Value
Name
Gets or sets the name of the feed.
public string Name { get; set; }
Property Value
ParentId
Gets or sets the parent feed id in the feeds tree hierarchy.
public int ParentId { get; set; }
Property Value
Provider
Gets or sets the provider of the feed
public string Provider { get; set; }
Property Value
ProviderConfiguration
Gets or sets the configuration of the provider
public string ProviderConfiguration { get; set; }
Property Value
RawIndexQueryParameters
Gets or sets query parameters
public string RawIndexQueryParameters { get; set; }
Property Value
RawIndexQuerySorting
Gets or sets query sorting
public string RawIndexQuerySorting { get; set; }
Property Value
ShopIds
Gets or sets the feed shop ids
public List<string> ShopIds { get; set; }
Property Value
Source
Gets or sets the feed source.
public FeedSourceType Source { get; set; }
Property Value
Time
Gets or sets the date and time, to get the prices from a specific period
public DateTime? Time { get; set; }
Property Value
UserId
Gets or sets user id
public int UserId { get; set; }
Property Value
Methods
Clone()
Clones the feed.
public object Clone()
Returns
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.