com.plumtree.server
Class PT_LOCKSTATES

java.lang.Object
  extended by com.plumtree.server.PT_LOCKSTATES

public final class PT_LOCKSTATES
extends java.lang.Object

These constants define the lock states for server objects, as returned by IPTServerContext.GetLockState()

Author:
michaels
See Also:
IPTServerContext

Field Summary
static int PT_LOCKED
          The object is locked, and it can be stored.
static int PT_NEWLYCREATED
          The newly created object is stored in memory, but not in the database.
static int PT_NOLOCKINGREQUIRED
          This object does not support locking.
static int PT_UNLOCKED
          The object is not locked, and it cannot be stored.
 
Constructor Summary
PT_LOCKSTATES()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PT_UNLOCKED

public static final int PT_UNLOCKED
The object is not locked, and it cannot be stored.

See Also:
Constant Field Values

PT_LOCKED

public static final int PT_LOCKED
The object is locked, and it can be stored. Once an object is locked, other clients cannot access the object and store changes in it.

See Also:
Constant Field Values

PT_NEWLYCREATED

public static final int PT_NEWLYCREATED
The newly created object is stored in memory, but not in the database. Since the object is stored directly in memory, the lock state is not relevant.

See Also:
Constant Field Values

PT_NOLOCKINGREQUIRED

public static final int PT_NOLOCKINGREQUIRED
This object does not support locking.

See Also:
Constant Field Values
Constructor Detail

PT_LOCKSTATES

public PT_LOCKSTATES()