Show / Hide Table of Contents

Class RatingPublicAppService

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

Constructors

RatingPublicAppService(IRatingRepository, ICmsUserLookupService, RatingManager)

Declaration
public RatingPublicAppService(IRatingRepository ratingRepository, ICmsUserLookupService cmsUserLookupService, RatingManager ratingManager)
Parameters
Type Name Description
IRatingRepository ratingRepository
ICmsUserLookupService cmsUserLookupService
RatingManager ratingManager

Properties

CmsUserLookupService

Declaration
public ICmsUserLookupService CmsUserLookupService { get; }
Property Value
Type Description
ICmsUserLookupService

RatingManager

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

RatingRepository

Declaration
protected IRatingRepository RatingRepository { get; }
Property Value
Type Description
IRatingRepository

Methods

CreateAsync(string, string, CreateUpdateRatingInput)

Declaration
[Authorize]
public virtual Task<RatingDto> CreateAsync(string entityType, string entityId, CreateUpdateRatingInput input)
Parameters
Type Name Description
string entityType
string entityId
CreateUpdateRatingInput input
Returns
Type Description
Task<RatingDto>

DeleteAsync(string, string)

Declaration
[Authorize]
public virtual Task DeleteAsync(string entityType, string entityId)
Parameters
Type Name Description
string entityType
string entityId
Returns
Type Description
Task

GetGroupedStarCountsAsync(string, string)

Declaration
public virtual Task<List<RatingWithStarCountDto>> GetGroupedStarCountsAsync(string entityType, string entityId)
Parameters
Type Name Description
string entityType
string entityId
Returns
Type Description
Task<List<RatingWithStarCountDto>>

Implements

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