Class CmsVfsSitemapService.LockInfo

    • Constructor Summary

      Constructors 
      Constructor Description
      LockInfo​(CmsLock lock, boolean wasJustLocked)
      Creates a new LockInfo object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • 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 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