Show / Hide Table of Contents

Class MongoShortenedUrlRepository

Inheritance
object
BasicRepositoryBase<ShortenedUrl>
RepositoryBase<ShortenedUrl>
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>
MongoShortenedUrlRepository
Implements
IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IMongoDbRepository<ShortenedUrl, Guid>
IMongoDbRepository<ShortenedUrl>
IRepository<ShortenedUrl, Guid>
IRepository<ShortenedUrl>
IReadOnlyRepository<ShortenedUrl, Guid>
IReadOnlyRepository<ShortenedUrl>
IBasicRepository<ShortenedUrl, Guid>
IShortenedUrlRepository
IBasicRepository<ShortenedUrl, Guid>
IBasicRepository<ShortenedUrl>
IReadOnlyBasicRepository<ShortenedUrl, Guid>
IReadOnlyBasicRepository<ShortenedUrl>
IRepository
Inherited Members
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>.GetAsync(Guid, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>.FindAsync(Guid, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>.DeleteAsync(Guid, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>.ApplyDataFilters<TQueryable, TOtherEntity>(TQueryable)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>.CreateEntityFilterAsync(ShortenedUrl, bool, string)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>.CreateEntitiesFilterAsync(IEnumerable<ShortenedUrl>, bool)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>.RepositoryFiltererWithKey
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetCollectionAsync(CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetDatabaseAsync(CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetSessionHandleAsync(CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetDbContextAsync(CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.InsertAsync(ShortenedUrl, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.InsertManyAsync(IEnumerable<ShortenedUrl>, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.UpdateAsync(ShortenedUrl, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.UpdateManyAsync(IEnumerable<ShortenedUrl>, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.DeleteAsync(ShortenedUrl, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.DeleteManyAsync(IEnumerable<ShortenedUrl>, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetListAsync(bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetListAsync(Expression<Func<ShortenedUrl, bool>>, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetCountAsync(CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetPagedListAsync(int, int, string, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.DeleteAsync(Expression<Func<ShortenedUrl, bool>>, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.DeleteDirectAsync(Expression<Func<ShortenedUrl, bool>>, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetQueryable()
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetQueryableAsync()
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.FindAsync(Expression<Func<ShortenedUrl, bool>>, bool, CancellationToken)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetMongoQueryable()
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetMongoQueryableAsync(CancellationToken, AggregateOptions)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetMongoQueryableAsync<TOtherEntity>(CancellationToken, AggregateOptions)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GetAggregateAsync(CancellationToken, AggregateOptions)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.IsHardDeleted(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.CreateEntityFilterAsync(ShortenedUrl, bool, string)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.CreateEntitiesFilterAsync(IEnumerable<ShortenedUrl>, bool)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.ApplyAbpConceptsForAddedEntityAsync(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.TriggerEntityCreateEvents(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.TriggerEntityUpdateEvents(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.ApplyAbpConceptsForDeletedEntity(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.TriggerEntityDeleteEvents(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.CheckAndSetId(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.TrySetGuidId(IEntity<Guid>)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.SetCreationAuditProperties(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.SetModificationAuditProperties(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.SetDeletionAuditProperties(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.IncrementEntityVersionProperty(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.TriggerDomainEvents(object)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.SetNewConcurrencyStamp(ShortenedUrl)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.ThrowOptimisticConcurrencyException()
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.ApplyDataFilters<TQueryable, TOtherEntity>(TQueryable)
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.Collection
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.Database
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.SessionHandle
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.DbContext
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.DbContextProvider
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.LocalEventBus
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.DistributedEventBus
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.EntityChangeEventHelper
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.GuidGenerator
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.AuditPropertySetter
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.BulkOperationProvider
MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl>.RepositoryFilterer
RepositoryBase<ShortenedUrl>.WithDetails()
RepositoryBase<ShortenedUrl>.WithDetails(params Expression<Func<ShortenedUrl, object>>[])
RepositoryBase<ShortenedUrl>.WithDetailsAsync()
RepositoryBase<ShortenedUrl>.WithDetailsAsync(params Expression<Func<ShortenedUrl, object>>[])
RepositoryBase<ShortenedUrl>.GetQueryable()
RepositoryBase<ShortenedUrl>.GetQueryableAsync()
RepositoryBase<ShortenedUrl>.FindAsync(Expression<Func<ShortenedUrl, bool>>, bool, CancellationToken)
RepositoryBase<ShortenedUrl>.GetAsync(Expression<Func<ShortenedUrl, bool>>, bool, CancellationToken)
RepositoryBase<ShortenedUrl>.DeleteAsync(Expression<Func<ShortenedUrl, bool>>, bool, CancellationToken)
RepositoryBase<ShortenedUrl>.DeleteDirectAsync(Expression<Func<ShortenedUrl, bool>>, CancellationToken)
RepositoryBase<ShortenedUrl>.ApplyDataFilters<TQueryable>(TQueryable)
RepositoryBase<ShortenedUrl>.ApplyDataFilters<TQueryable, TOtherEntity>(TQueryable)
BasicRepositoryBase<ShortenedUrl>.InsertAsync(ShortenedUrl, bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.InsertManyAsync(IEnumerable<ShortenedUrl>, bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.SaveChangesAsync(CancellationToken)
BasicRepositoryBase<ShortenedUrl>.UpdateAsync(ShortenedUrl, bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.UpdateManyAsync(IEnumerable<ShortenedUrl>, bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.DeleteAsync(ShortenedUrl, bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.DeleteManyAsync(IEnumerable<ShortenedUrl>, bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.GetListAsync(bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.GetListAsync(Expression<Func<ShortenedUrl, bool>>, bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.GetCountAsync(CancellationToken)
BasicRepositoryBase<ShortenedUrl>.GetPagedListAsync(int, int, string, bool, CancellationToken)
BasicRepositoryBase<ShortenedUrl>.GetCancellationToken(CancellationToken)
BasicRepositoryBase<ShortenedUrl>.ShouldTrackingEntityChange()
BasicRepositoryBase<ShortenedUrl>.LazyServiceProvider
BasicRepositoryBase<ShortenedUrl>.ServiceProvider
BasicRepositoryBase<ShortenedUrl>.DataFilter
BasicRepositoryBase<ShortenedUrl>.CurrentTenant
BasicRepositoryBase<ShortenedUrl>.AsyncExecuter
BasicRepositoryBase<ShortenedUrl>.UnitOfWorkManager
BasicRepositoryBase<ShortenedUrl>.CancellationTokenProvider
BasicRepositoryBase<ShortenedUrl>.LoggerFactory
BasicRepositoryBase<ShortenedUrl>.Logger
BasicRepositoryBase<ShortenedUrl>.EntityChangeTrackingProvider
BasicRepositoryBase<ShortenedUrl>.IsChangeTrackingEnabled
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.UrlShorting
Assembly: Volo.CmsKit.Pro.MongoDB.dll
Syntax
public class MongoShortenedUrlRepository : MongoDbRepository<ICmsKitProMongoDbContext, ShortenedUrl, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IMongoDbRepository<ShortenedUrl, Guid>, IMongoDbRepository<ShortenedUrl>, IRepository<ShortenedUrl, Guid>, IRepository<ShortenedUrl>, IReadOnlyRepository<ShortenedUrl, Guid>, IReadOnlyRepository<ShortenedUrl>, IBasicRepository<ShortenedUrl, Guid>, IShortenedUrlRepository, IBasicRepository<ShortenedUrl, Guid>, IBasicRepository<ShortenedUrl>, IReadOnlyBasicRepository<ShortenedUrl, Guid>, IReadOnlyBasicRepository<ShortenedUrl>, IRepository

Constructors

MongoShortenedUrlRepository(IMongoDbContextProvider<ICmsKitProMongoDbContext>)

Declaration
public MongoShortenedUrlRepository(IMongoDbContextProvider<ICmsKitProMongoDbContext> dbContextProvider)
Parameters
Type Name Description
IMongoDbContextProvider<ICmsKitProMongoDbContext> dbContextProvider

Methods

FindBySourceUrlAsync(string, CancellationToken)

Declaration
public virtual Task<ShortenedUrl> FindBySourceUrlAsync(string sourceUrl, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sourceUrl
CancellationToken cancellationToken
Returns
Type Description
Task<ShortenedUrl>

GetAllRegexAsync(CancellationToken)

Declaration
public Task<List<ShortenedUrl>> GetAllRegexAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<List<ShortenedUrl>>

GetCountAsync(string, CancellationToken)

Declaration
public virtual Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<long>

GetListAsync(string, string, int, int, CancellationToken)

Declaration
public virtual Task<List<ShortenedUrl>> GetListAsync(string filter = null, string sorting = null, int skipCount = 0, int maxResultCount = 2147483647, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
string sorting
int skipCount
int maxResultCount
CancellationToken cancellationToken
Returns
Type Description
Task<List<ShortenedUrl>>

Implements

IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IMongoDbRepository<TEntity, TKey>
IMongoDbRepository<TEntity>
IRepository<TEntity, TKey>
IRepository<TEntity>
IReadOnlyRepository<TEntity, TKey>
IReadOnlyRepository<TEntity>
IBasicRepository<TEntity, TKey>
IShortenedUrlRepository
IBasicRepository<TEntity, TKey>
IBasicRepository<TEntity>
IReadOnlyBasicRepository<TEntity, TKey>
IReadOnlyBasicRepository<TEntity>
IRepository

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