public interface IUriMapper
This interface is intended for managers which make resource from other servers available as internal CM resource. External resources have to have a hierarchical uri (e.g. http url of web pages) and will be given a CM resource identifier (RID).
Every child of the root resource id is mapped to the corresponding child of
the root uri. Example:
resource id uri root map /mapped - http://sapportals.com/test /mapped/name - http://sapportals.com/test/name /mapped/a/b - http://sapportals.com/test/a/b /nomap/x - null null - http://sapportals.com/xxx null - http://greenbytes.de/test/name
Copyright 2002 (c) SAP AG
Modifier and Type | Method and Description |
---|---|
RID |
getRootRID()
Get the root resource id of this mapping
|
IHierarchicalUri |
getRootUri()
Get the root uri of this mapping
|
boolean |
isGeneric()
Determine if this mapper is generic, e.g. handles conversions outside its
root.
|
IUriReference |
toAbsolutePath(RID resourceID)
Map the given resource id to an relative uri reference with absolute path
component.
|
IHierarchicalUri |
toAbsoluteUri(RID resourceID)
Map the given path to an (absolute) uri.
|
RID |
toRID(IHierarchicalUri uri)
Map the given uri to its resource id.
|
IHierarchicalUri getRootUri()
RID getRootRID()
RID toRID(IHierarchicalUri uri)
uri
- to map to resource idIHierarchicalUri toAbsoluteUri(RID resourceID)
resourceID
- to map to uriIUriReference toAbsolutePath(RID resourceID)
resourceID
- to map to uri referenceboolean isGeneric()
Access Rights |
---|
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 2018 SAP AG Complete Copyright Notice