com.sapportals.wcm.rendering.util

Class RIDPersister

java.lang.Object
  extended by com.sapportals.wcm.rendering.util.RIDPersister

Deprecated. As of NetWeaver 7.1

public final class RIDPersister
extends Object

Since:
NW04, SPS5 maps RID objects to very short hexadecimal integer representations. Does not encode or decode the given objects.

Nested Class Summary
static class RIDPersister.RIDRetriever
          Deprecated. As of NetWeaver 7.1
 
Constructor Summary
RIDPersister()
          Deprecated.  
 
Method Summary
 Map getMap()
          Deprecated. As of NetWeaver 7.1
 String map(RID rid)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RIDPersister

public RIDPersister()
Deprecated. 
Method Detail

map

public String map(RID rid)
Deprecated. As of NetWeaver 7.1

maps the given RID object to a hexadecimal integer representation. If the same RID has been provided before, the same String object will be returned.

Parameters:
rid - the object to get the mapping for, must not be null
Returns:
the string, the given RID has been mapped to.

getMap

public Map getMap()
Deprecated. As of NetWeaver 7.1

Returns:
the inverted map of the RID objects and their mappings as they have been created via the map(RID rid) method. Example:
1. Map the RID "/documents" and get the String "1" as return value.
2. Use the Map instance returned here and call 'map.get("1")'. The method will return the RID "/documents".

You can use the class RIDPersister.RIDRetriever to read out this map.
Might return an empty map, but never null
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated 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