Click or drag to resize

ILingualMappingManager Interface


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: 10.6.308
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(IContentItem, 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(IContentItem, 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(IContentItem)
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(IContentItem, 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 methodRemoveMapsForContentItems
Removes all ligual maps for a collection of pages specified by page ID.
Public methodRemoveMapsForPage
Removes all lingual maps for a given page. This method severs all lingual connections to a page.
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