Class CmsLockReportDialog

  • All Implemented Interfaces:,<>,,,,,,,,,,,, java.lang.Iterable<>, I_CmsAutoHider

    public final class CmsLockReportDialog
    extends CmsPopup
    The lock report dialog.

    • Method Detail

      • openDialogForResource

        public static void openDialogForResource​(java.lang.String title,
                                                 org.opencms.util.CmsUUID structureId,
        Opens the lock report dialog for the given resource.

        title - the dialog title (will use a default value if null)
        structureId - the structure id of the resource
        onUnlock - the command to execute after the has been unlocked
        optionalOnCloseCommand - the optional command to execute when the lock report dialog is closed
      • adjustHeight

        protected void adjustHeight()
        Adjusts the height of the scroll panel.

      • getStructureId

        protected org.opencms.util.CmsUUID getStructureId()
        Returns the structure id of the resource to report on.

        the structure id
      • initContent

        protected void initContent​(org.opencms.gwt.shared.CmsLockReportInfo reportInfo)
        Initializes the dialog content with the give report info.

        reportInfo - the report info
      • onUnlock

        protected void onUnlock()
        Executed on unlock.

      • unlock

        protected void unlock()
        Unlocks the resource and all descending resources.