| Package | Description |
|---|---|
| com.sapportals.portal.pcd.gl |
Main API package of the Pcd Generic Layer (GL).
|
| Modifier and Type | Field and Description |
|---|---|
static LockState |
LockState.ACTIVE
State for lock objects that represent a lock stored in the central lock
registry.
|
static LockState |
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 LockState |
LockState.INACTIVE
State of lock objects where no entry can be found in the lock registry
for the respective resource.
|
| Modifier and Type | Method and Description |
|---|---|
LockState |
ILock.getState()
Returns the current state of this lock object.
|
LockState |
ILock.getStateAndRefresh(String userId,
String sessionId)
Returns the current state of this lock object and perform a
refresh (see ILock.refresh(java.lang.String, java.lang.String)for more information) on the
lock if possible. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LockState.equals(LockState lockState)
Compare this lock state with another one.
|
Copyright 2018 SAP AG Complete Copyright Notice