View Source
Interface INuCacheContentRepository
Assembly: Umbraco.PublishedCache.NuCache.dll
Syntax
public interface INuCacheContentRepository
Methods
View Source
DeleteContentItem(IContentBase)
Declaration
void DeleteContentItem(IContentBase item)
Parameters
View Source
GetAllContentSources()
Declaration
IEnumerable<ContentNodeKit> GetAllContentSources()
Returns
View Source
GetAllMediaSources()
Declaration
IEnumerable<ContentNodeKit> GetAllMediaSources()
Returns
View Source
GetBranchContentSources(Int32)
Declaration
IEnumerable<ContentNodeKit> GetBranchContentSources(int id)
Parameters
| Type |
Name |
Description |
| System.Int32 |
id |
|
Returns
View Source
GetBranchMediaSources(Int32)
Declaration
IEnumerable<ContentNodeKit> GetBranchMediaSources(int id)
Parameters
| Type |
Name |
Description |
| System.Int32 |
id |
|
Returns
View Source
GetContentSource(Int32)
Declaration
ContentNodeKit GetContentSource(int id)
Parameters
| Type |
Name |
Description |
| System.Int32 |
id |
|
Returns
View Source
GetMediaSource(Int32)
Declaration
ContentNodeKit GetMediaSource(int id)
Parameters
| Type |
Name |
Description |
| System.Int32 |
id |
|
Returns
View Source
GetTypeContentSources(IEnumerable<Int32>)
Declaration
IEnumerable<ContentNodeKit> GetTypeContentSources(IEnumerable<int> ids)
Parameters
| Type |
Name |
Description |
| IEnumerable<System.Int32> |
ids |
|
Returns
View Source
GetTypeMediaSources(IEnumerable<Int32>)
Declaration
IEnumerable<ContentNodeKit> GetTypeMediaSources(IEnumerable<int> ids)
Parameters
| Type |
Name |
Description |
| IEnumerable<System.Int32> |
ids |
|
Returns
View Source
Rebuild(IReadOnlyCollection<Int32>, IReadOnlyCollection<Int32>, IReadOnlyCollection<Int32>)
Rebuilds the caches for content, media and/or members based on the content type ids specified
Declaration
void Rebuild(IReadOnlyCollection<int> contentTypeIds = null, IReadOnlyCollection<int> mediaTypeIds = null, IReadOnlyCollection<int> memberTypeIds = null)
Parameters
| Type |
Name |
Description |
| IReadOnlyCollection<System.Int32> |
contentTypeIds |
If not null will process content for the matching content types, if empty will process all content
|
| IReadOnlyCollection<System.Int32> |
mediaTypeIds |
If not null will process content for the matching media types, if empty will process all media
|
| IReadOnlyCollection<System.Int32> |
memberTypeIds |
If not null will process content for the matching members types, if empty will process all members
|
View Source
RefreshContent(IContent)
Refreshes the nucache database row for the IContent
Declaration
void RefreshContent(IContent content)
Parameters
View Source
RefreshMedia(IMedia)
Refreshes the nucache database row for the IMedia
Declaration
void RefreshMedia(IMedia content)
Parameters
| Type |
Name |
Description |
| IMedia |
content |
|
View Source
RefreshMember(IMember)
Refreshes the nucache database row for the IMember
Declaration
void RefreshMember(IMember content)
Parameters
| Type |
Name |
Description |
| IMember |
content |
|
View Source
VerifyContentDbCache()
Declaration
bool VerifyContentDbCache()
Returns
| Type |
Description |
| System.Boolean |
|
View Source
VerifyMediaDbCache()
Declaration
bool VerifyMediaDbCache()
Returns
| Type |
Description |
| System.Boolean |
|
View Source
VerifyMemberDbCache()
Declaration
bool VerifyMemberDbCache()
Returns
| Type |
Description |
| System.Boolean |
|