• DXC Service
  • Products
    • Episerver CMS
    • Episerver Commerce
    • Episerver Campaign
    • Episerver Find
    • Episerver Personalization
      • Advance
      • Perform
      • Insight
      • Reach
      • Personalized Find
    • Episerver Social API
    • Episerver apps & integrations
    • Ektron CMS
  • Documentation
    • Get started
      • DXC Service
      • CMS
      • Commerce
      • Campaign
      • Find
      • Personalization
      • Insight
      • Social API
      • Service API
    • Developer guides
      • DXC Service
      • CMS
      • Commerce
      • Campaign
      • Find
      • Advance
      • Perform
      • Reach
      • Personalized Find
      • Insight
      • Tracking
      • Profile Store
      • Content Delivery API
      • Social API
      • Service API
      • Forms
      • MA connectors
    • UI feature list
    • Technical overview
    • System requirements
    • Installation
    • User guide
    • APIs and libraries
      • CMS
      • Commerce
      • Campaign
      • Find
      • Social
      • REST APIs
    • Video tutorials
    • Releases
    • Upgrading
      • CMS
      • Commerce
      • Find
      • Forms
      • Service API
      • Personalization
  • Blogs
  • Forum
  • Support
  • EMVPs
  • Register
  • Log in
All Content Documentation Forum User Guide Support Help Center Blogs Articles Releases Bug List SDK Documents
People
Home / Documentation /
  • Framework reference
  • EPiServer.Web
  • PermanentLinkMapper
    • PermanentLinkMapper Methods
    • PermanentLinkMapper Properties

PermanentLinkMapper Class

Assembly: EPiServer (in EPiServer.dll) Version: 8.0.0

Syntax:

C#
[ServiceConfigurationAttribute(ServiceType = typeof(IPermanentLinkMapper), FactoryMember = "Instance", 
	Lifecycle = ServiceInstanceScope.Singleton)]
public class PermanentLinkMapper : IPermanentLinkMapper

Uses PermanentLinkMapStore for mapping between url/Guid/PageReference

Methods

Name Summary Status
Clear Clears the cache. public
ClearCache Clears the cache. Optionally this event is broadcasted. public
ClearItemFromCache Removes the item with specified id from cache. If raiseEvent is true the cache removal is broadcasted. public
Find(ContentReference) Finds a PermanentLinkMap-derived instance from the specified page reference. public
Find(Guid) Creates an PermanentLinkMap-derived instance from the provided Guid, if possible. public
Find(Guid, PermanentLinkMapStore.StorePreference) Finds the specified GUID. public
Find(UrlBuilder) Finds an PermanentLinkMap-derived instance from the provided url, if possible. public
GetIdentity Extracts the identity from the object if it has one. public, static
GetOriginalType Gets the Type of the current object, ensuring that the eventual type that could be generated by a proxy interceptor is ignored. public, static
Initialize public
PermanentLinkMapper Constructor public
RemovePageFromCache Removes link information about the page from link store cache. public
Save Saves the specified PermanentLinkMap to the repository, making it available for lookup. public
SetIdentity Sets the identity into the object if supported public, static
ToMapped Converts the provided URL to the mapped representation, if possible. public
ToPermanent Converts the provided URL to the permanent link representation, if possible. public
ToPropertyBag(Object) Create a PropertyBag instance and populates it with its properties The algorith for extracting properties is as follows: 1) Property must a have a getter and setter 2a) Getter must be public OR 2b) The class must be marked either with the DataContractAttribute or EPiServerDataContractAttribute and the property must be marked either with the DataMemberAttribute or EPiServerDataMemberAttribute public, static
ToPropertyBag(Object, IEnumerable(String)) Create a PropertyBag instance and populates it with its properties public, static
TryToMapped Converts the provided URL to the mapped representation, if possible. public
TryToPermanent Converts the provided URL to the permanent link representation, if possible. public

Properties

Name Summary Status
CacheCount Gets the number of items in the cache. public
GuidResolver Gets or sets a func that resolves a guid from the specified UrlBuilder that will replace the default call to GetGuid(String, String%) when finding a specific url. public
Instance The global permanent link mapper instance. This is not intended to be set by external code. public, static
PerformanceCounters Gets the collection of performance counters public

Inheritance

  • System.Object
  • EPiServer.Web.PermanentLinkMapper

About Episerver

  • episerver.com
  • Episerver certification
  • Job openings
  • License center
  • Privacy statement

Community

  • Blogs
  • Forums
  • Articles
  • Terms of use
  • EMVP program

Learning resources

  • Technical overview
  • Learning path Episerver CMS
  • Developer guides
  • User guide
  • Video tutorials
  • Episerver GitHub
  • Episerver Education

Contact

Episerver Support

See the Support page for contact information.

Feedback on Episerver World

If you’d like to give feedback about this site, please click here. Thank you very much!
© Episerver 2019 │ About Episerver World