You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Community Namespace > Classes > Favorites Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Favorites Class

The Favorites class allows you to work with a user's favorites. Favorites are content items that a user has designated as their favorite content. From this class, you can add content to a user's favorites (AddContentFavorite), remove content from a user's favorites (DeleteContentFavorite) or get a list of favorites for a given user (GetContentFavorites).

C#
public class Favorites : Ektron.Cms.API.Common;
Visual Basic
Public Class Favorites
Inherits Ektron.Cms.API.Common

Favorites.vb

Name 
Description 
The methods of the Favorites class are listed here. 
 
Name 
Description 
 
This is the overview for the AddContentFavorite method overload. 
 
Adds a URI to a specified user's favorites.  
 
Deletes a piece of content form a user's favorites.  
 
Delete a URI from a user's favorites.  
 
This is the overview for the GetAllFavoriteLink method overload. 
 
This is the overview for the GetContentFavorites method overload. 
 
This method checks to see if a piece of the URI is already in a user's favorites. If it is, it returns the ID.  
 
Retrieve the favorite by providing the favorite's ID.  
 
Returns user's Favorites taxonomy directory structure.  
 
Checks if to see if a piece of content is already in a user's favorites.  
 
Moves a content favorite to a new favorites directory.  
 
Moves a favorite from one favorite directory to another favorite directory.  
 
Update an existing URI favorite by providing the favorite's ID, user's ID, URI name, URI description and actual URI.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!