org.opencms.ade.sitemap.shared
Class CmsSitemapMergeInfo

java.lang.Object
  extended by org.opencms.ade.sitemap.shared.CmsSitemapMergeInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsSitemapMergeInfo
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

This class represents the result of a 'merge sub-sitemap' operation.

Since:
8.0.0

Constructor Summary
protected CmsSitemapMergeInfo()
          Default constructor.
  CmsSitemapMergeInfo(CmsClientSitemapEntry mergedEntry, long timestamp)
          Constructor.
 
Method Summary
 CmsClientSitemapEntry getMergedEntry()
          Returns the entry to be merged back into the parent sitemap.
 long getTimestamp()
          The timestamp of the last modification of the parent sitemap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsSitemapMergeInfo

public CmsSitemapMergeInfo(CmsClientSitemapEntry mergedEntry,
                           long timestamp)
Constructor.

Parameters:
mergedEntry - the entries which have been merged into the parent sitemap
timestamp - the modification time of the parent sitemap

CmsSitemapMergeInfo

protected CmsSitemapMergeInfo()
Default constructor.

Method Detail

getMergedEntry

public CmsClientSitemapEntry getMergedEntry()
Returns the entry to be merged back into the parent sitemap.

Returns:
the entry to be merged

getTimestamp

public long getTimestamp()
The timestamp of the last modification of the parent sitemap.

Returns:
the timestamp of the last modification of the parent sitemap