Class CmsVfsSitemapService.LockInfo

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

protected class CmsVfsSitemapService.LockInfo extends Object
Helper class for representing information about a lock.
  • Constructor Details

    • LockInfo

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

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

    • 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