Class CmsRestoreDialog

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

    public class CmsRestoreDialog
    extends CmsPopup
    A dialog used for undoing changes to a resource and restoring it to its last published state.

    • Field Detail

      • m_structureId

        protected org.opencms.util.CmsUUID m_structureId
        The structure id of the resource to undo changes for.
    • Constructor Detail

      • CmsRestoreDialog

        public CmsRestoreDialog​(org.opencms.util.CmsUUID structureId,
                                java.lang.Runnable afterRestoreAction)
        Creates a new instance of this dialog.

        structureId - the structure id of the resource which should be restored
        afterRestoreAction - the action which will be executed after the resource has been restored
    • Method Detail

      • loadAndShow

        public void loadAndShow()
        Loads the necessary data for the dialog from the server and shows the dialog.