Show / Hide Table of Contents

Class UrlShortingAdminAppService

Inheritance
object
ApplicationService
CmsKitProAdminAppService
UrlShortingAdminAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IUrlShortingAdminAppService
ICrudAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput, CreateShortenedUrlDto, UpdateShortenedUrlDto>
IReadOnlyAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput>
ICreateUpdateAppService<ShortenedUrlDto, Guid, CreateShortenedUrlDto, UpdateShortenedUrlDto>
ICreateAppService<ShortenedUrlDto, CreateShortenedUrlDto>
IUpdateAppService<ShortenedUrlDto, Guid, UpdateShortenedUrlDto>
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.StringLocalizerFactory
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.UrlShorting
Assembly: Volo.CmsKit.Pro.Admin.Application.dll
Syntax
[RequiresFeature(new string[] { "CmsKitPro.UrlShortingEnable" })]
[RequiresGlobalFeature("CmsKitPro.UrlShorting")]
[Authorize("CmsKit.UrlShorting")]
public class UrlShortingAdminAppService : CmsKitProAdminAppService, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IUrlShortingAdminAppService, ICrudAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput, CreateShortenedUrlDto, UpdateShortenedUrlDto>, IReadOnlyAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput>, ICreateUpdateAppService<ShortenedUrlDto, Guid, CreateShortenedUrlDto, UpdateShortenedUrlDto>, ICreateAppService<ShortenedUrlDto, CreateShortenedUrlDto>, IUpdateAppService<ShortenedUrlDto, Guid, UpdateShortenedUrlDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService

Constructors

UrlShortingAdminAppService(IShortenedUrlRepository)

Declaration
public UrlShortingAdminAppService(IShortenedUrlRepository shortenedUrlRepository)
Parameters
Type Name Description
IShortenedUrlRepository shortenedUrlRepository

Methods

CreateAsync(CreateShortenedUrlDto)

Declaration
[Authorize("CmsKit.UrlShorting.Create")]
public virtual Task<ShortenedUrlDto> CreateAsync(CreateShortenedUrlDto input)
Parameters
Type Name Description
CreateShortenedUrlDto input
Returns
Type Description
Task<ShortenedUrlDto>

DeleteAsync(Guid)

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

GetAsync(Guid)

Declaration
public virtual Task<ShortenedUrlDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<ShortenedUrlDto>

GetListAsync(GetShortenedUrlListInput)

Declaration
public virtual Task<PagedResultDto<ShortenedUrlDto>> GetListAsync(GetShortenedUrlListInput input)
Parameters
Type Name Description
GetShortenedUrlListInput input
Returns
Type Description
Task<PagedResultDto<ShortenedUrlDto>>

UpdateAsync(Guid, UpdateShortenedUrlDto)

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

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IUrlShortingAdminAppService
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