com.sapportals.wcm.service.landscape
Class AutoID
java.lang.Object
com.sapportals.wcm.service.landscape.AutoID
public final class AutoID
- extends Object
The good old "Nummernkreis" is back: This class generates sequential
numbers for use as primary keys in (OpenSQL) database tables.
During the initialize() method all component instances on different
culster nodes which use the same "number range" are synchronized via
the central database.
AutoID
public AutoID(String name)
throws WcmException
- Throws:
WcmException
getNextID
public long getNextID()
- Returns the next number of this range.
- Returns:
- the next number of this range.
toString
public String toString()
- Overrides:
toString in class Object
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
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