Show / Hide Table of Contents

Class TagAdminAppService

Inheritance
object
ApplicationService
CmsKitAppServiceBase
TagAdminAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
ITagAdminAppService
ICrudAppService<TagDto, Guid, TagGetListInput, TagCreateDto, TagUpdateDto>
ICrudAppService<TagDto, TagDto, Guid, TagGetListInput, TagCreateDto, TagUpdateDto>
IReadOnlyAppService<TagDto, TagDto, Guid, TagGetListInput>
ICreateUpdateAppService<TagDto, Guid, TagCreateDto, TagUpdateDto>
ICreateAppService<TagDto, TagCreateDto>
IUpdateAppService<TagDto, Guid, TagUpdateDto>
IDeleteAppService<Guid>
IApplicationService
IRemoteService
Inherited Members
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Admin.Tags
Assembly: Volo.CmsKit.Admin.Application.dll
Syntax
[RequiresFeature(new string[] { "CmsKit.TagEnable" })]
[Authorize("CmsKit.Tags")]
[RequiresGlobalFeature(typeof(TagsFeature))]
public class TagAdminAppService : CmsKitAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, ITagAdminAppService, ICrudAppService<TagDto, Guid, TagGetListInput, TagCreateDto, TagUpdateDto>, ICrudAppService<TagDto, TagDto, Guid, TagGetListInput, TagCreateDto, TagUpdateDto>, IReadOnlyAppService<TagDto, TagDto, Guid, TagGetListInput>, ICreateUpdateAppService<TagDto, Guid, TagCreateDto, TagUpdateDto>, ICreateAppService<TagDto, TagCreateDto>, IUpdateAppService<TagDto, Guid, TagUpdateDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService

Constructors

TagAdminAppService(ITagRepository, TagManager, ITagDefinitionStore, IStringLocalizerFactory)

Declaration
public TagAdminAppService(ITagRepository repository, TagManager tagManager, ITagDefinitionStore tagDefinitionStore, IStringLocalizerFactory stringLocalizerFactory)
Parameters
Type Name Description
ITagRepository repository
TagManager tagManager
ITagDefinitionStore tagDefinitionStore
IStringLocalizerFactory stringLocalizerFactory

Properties

Repository

Declaration
protected ITagRepository Repository { get; }
Property Value
Type Description
ITagRepository

StringLocalizerFactory

Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Type Description
IStringLocalizerFactory

TagDefinitionStore

Declaration
protected ITagDefinitionStore TagDefinitionStore { get; }
Property Value
Type Description
ITagDefinitionStore

TagManager

Declaration
protected TagManager TagManager { get; }
Property Value
Type Description
TagManager

Methods

CreateAsync(TagCreateDto)

Declaration
[Authorize("CmsKit.Tags.Create")]
public virtual Task<TagDto> CreateAsync(TagCreateDto input)
Parameters
Type Name Description
TagCreateDto input
Returns
Type Description
Task<TagDto>

DeleteAsync(Guid)

Declaration
[Authorize("CmsKit.Tags.Delete")]
public virtual Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAsync(Guid)

Declaration
[Authorize("CmsKit.Tags")]
public virtual Task<TagDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<TagDto>

GetListAsync(TagGetListInput)

Declaration
[Authorize("CmsKit.Tags")]
public virtual Task<PagedResultDto<TagDto>> GetListAsync(TagGetListInput input)
Parameters
Type Name Description
TagGetListInput input
Returns
Type Description
Task<PagedResultDto<TagDto>>

GetTagDefinitionsAsync()

Declaration
[Authorize("CmsKit.Tags")]
public virtual Task<List<TagDefinitionDto>> GetTagDefinitionsAsync()
Returns
Type Description
Task<List<TagDefinitionDto>>

UpdateAsync(Guid, TagUpdateDto)

Declaration
[Authorize("CmsKit.Tags.Update")]
public virtual Task<TagDto> UpdateAsync(Guid id, TagUpdateDto input)
Parameters
Type Name Description
Guid id
TagUpdateDto input
Returns
Type Description
Task<TagDto>

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
ITagAdminAppService
ICrudAppService<TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
ICrudAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
IReadOnlyAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput>
ICreateUpdateAppService<TGetOutputDto, TKey, TCreateUpdateInput, TUpdateInput>
ICreateAppService<TGetOutputDto, TCreateInput>
IUpdateAppService<TGetOutputDto, TKey, TUpdateInput>
IDeleteAppService<TKey>
IApplicationService
IRemoteService

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform