C# Class BetterCms.Module.Pages.Services.DefaultTagService

Helper service for handling page tags
Inheritance: ITagService
Afficher le fichier Open project: devbridge/BetterCMS

Méthodes publiques

Méthode Description
DefaultTagService ( IUnitOfWork unitOfWork, IRepository repository, ISecurityService securityService ) : System

Initializes a new instance of the DefaultTagService class.

GetPageTagNames ( System.Guid pageId ) : IEnumerable

Gets the future query for the page tag names.

GetSitemapTagNames ( System.Guid sitemapId ) : IEnumerable

Gets the sitemap tag names.

SaveMediaTags ( Media media, IList tags, IList &newTags ) : void

Saves the media tags.

SavePageTags ( BetterCms.Module.Pages.Models.PageProperties page, IList tags, IList &newCreatedTags ) : void

Saves the page tags.

SaveTags ( Sitemap sitemap, IList tags, IList &newCreatedTags ) : void

Saves the tags.

Private Methods

Méthode Description
UpdateModifiedInformation ( Entity entity ) : void
UpdateModifiedInformation ( MediaTag mediaTag ) : void
UpdateModifiedInformation ( PageTag mediaTag ) : void
UpdateModifiedInformation ( SitemapTag mediaTag ) : void

Method Details

DefaultTagService() public méthode

Initializes a new instance of the DefaultTagService class.
public DefaultTagService ( IUnitOfWork unitOfWork, IRepository repository, ISecurityService securityService ) : System
unitOfWork IUnitOfWork The unit of work.
repository IRepository The repository.
securityService ISecurityService Security service get information about authorization.
Résultat System

GetPageTagNames() public méthode

Gets the future query for the page tag names.
public GetPageTagNames ( System.Guid pageId ) : IEnumerable
pageId System.Guid The page id.
Résultat IEnumerable

GetSitemapTagNames() public méthode

Gets the sitemap tag names.
public GetSitemapTagNames ( System.Guid sitemapId ) : IEnumerable
sitemapId System.Guid The sitemap identifier.
Résultat IEnumerable

SaveMediaTags() public méthode

Saves the media tags.
public SaveMediaTags ( Media media, IList tags, IList &newTags ) : void
media Media The media.
tags IList The tags.
newTags IList The new tags.
Résultat void

SavePageTags() public méthode

Saves the page tags.
public SavePageTags ( BetterCms.Module.Pages.Models.PageProperties page, IList tags, IList &newCreatedTags ) : void
page BetterCms.Module.Pages.Models.PageProperties The page.
tags IList The tags.
newCreatedTags IList The new created tags.
Résultat void

SaveTags() public méthode

Saves the tags.
public SaveTags ( Sitemap sitemap, IList tags, IList &newCreatedTags ) : void
sitemap Sitemap The sitemap.
tags IList The tags.
newCreatedTags IList The new created tags.
Résultat void