• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class TrackedReferencesService

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public class TrackedReferencesService : ITrackedReferencesService

    Constructors

    View Source

    TrackedReferencesService(ITrackedReferencesRepository, ICoreScopeProvider)

    Declaration
    public TrackedReferencesService(ITrackedReferencesRepository trackedReferencesRepository, ICoreScopeProvider scopeProvider)
    Parameters
    Type Name Description
    ITrackedReferencesRepository trackedReferencesRepository
    ICoreScopeProvider scopeProvider
    View Source

    TrackedReferencesService(ITrackedReferencesRepository, ICoreScopeProvider, IEntityService)

    Declaration
    public TrackedReferencesService(ITrackedReferencesRepository trackedReferencesRepository, ICoreScopeProvider scopeProvider, IEntityService entityService)
    Parameters
    Type Name Description
    ITrackedReferencesRepository trackedReferencesRepository
    ICoreScopeProvider scopeProvider
    IEntityService entityService

    Methods

    View Source

    GetPagedDescendantsInReferences(Int32, Int64, Int32, Boolean)

    Gets a paged result of the descending items that have any references, given a parent id.

    Declaration
    public PagedResult<RelationItem> GetPagedDescendantsInReferences(int parentId, long pageIndex, int pageSize, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    System.Int32 parentId
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    PagedResult<RelationItem>
    View Source

    GetPagedDescendantsInReferences(Int32, Int64, Int64, Boolean)

    Declaration
    public PagedModel<RelationItemModel> GetPagedDescendantsInReferences(int parentId, long skip, long take, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    System.Int32 parentId
    System.Int64 skip
    System.Int64 take
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    PagedModel<RelationItemModel>
    View Source

    GetPagedDescendantsInReferencesAsync(Guid, Int64, Int64, Boolean)

    Declaration
    public async Task<PagedModel<RelationItemModel>> GetPagedDescendantsInReferencesAsync(Guid parentKey, long skip, long take, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    Guid parentKey
    System.Int64 skip
    System.Int64 take
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    Task<PagedModel<RelationItemModel>>
    View Source

    GetPagedItemsWithRelations(Int32[], Int64, Int32, Boolean)

    Gets a paged result of items used in any kind of relation from selected integer ids.

    Declaration
    public PagedResult<RelationItem> GetPagedItemsWithRelations(int[] ids, long pageIndex, int pageSize, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    System.Int32[] ids
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    PagedResult<RelationItem>
    View Source

    GetPagedItemsWithRelations(Int32[], Int64, Int64, Boolean)

    Declaration
    public PagedModel<RelationItemModel> GetPagedItemsWithRelations(int[] ids, long skip, long take, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    System.Int32[] ids
    System.Int64 skip
    System.Int64 take
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    PagedModel<RelationItemModel>
    View Source

    GetPagedItemsWithRelationsAsync(ISet<Guid>, Int64, Int64, Boolean)

    Declaration
    public async Task<PagedModel<RelationItemModel>> GetPagedItemsWithRelationsAsync(ISet<Guid> keys, long skip, long take, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    ISet<Guid> keys
    System.Int64 skip
    System.Int64 take
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    Task<PagedModel<RelationItemModel>>
    View Source

    GetPagedKeysWithDependentReferencesAsync(ISet<Guid>, Guid, Int64, Int64)

    Declaration
    public async Task<PagedModel<Guid>> GetPagedKeysWithDependentReferencesAsync(ISet<Guid> keys, Guid objectTypeId, long skip, long take)
    Parameters
    Type Name Description
    ISet<Guid> keys
    Guid objectTypeId
    System.Int64 skip
    System.Int64 take
    Returns
    Type Description
    Task<PagedModel<Guid>>
    View Source

    GetPagedRelationsForItem(Int32, Int64, Int32, Boolean)

    Gets a paged result of items which are in relation with the current item. Basically, shows the items which depend on the current item.

    Declaration
    public PagedResult<RelationItem> GetPagedRelationsForItem(int id, long pageIndex, int pageSize, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    System.Int32 id
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    PagedResult<RelationItem>
    View Source

    GetPagedRelationsForItem(Int32, Int64, Int64, Boolean)

    Declaration
    public PagedModel<RelationItemModel> GetPagedRelationsForItem(int id, long skip, long take, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    System.Int32 id
    System.Int64 skip
    System.Int64 take
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    PagedModel<RelationItemModel>
    View Source

    GetPagedRelationsForItemAsync(Guid, Int64, Int64, Boolean)

    Declaration
    public async Task<PagedModel<RelationItemModel>> GetPagedRelationsForItemAsync(Guid key, long skip, long take, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    Guid key
    System.Int64 skip
    System.Int64 take
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    Task<PagedModel<RelationItemModel>>
    View Source

    GetPagedRelationsForRecycleBinAsync(UmbracoObjectTypes, Int64, Int64, Boolean)

    Declaration
    public async Task<PagedModel<RelationItemModel>> GetPagedRelationsForRecycleBinAsync(UmbracoObjectTypes objectType, long skip, long take, bool filterMustBeIsDependency)
    Parameters
    Type Name Description
    UmbracoObjectTypes objectType
    System.Int64 skip
    System.Int64 take
    System.Boolean filterMustBeIsDependency
    Returns
    Type Description
    Task<PagedModel<RelationItemModel>>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TrackedReferencesService(ITrackedReferencesRepository, ICoreScopeProvider)
      • TrackedReferencesService(ITrackedReferencesRepository, ICoreScopeProvider, IEntityService)
    • Methods
      • GetPagedDescendantsInReferences(Int32, Int64, Int32, Boolean)
      • GetPagedDescendantsInReferences(Int32, Int64, Int64, Boolean)
      • GetPagedDescendantsInReferencesAsync(Guid, Int64, Int64, Boolean)
      • GetPagedItemsWithRelations(Int32[], Int64, Int32, Boolean)
      • GetPagedItemsWithRelations(Int32[], Int64, Int64, Boolean)
      • GetPagedItemsWithRelationsAsync(ISet<Guid>, Int64, Int64, Boolean)
      • GetPagedKeysWithDependentReferencesAsync(ISet<Guid>, Guid, Int64, Int64)
      • GetPagedRelationsForItem(Int32, Int64, Int32, Boolean)
      • GetPagedRelationsForItem(Int32, Int64, Int64, Boolean)
      • GetPagedRelationsForItemAsync(Guid, Int64, Int64, Boolean)
      • GetPagedRelationsForRecycleBinAsync(UmbracoObjectTypes, Int64, Int64, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX