Search Results for

    Show / Hide Table of Contents

    Class TrackedReferencesService

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

    Constructors

    TrackedReferencesService(ITrackedReferencesRepository, IScopeProvider, IEntityService)

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

    Methods

    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>

    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>

    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>
    In This Article
    • Constructors
      • TrackedReferencesService(ITrackedReferencesRepository, IScopeProvider, IEntityService)
    • Methods
      • GetPagedDescendantsInReferences(Int32, Int64, Int32, Boolean)
      • GetPagedItemsWithRelations(Int32[], Int64, Int32, Boolean)
      • GetPagedRelationsForItem(Int32, Int64, Int32, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX