com.sapportals.wcm.control.base

Class IDCreator

java.lang.Object
  extended by com.sapportals.wcm.control.base.IDCreator

Deprecated. As of NetWeaver 7.1

public final class IDCreator
extends Object

returns an integer or a String representing that integer while counting it up. So, two calls in a row receive different values. The highest value returned is Integer.MAX_VALUE, the lowest is Integer.MIN_VALUE.
Do not use this to create IDs that will be used for a longer period of time or for a cache/ HashMap etc. Only usable for elements which will be used in a smaller, better defined context, such as an DynPage.

Since:
EP6 FP3

Constructor Summary
IDCreator()
          Deprecated.  
 
Method Summary
static String currentID()
          Deprecated. As of NetWeaver 7.1
static int currentVal()
          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

IDCreator

public IDCreator()
Deprecated. 
Method Detail

currentVal

public static int currentVal()
Deprecated. As of NetWeaver 7.1

returns the incremented IDCounter value as integer


currentID

public static String currentID()
Deprecated. As of NetWeaver 7.1

returns the incremented IDCounter value as hex-presentated String

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM


Copyright 2012 SAP AG Complete Copyright Notice