com.ecyrd.jspwiki
Class PageLock
java.lang.Object
com.ecyrd.jspwiki.PageLock
- All Implemented Interfaces:
- Serializable
public class PageLock
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageLock
public PageLock(WikiPage page,
String locker,
Date acquired,
Date expiry)
getPage
public String getPage()
getLocker
public String getLocker()
getAcquisitionTime
public Date getAcquisitionTime()
getExpiryTime
public Date getExpiryTime()
getTimeLeft
public long getTimeLeft()
- Returns the amount of time left in minutes, rounded up to the nearest
minute (so you get a zero only at the last minute).