ILingualMappingManager Interface Ingeniux CMS Content Store API

Represents the manager object that is in charge of lingual mapping between pages. Lingual maps are an essential part of the Ingeniux WorldView system

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public interface ILingualMappingManager : ITransactionalEntity, 
	IDisposable

The ILingualMappingManager type exposes the following members.

Properties

  NameDescription
Public propertyContentStore
Gets the Content Store.
(Inherited from ITransactionalEntity.)
Public propertyCurrentUser
Gets the Operating User for the Session .
(Inherited from ITransactionalEntity.)
Public propertySession
Gets the User Session that this manager instance was initiated from.
(Inherited from ITransactionalEntity.)
Top
Methods

  NameDescription
Public methodAddMap
Adds a new lingual map between pages.
Public methodCloneMaps(Int32, String, Int32, Int32)
Retrieves all clone maps, or clone maps of the specified clone page locale.
Public methodCloneMaps(Int32, String, Int32, Int32)
Retrieves all clone maps, or clone maps of specified clone page locales.
Public methodDeepCloneT, TManager
Duplicates an object instance, not including its unique ID.
(Inherited from ITransactionalEntity.)
Public methodLingualMapsByPageUniversal(String, Int32, Int32, Int32)
Retrieves the collection of all lingual mapped pages associated with a given page. In these maps, the provided page serves the role of either master page or clone page.
Public methodLingualMapsByPageUniversal(IPage, Int32, Int32, Int32)
Retrieves the collection of all lingual mapped pages associated with a given page. In these maps, the provided page serves the role of either master page or clone page.
Public methodMap(String)
Retrieves a lingual map by its unique ID.
Public methodMap(IPage, String)
Retrieves a lingual map by its master page and target locale.
Public methodMapByClone(String)
Retrieves a lingual map by a given page, which serves the role of clone in the map.
Public methodMapByClone(IPage)
Retrieves a lingual map by a given page, which serves the role of clone in the map.
Public methodMapsByClones
Retrieves collection of lingual maps for given page. In these maps, the provided page serves the role of clone page.
Public methodMapsByMaster(String, Int32, Int32, Int32)
Retrieves collection of lingual maps for given page. In these maps, the provided page serves the role of master page.
Public methodMapsByMaster(IPage, Int32, Int32, Int32)
Retrieves collection of lingual maps for given page. In these maps, the provided page serves the role of master page.
Public methodMapsByMasters
Retrieves collection of lingual maps for given page. In these maps, the provided page serves the role of master page.
Public methodMasterPageIdsContainExistingMap
Test a collection of master page ids for existing lingual maps that map to target locale.
Public methodQuickWrite
Creates a temporary Write Session to quickly write something outside the current Session and transaction. This is a way to bypass the transaction and quickly put something into the content store.
(Inherited from ITransactionalEntity.)
Public methodRemoveMapsForPage
Removes all lingual maps for a given page. This method severs all lingual connections to a page.
Public methodRemoveMapsForPages
Removes all ligual maps for a collection of pages specified by page ID.
Public methodRemoveMasterMapForPage
Removes the lingual map for a given clone page.
Top
Remarks

Like all manager objects, instances of this manager are retrieved from an IUserSession object. The manager object only works within that session object.

C#
using (IUserSession session = store.OpenReadSession(currentUser))
{
    ILingualMappingManager lingualMappingManager = session.LingualMappingManager;
    ...
}
See Also

Reference