com.sapportals.wcm.protocol.webdav

Class UriMetaMap

java.lang.Object
  extended by com.sapportals.wcm.protocol.webdav.UriMetaMap

public final class UriMetaMap
extends Object

Handles system wide mappings or RIDs to Uris.

Copyright (c) SAP AG 2002-2003


Method Summary
 void deregister(IUriMapper mapper)
          Deregister a mapping.
static UriMetaMap getInstance()
          Get singleton instance of UriMetaMap.
 void register(IUriMapper mapper)
          Register a mapper.
 RID toRID(RID base, IHierarchicalUri uri)
          Map the given uri to a local RID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static UriMetaMap getInstance()
Get singleton instance of UriMetaMap.

Returns:
single instance of UriMetaMap

toRID

public RID toRID(RID base,
                 IHierarchicalUri uri)
Map the given uri to a local RID.

Parameters:
base - RID context for mapping
uri - to map to local RID
Returns:
mapped RID or null if no mapping is available

register

public void register(IUriMapper mapper)
Register a mapper.

Parameters:
mapper - to install

deregister

public void deregister(IUriMapper mapper)
Deregister a mapping.

Parameters:
mapper - to remove.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice