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
    Umbraco.New.Cms.Core.Models.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
    Umbraco.New.Cms.Core.Models.PagedModel<RelationItemModel>
    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
    Umbraco.New.Cms.Core.Models.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)
      • GetPagedItemsWithRelations(Int32[], Int64, Int32, Boolean)
      • GetPagedItemsWithRelations(Int32[], Int64, Int64, Boolean)
      • GetPagedRelationsForItem(Int32, Int64, Int32, Boolean)
      • GetPagedRelationsForItem(Int32, Int64, Int64, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX