Show / Hide Table of Contents

Class PagePublicAppService

Inheritance
object
ApplicationService
CmsKitAppServiceBase
CmsKitPublicAppServiceBase
PagePublicAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IPagePublicAppService
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.Public.Pages
Assembly: Volo.CmsKit.Public.Application.dll
Syntax
[RequiresFeature(new string[] { "CmsKit.PageEnable" })]
[RequiresGlobalFeature(typeof(PagesFeature))]
public class PagePublicAppService : CmsKitPublicAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IPagePublicAppService, IApplicationService, IRemoteService

Constructors

PagePublicAppService(IPageRepository, PageManager, IDistributedCache<PageCacheItem>)

Declaration
public PagePublicAppService(IPageRepository pageRepository, PageManager pageManager, IDistributedCache<PageCacheItem> pageCache)
Parameters
Type Name Description
IPageRepository pageRepository
PageManager pageManager
IDistributedCache<PageCacheItem> pageCache

Properties

PageCache

Declaration
protected IDistributedCache<PageCacheItem> PageCache { get; }
Property Value
Type Description
IDistributedCache<PageCacheItem>

PageManager

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

PageRepository

Declaration
protected IPageRepository PageRepository { get; }
Property Value
Type Description
IPageRepository

Methods

DoesSlugExistAsync(string)

Declaration
public virtual Task<bool> DoesSlugExistAsync(string slug)
Parameters
Type Name Description
string slug
Returns
Type Description
Task<bool>

FindBySlugAsync(string)

Declaration
public virtual Task<PageDto> FindBySlugAsync(string slug)
Parameters
Type Name Description
string slug
Returns
Type Description
Task<PageDto>

FindDefaultHomePageAsync()

Declaration
public virtual Task<PageDto> FindDefaultHomePageAsync()
Returns
Type Description
Task<PageDto>

Implements

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