View Source
  Class TrackedReferencesService
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public class TrackedReferencesService : ITrackedReferencesService
   
  Constructors
  
  
    View Source
  
  TrackedReferencesService(ITrackedReferencesRepository, ICoreScopeProvider)
  
  
  Declaration
  
    public TrackedReferencesService(ITrackedReferencesRepository trackedReferencesRepository, ICoreScopeProvider scopeProvider)
   
  Parameters
  
  
    View Source
  
  TrackedReferencesService(ITrackedReferencesRepository, ICoreScopeProvider, IEntityService)
  
  
  Declaration
  
    public TrackedReferencesService(ITrackedReferencesRepository trackedReferencesRepository, ICoreScopeProvider scopeProvider, IEntityService entityService)
   
  Parameters
  
  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
  
  
    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
  
  
    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
  
  
    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
  
  
    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
  
  
    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
  
  
    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
  
  
    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
  
  
    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