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

Helper service for handling media tags.
Inheritance: ITagService
Datei anzeigen Open project: devbridge/BetterCMS

Public Methods

Method Description
DefaultTagService ( IUnitOfWork unitOfWork, ISecurityService securityService ) : System

Initializes a new instance of the DefaultTagService class.

GetMediaTagNames ( System mediaId ) : IList

Gets the media tag names.

SaveMediaTags ( Media media, IEnumerable tags, IList &newCreatedTags ) : void

Saves the media tags.

Private Methods

Method Description
UpdateModifiedInformation ( MediaTag mediaTag ) : void

Method Details

DefaultTagService() public method

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

GetMediaTagNames() public method

Gets the media tag names.
public GetMediaTagNames ( System mediaId ) : IList
mediaId System The media id.
return IList

SaveMediaTags() public method

Saves the media tags.
public SaveMediaTags ( Media media, IEnumerable tags, IList &newCreatedTags ) : void
media Media The media.
tags IEnumerable The tags.
newCreatedTags IList The new created tags.
return void