Class CmsPublishLockChecker

java.lang.Object
org.opencms.ade.containerpage.client.CmsPublishLockChecker

public class CmsPublishLockChecker extends Object
Helper class for periodically checking a set of elements for publish locks and then reloading the corresponding elements when they are no longer locked.
  • Field Details

  • Constructor Details

  • Method Details

    • addIdsToCheck

      public void addIdsToCheck(Set<org.opencms.util.CmsUUID> ids)
      Adds a set of element ids which should be checked for publish locks.
      Parameters:
      ids - the ids which should be checked
    • processCheckResult

      protected void processCheckResult(Set<org.opencms.util.CmsUUID> locked)
      Processes the results of the publish lock check RPC call.
      Parameters:
      locked - the remaining ids of elements with a publish lock