public class CmsClientLock
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
限定符和类型 | 类和说明 |
---|---|
static class |
CmsClientLock.LockType
The available lock types.
|
构造器和说明 |
---|
CmsClientLock()
Default constructor for serialization.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.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(java.lang.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.
|
public java.lang.String getLockOwner()
public CmsClientLock.LockType getLockType()
public boolean isOwnedByUser()
public void setLockOwner(java.lang.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