A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface IPermanentLinkBatchMapper

Specifies methods for mapping between url/Guid/ContentReference

Namespace: EPiServer.Web.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IPermanentLinkBatchMapper : IPermanentLinkMapper

Methods

Find(IEnumerable<ContentReference>)

Finds a PermanentContentLinkMaps for a list of ContentReferences

Declaration
IEnumerable<PermanentLinkMap> Find(IEnumerable<ContentReference> contentReferences)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentReference> contentReferences

A list of content references.

Returns
Type Description
System.Collections.Generic.IEnumerable<PermanentLinkMap>

A list of PermanentLinkMaps for found contents

Find(IEnumerable<Guid>)

Finds PemanentLinkMaps for a list of Guids

Declaration
IEnumerable<PermanentLinkMap> Find(IEnumerable<Guid> guids)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Guid> guids

A list of GUIDs.

Returns
Type Description
System.Collections.Generic.IEnumerable<PermanentLinkMap>

A list of PermanentLinkMaps for found contents

Extension Methods