|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sapportals.wcm.crt.ComponentUri
A component URI (RFC2396 ) is an identifier for a component in the CRT.
Scheme: "crt"
Authority: The CRT client identifier
Path: Slash separated component keys (container hierarchie)
Query: Not used
This identifier is not relativ to a container like single component keys are
but is a unique identifier for all components in the CRT system. The com.sapportals.wcm.repository.runtime.CmSystem#lookupComponentByUri method can be used to lookup a component
instance for a given component URI.
Copyright (c) SAP AG 2001-2002
| Field Summary | |
static java.lang.String |
PATH_SEPARATOR
|
static java.lang.String |
SCHEME
|
| Method Summary | |
ComponentUri |
appendKey(java.lang.String key)
Appends the specified key at the end of the path. |
boolean |
equals(java.lang.Object other)
|
java.lang.String[] |
getChildKeys()
Returns all child keys of the child URIs of this URI. |
ComponentUri |
getChildUri(java.lang.String key)
Returns a child URI with the specified key or null if it does
not exist. |
java.lang.String |
getKey()
Returns this URI's key |
ComponentUri |
getParent()
Returns the parent URI. |
static ComponentUri |
getRootUri(java.lang.String clientID)
Returns a new root component URI. |
int |
hashCode()
|
boolean |
isRootUri()
Returns true if this is a root URI. |
ComponentUri |
removeChildUri(java.lang.String key)
Removes a child URI with the specified key. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String PATH_SEPARATOR
public static final java.lang.String SCHEME
| Method Detail |
public ComponentUri appendKey(java.lang.String key)
throws java.lang.IllegalArgumentException
key - The component key to append.java.lang.IllegalArgumentException - If the key is invalid (e.g. contains
invalid characters).public ComponentUri getParent()
public boolean isRootUri()
public java.lang.String getKey()
public ComponentUri getChildUri(java.lang.String key)
null if it does
not exist.key - The key of the child URI.null if it does
not exist.public ComponentUri removeChildUri(java.lang.String key)
key - The key of the child urinull if it does not exist.public java.lang.String[] getChildKeys()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static ComponentUri getRootUri(java.lang.String clientID)
clientID - The CRT client identifier.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||