Class CmsToolbarClipboardView

java.lang.Object
org.opencms.ade.sitemap.client.toolbar.CmsToolbarClipboardView

public class CmsToolbarClipboardView extends Object
Sitemap toolbar clipboard view.

Since:
8.0.0
  • Field Details

  • Constructor Details

  • Method Details

    • addDeleted

      public void addDeleted(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry)
      Adds an deleted entry.

      Parameters:
      entry - the deleted entry
    • addModified

      public void addModified(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry, String previousPath)
      Adds a modified entry.

      Parameters:
      entry - the entry
      previousPath - the previous path
    • clearDeleted

      public void clearDeleted()
      Clears the deleted list.

    • clearModified

      public void clearModified()
      Clears the modified list.

    • createDeletedItem

      public CmsListItem createDeletedItem(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry)
      Creates a new deleted list item.

      Parameters:
      entry - the sitemap entry
      Returns:
      the new created (still orphan) list item
    • createModifiedItem

      public CmsListItem createModifiedItem(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry)
      Creates a new modified list item.

      Parameters:
      entry - the sitemap entry
      Returns:
      the new created (still orphan) list item
    • getDeleted

      Returns the deleted list.

      Returns:
      the deleted list
    • getModified

      Returns the modified list.

      Returns:
      the modified list
    • removeDeleted

      public void removeDeleted(String entryId)
      Removes an entry from the deleted list.

      Parameters:
      entryId - the entry id
    • removeModified

      public void removeModified(String entryId)
      Removes an entry from the modified list.

      Parameters:
      entryId - the entry id
    • updateContent

      protected void updateContent(org.opencms.ade.sitemap.shared.CmsSitemapClipboardData data)
      Updates the clip board content.

      Parameters:
      data - the clip board data