|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Maps between RIDs and uri/uri references.
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
| Method Summary | |
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. toAbsoluteUri("/mapped/a") -> /test/a |
IHierarchicalUri |
toAbsoluteUri(RID resourceID)
Map the given path to an (absolute) uri. toAbsoluteUri("/mapped/a") -> http://sapportals.com/test/a |
RID |
toRID(IHierarchicalUri uri)
Map the given uri to its resource id. toAbsoluteUri("http://sapportals.com/test/a") -> /mapped/a |
| Method Detail |
public IHierarchicalUri getRootUri()
public RID getRootRID()
public RID toRID(IHierarchicalUri uri)
uri - to map to resource idpublic IHierarchicalUri toAbsoluteUri(RID resourceID)
resourceID - to map to uripublic IUriReference toAbsolutePath(RID resourceID)
resourceID - to map to uri referencepublic boolean isGeneric()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||