public class SaWsLockInfo extends Object
Constructor and Description |
---|
SaWsLockInfo()
Constructor.
|
SaWsLockInfo(com.saperion.intf.SaLockInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLockToken()
Returns the lock token.
|
int |
getLockType()
Reads the lock type.
|
String |
getLockUser()
Returns the lock owner.
|
boolean |
isReadonly()
Returns, if this document is readonly.
|
void |
setLockToken(String locktoken)
Sets the token for the lock.
|
void |
setLockType(int locktype)
Sets the locktype.
|
void |
setLockUser(String lockuser)
Sets the user which is holding the lock.
|
void |
setReadonly(boolean isReadonly)
Sets if the lock is readonly.
|
public SaWsLockInfo(com.saperion.intf.SaLockInfo info)
info
- Lockinfopublic SaWsLockInfo()
public final int getLockType()
public final String getLockUser()
public final boolean isReadonly()
public final String getLockToken()
public void setReadonly(boolean isReadonly)
isReadonly
- if it is a readonly lockpublic void setLockUser(String lockuser)
lockuser
- user which holds the lockpublic void setLockType(int locktype)
locktype
- type of the lockpublic void setLockToken(String locktoken)
locktoken
- token for the lockCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.