Class DefaultParentRestoreRepository
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Default implementation of ParentRestore repository, save, delete and get old parent info from and to DDS
Inheritance
Implements
Inherited Members
Namespace: EPiServer.DataAbstraction.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration(ServiceType = typeof(IParentRestoreRepository))]
public class DefaultParentRestoreRepository : IParentRestoreRepository
Constructors
DefaultParentRestoreRepository()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the DefaultParentRestoreRepository class.
Declaration
public DefaultParentRestoreRepository()
DefaultParentRestoreRepository(DynamicDataStoreFactory)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the DefaultParentRestoreRepository class.
Declaration
public DefaultParentRestoreRepository(DynamicDataStoreFactory storeFactory)
Parameters
Type | Name | Description |
---|---|---|
DynamicDataStoreFactory | storeFactory | The store factory. |
Properties
StoreFactory
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the store factory.
Declaration
protected virtual DynamicDataStoreFactory StoreFactory { get; }
Property Value
Type | Description |
---|---|
DynamicDataStoreFactory |
StoreName
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the name of the store.
Declaration
protected virtual string StoreName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the store. |
Methods
DeleteParentLink(ContentReference)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Deletes the parent link.
Declaration
public virtual ContentReference DeleteParentLink(ContentReference sourceLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | sourceLink | The source link. |
Returns
Type | Description |
---|---|
ContentReference |
EnsureStore()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Ensures the store.
Declaration
protected virtual void EnsureStore()
Find(ContentReference)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Finds the specified source link.
Declaration
protected virtual ParentRestoreEntity Find(ContentReference sourceLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | sourceLink | The source link. |
Returns
Type | Description |
---|---|
ParentRestoreEntity |
GetParentLink(ContentReference)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the parent link.
Declaration
public virtual ContentReference GetParentLink(ContentReference sourceLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | sourceLink | The source link. |
Returns
Type | Description |
---|---|
ContentReference |
SaveParentLink(ContentReference, ContentReference)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Saves the parent link.
Declaration
public virtual void SaveParentLink(ContentReference sourceLink, ContentReference parentLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | sourceLink | The source link. |
ContentReference | parentLink | The parent link. |