public class UriMapper extends Object implements IUriMapper
IUriMapper.
Copyright (c) SAP AG 2001-2005
| Constructor and Description |
|---|
UriMapper(RID rootPath,
IHierarchicalUri rootUri)
Create a new mapping between root path and uri
|
UriMapper(RID rootPath,
IHierarchicalUri rootUri,
List aliases)
Create a new mapping between root path and uri
|
UriMapper(RID rootPath,
IHierarchicalUri rootUri,
List aliases,
boolean caseSensitive)
Create a new mapping between root path and uri
|
| Modifier and Type | Method and Description |
|---|---|
protected RID |
discoverQueryInternal(RID path) |
RID |
getRootRID()
Get the root resource id of this mapping
|
IHierarchicalUri |
getRootUri()
Get the root uri of this mapping
|
protected RID |
hideQueryInternal(RID path) |
boolean |
isCaseSensitive() |
boolean |
isGeneric()
Determine if this mapper is generic, e.g. handles conversions outside its
root.
|
IUriReference |
toAbsolutePath(RID path)
Map the given resource id to an relative uri reference with absolute path
component.
|
IHierarchicalUri |
toAbsoluteUri(RID path)
Map the given path to an (absolute) uri.
|
RID |
toRID(IHierarchicalUri uri)
Map the given uri to its resource id.
|
String |
toString() |
public UriMapper(RID rootPath, IHierarchicalUri rootUri)
rootPath - of mappingrootUri - uri of mappingpublic UriMapper(RID rootPath, IHierarchicalUri rootUri, List aliases)
rootPath - of mappingrootUri - uri of mappingaliases - list of IHierarchicalUris pointing to same serverpublic UriMapper(RID rootPath, IHierarchicalUri rootUri, List aliases, boolean caseSensitive)
rootPath - of mappingrootUri - uri of mappingaliases - list of IHierarchicalUris pointing to same servercaseSensitive - mapping of RIDs/URIspublic boolean isGeneric()
IUriMapperisGeneric in interface IUriMapperpublic boolean isCaseSensitive()
public IHierarchicalUri getRootUri()
IUriMappergetRootUri in interface IUriMapperpublic RID getRootRID()
IUriMappergetRootRID in interface IUriMapperpublic IHierarchicalUri toAbsoluteUri(RID path)
IUriMappertoAbsoluteUri in interface IUriMapperpath - to map to uripublic IUriReference toAbsolutePath(RID path)
IUriMappertoAbsolutePath in interface IUriMapperpath - to map to uri referencepublic RID toRID(IHierarchicalUri uri)
IUriMappertoRID in interface IUriMapperuri - to map to resource id| 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 2021 SAP SE Complete Copyright Notice