com.sapportals.wcm.rendering.base

Interface IRIDMapper


Deprecated. As of NetWeaver 7.1

public interface IRIDMapper

Since:
NW04, SPS5 a service interface that can be implemented by an IProxy. During the rendering process, classes request mappers for the RID instances they need to persist on the html-page. So instead that many classes write the complete RID on the page, they all just write the (shorter) mapping on the page.
When the user clicked something on the html-page, the receiving class will call the getRID(Sting mapper) method to retrieve the actual RID. So the implementing class has to ensure that the mapping will survive the server-roundtrip.

Method Summary
 String getMapper(RID rid)
          Deprecated. As of NetWeaver 7.1
 RID getRID(String mapper)
          Deprecated. As of NetWeaver 7.1
 

Method Detail

getMapper

String getMapper(RID rid)
Deprecated. As of NetWeaver 7.1

to be used during the rendering process.

Parameters:
rid - the rid of the resource that a mapping is needed for. Must not be null. The RID should not have to be encoded.
Returns:
a (shorter) representation of the given RID. If several requests for the same RID have been received, they should all return the same result.

getRID

RID getRID(String mapper)
Deprecated. As of NetWeaver 7.1

to be used when an event has been received.

Parameters:
mapper - the mapper that has been created using the getMapper method. Must not be null
Returns:
the RID as it has been provided in the getMapper method:
ridProvided.equals(ridReturned) == true
If no RID exists for this mapper, a NullPointerException will be thrown.
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