|
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.service.landscape.AutoID
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.
| Constructor Summary | |
AutoID(java.lang.String name)
|
|
| Method Summary | |
long |
getNextID()
Returns the next number of this range. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AutoID(java.lang.String name)
throws WcmException
| Method Detail |
public long getNextID()
public java.lang.String toString()
toString in class java.lang.Object
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||