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
ConstructorsConstructorDescriptionConstructor.CmsSitemapClipboardData(LinkedHashMap<CmsUUID, CmsClientSitemapEntry> deletions, LinkedHashMap<CmsUUID, CmsClientSitemapEntry> modifications) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeleted(CmsClientSitemapEntry entry) Adds an entry to the deleted list.voidaddModified(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.voidRemoves an entry from the deleted list.voidRemoves an entry from the modified list.voidsetDeletions(LinkedHashMap<CmsUUID, CmsClientSitemapEntry> deletions) Sets list of deleted sitemap entries.voidsetModifications(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