Package org.opencms.ade.sitemap.shared
Class CmsSitemapClipboardData
java.lang.Object
org.opencms.ade.sitemap.shared.CmsSitemapClipboardData
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsSitemapClipboardData
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Sitemap clipboard data bean.
- Since:
- 8.0
-
Constructor Summary
ConstructorDescriptionConstructor.CmsSitemapClipboardData
(LinkedHashMap<CmsUUID, CmsClientSitemapEntry> deletions, LinkedHashMap<CmsUUID, CmsClientSitemapEntry> modifications) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeleted
(CmsClientSitemapEntry entry) Adds an entry to the deleted list.void
addModified
(CmsClientSitemapEntry entry) Adds an entry to the modified list.copy()
Provides a copy of the clip-board data.Returns the session stored list of deleted sitemap entries.Returns the session stored list of modified sitemap entry paths.void
Removes an entry from the deleted list.void
Removes an entry from the modified list.void
setDeletions
(LinkedHashMap<CmsUUID, CmsClientSitemapEntry> deletions) Sets list of deleted sitemap entries.void
setModifications
(LinkedHashMap<CmsUUID, CmsClientSitemapEntry> modifications) Sets the list of modified sitemap entry paths.
-
Constructor Details
-
CmsSitemapClipboardData
public CmsSitemapClipboardData()Constructor. -
CmsSitemapClipboardData
public CmsSitemapClipboardData(LinkedHashMap<CmsUUID, CmsClientSitemapEntry> deletions, LinkedHashMap<CmsUUID, CmsClientSitemapEntry> modifications) Constructor.- Parameters:
deletions
- the session stored list of deleted sitemap entriesmodifications
- the session stored list of modified sitemap entry paths
-
-
Method Details
-
copy
Provides a copy of the clip-board data.- Returns:
- the copied data
-
getDeletions
Returns the session stored list of deleted sitemap entries.- Returns:
- the session stored list of deleted sitemap entries
-
getModifications
Returns the session stored list of modified sitemap entry paths.- Returns:
- the session stored list of modified sitemap entry paths
-
setDeletions
Sets list of deleted sitemap entries.- Parameters:
deletions
- the deleted sitemap entries
-
setModifications
Sets the list of modified sitemap entry paths.- Parameters:
modifications
- the list of modified sitemap entry paths