org.liquidsite.app.template
Class LockBean

java.lang.Object
  extended byorg.liquidsite.app.template.LockBean

public class LockBean
extends java.lang.Object

A content lock bean.


Method Summary
 java.util.Date getDate()
          Returns the lock acquiring date.
 boolean getOpen()
          Returns the lock status.
 UserBean getUser()
          Returns the lock owner user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOpen

public boolean getOpen()
Returns the lock status.

Returns:
true if the lock is open, or false if the lock has been acquired

getDate

public java.util.Date getDate()
Returns the lock acquiring date.

Returns:
the lock acquiring date, or the current date and time if the lock doesn't exist

getUser

public UserBean getUser()
Returns the lock owner user.

Returns:
the lock owner user bean, or an empty user if the lock doesn't exist