Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.ide.webupdate
Class UniqueUserId

java.lang.Object
  extended by oracle.ide.webupdate.UniqueUserId

public final class UniqueUserId
extends java.lang.Object


Field Summary
static java.lang.String KEY_UNIQUE_ID
           
 
Constructor Summary
UniqueUserId()
           
 
Method Summary
static java.lang.String getOrCreateId(PropertyStorage preferences)
          Looks up the unique user id from the supplied preferences storage object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_UNIQUE_ID

public static final java.lang.String KEY_UNIQUE_ID
See Also:
Constant Field Values
Constructor Detail

UniqueUserId

public UniqueUserId()
Method Detail

getOrCreateId

public static java.lang.String getOrCreateId(PropertyStorage preferences)
Looks up the unique user id from the supplied preferences storage object. If the unique id has no been stored, a new id is generated and stored for later reuse.

Parameters:
preferences - the IDE preferences object
Returns:
a string representation of the 16-byte UUID
See Also:
Preferences.getPreferences(), GuidGen, GuidGen.uuidCreate()

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.