Class FeedService
- Namespace
- Dynamicweb.Ecommerce.Feeds
- Assembly
- Dynamicweb.Ecommerce.dll
The FeedService class providing methods for querying and saving The Feed Aggregate to and from persistence.
- Inheritance
-
Feed
Service
- Implements
- Inherited Members
Methods
ClearCache()
Clears the cache.
ClearCache(IEnumerable<int>)
Resets the specified keys to the default value for objects stored in the object cache
Parameters
keys
IEnumerable<int>Keys to reset
ClearCache(int)
Resets the specified key to the default value for objects stored in the object cache
Parameters
key
intKey to reset
Delete(int)
Deletes the feed.
Parameters
feedId
intThe feed ID.
GetChildFeeds(int)
Gets all feeds in solution.
Parameters
feedId
int
Returns
- IEnumerable<Feed>
The collection of the Feed.
GetFeed(int)
Gets the feed.
Parameters
feedId
intThe feed ID.
Returns
GetFeeds()
Gets all feeds in solution.
Returns
- IEnumerable<Feed>
The feeds collection excluding folder feedsIs
Folder .
GetTopLevelFeeds()
Gets all feeds in solution.
Returns
- IEnumerable<Feed>
The collection of the Feed.
Save(Feed)
Saves the feed.
Parameters
feed
FeedThe feed.