public class Lock extends Object implements Serializable
The lock information holds the owner, which is a user id, and the lock creation time.
Constructor and Description |
---|
Lock(Lock lock,
boolean failed) |
Lock(String owner,
Calendar created) |
Lock(String owner,
Calendar created,
boolean failed) |
Modifier and Type | Method and Description |
---|---|
Calendar |
getCreated()
The creation time of the lock.
|
boolean |
getFailed()
The failure state, used for removal results.
|
String |
getOwner()
The owner of the lock.
|
public Calendar getCreated()
public boolean getFailed()
Copyright © 2015 Nuxeo SA. All rights reserved.