Ektron.Cms.Framework.Community.FavoriteManager

Favorite Manager

Properties
ApiMode Gets or sets the current API access mode. If set to Admin, the API runs with the permissions of an administrator.
ContentLanguage Gets or sets the current content language.
FavoriteManagerService returns an instance of the business objects favorite manager service.
InPreviewMode Gets or sets the current Preview Mode. Returns true if the site is in site preview mode.
RequestInformation Gets the current Request Information.
SitePath Gets the site path.
UserId Gets or sets the currently logged in user ID.
Method Description
FavoriteManager constructor
FavoriteManager(ApiAccessMode) constructor
Add(FavoriteItemData) Adds a new Favorite, with details from the supplied FavoriteItemData object.
Update(FavoriteItemData) Updates a Favorite, with details from the supplied FavoriteItemData object.
Delete(Int64,FavoriteType) Deletes an existing Favorite.
GetItem(Int64,FavoriteType) Gets a FavoriteItemData object by ID
GetList(FavoriteItemCriteria) Gets a list of FavoriteItemData by Criteria