|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.gwt.shared.CmsClientLock
public class CmsClientLock
Client side lock class.
| Nested Class Summary | |
|---|---|
static class |
CmsClientLock.LockType
The available lock types. |
| Constructor Summary | |
|---|---|
CmsClientLock()
Default constructor for serialization. |
|
| Method Summary | |
|---|---|
String |
getLockOwner()
Returns the lock owner name. |
CmsClientLock.LockType |
getLockType()
Returns the lock type. |
boolean |
isOwnedByUser()
Returns if the current lock is owned by the current user. |
void |
setLockOwner(String lockOwner)
Sets the lock owner name. |
void |
setLockType(CmsClientLock.LockType lockType)
Sets the lock type. |
void |
setOwnedByUser(boolean isOwnedByUser)
Sets if the current lock is owned by the current user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsClientLock()
| Method Detail |
|---|
public String getLockOwner()
public CmsClientLock.LockType getLockType()
public boolean isOwnedByUser()
public void setLockOwner(String lockOwner)
lockOwner - the lock owner name to setpublic void setLockType(CmsClientLock.LockType lockType)
lockType - the lock type to setpublic void setOwnedByUser(boolean isOwnedByUser)
isOwnedByUser - if the current lock is owned by the current user
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||