Interface IParentRestoreRepository
Interface for restore IContent from wastebasket to original place
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IParentRestoreRepository
Methods
DeleteParentLink(ContentReference)
Deletes the parent link.
Declaration
ContentReference DeleteParentLink(ContentReference sourceLink)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentReference | sourceLink | The source link. |
Returns
| Type | Description |
|---|---|
| ContentReference |
GetParentLink(ContentReference)
Gets the parent link.
Declaration
ContentReference GetParentLink(ContentReference sourceLink)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentReference | sourceLink | The source link. |
Returns
| Type | Description |
|---|---|
| ContentReference |
SaveParentLink(ContentReference, ContentReference)
Saves the parent link.
Declaration
void SaveParentLink(ContentReference sourceLink, ContentReference parentLink)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentReference | sourceLink | The source link. |
| ContentReference | parentLink | The parent link. |