org.opencms.ade.sitemap
Class CmsVfsSitemapService.LockInfo

java.lang.Object
  extended by org.opencms.ade.sitemap.CmsVfsSitemapService.LockInfo
Enclosing class:
CmsVfsSitemapService

protected class CmsVfsSitemapService.LockInfo
extends Object

Helper class for representing information about a lock.


Constructor Summary
CmsVfsSitemapService.LockInfo(CmsLock lock, boolean wasJustLocked)
          Creates a new LockInfo object.
 
Method Summary
 CmsLock getLock()
          Returns the lock state.
 boolean wasJustLocked()
          Returns true if the lock was just locked.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsVfsSitemapService.LockInfo

public CmsVfsSitemapService.LockInfo(CmsLock lock,
                                     boolean wasJustLocked)
Creates a new LockInfo object.

Parameters:
lock - the lock state
wasJustLocked - true if the lock was just locked
Method Detail

getLock

public CmsLock getLock()
Returns the lock state.

Returns:
the lock state

wasJustLocked

public boolean wasJustLocked()
Returns true if the lock was just locked.

Returns:
true if the lock was just locked