|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.portal.pcd.gl.LockState
public class LockState
LockState is an enumeration type, describing all possible
states of a lock object (i.e. instances of ILock). The lock object's
state is determined by the content of the lock registry:
ACTIVE lock objects reflect locks stored in the central
registry.BROKEN lock objects, a lock is kept in the registry,
but it belongs to another user or session.INACTIVE lock objects, no lock is stored in the
registry.
| Field Summary | |
|---|---|
static LockState |
ACTIVE
State for lock objects that represent a lock stored in the central lock registry. |
static int |
ACTIVE_INT_VALUE
Integer equivalent of lock state ACTIVE. |
static LockState |
BROKEN
State of lock objects where the respective resource is locked, but the current owner (combination of user and session) of the lock is not the same as what is returned by methods ILock.getUserId()and
ILock.getSessionId(). |
static int |
BROKEN_INT_VALUE
Integer equivalent of lock state BROKEN. |
static LockState |
INACTIVE
State of lock objects where no entry can be found in the lock registry for the repective resource. |
static int |
INACTIVE_INT_VALUE
Integer equivalent of lock state INACTIVE. |
| Constructor Summary | |
|---|---|
LockState(int state)
For internal use only: Create a LockState object for a given int |
|
| Method Summary | |
|---|---|
boolean |
equals(LockState lockState)
Compare this lock state with another one. |
boolean |
equals(Object lockState)
Compare this object with this one. |
int |
getAsInt()
Return an integer value for this lock state that can be used in switch -statements. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ACTIVE_INT_VALUE
ACTIVE.
public static final LockState ACTIVE
ILock.getUserId().
public static final int BROKEN_INT_VALUE
BROKEN.
public static final LockState BROKEN
ILock.getUserId()and
ILock.getSessionId(). This is the consequence of a
ILock.take(String,String, String)-operation performed on the
underlying lock.
public static final int INACTIVE_INT_VALUE
INACTIVE.
public static final LockState INACTIVE
| Constructor Detail |
|---|
public LockState(int state)
state - | Method Detail |
|---|
public boolean equals(LockState lockState)
java.lang.Object.equals() for details.
lockState -
LockStates s are equal; false otherwisepublic boolean equals(Object lockState)
equals in class ObjectObject s are equal; false otherwiseObject.equals(java.lang.Object)public int hashCode()
hashCode in class Objectpublic int getAsInt()
switch -statements.
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
-
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
BC-PIN-PCD
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||