org.opencms.ade.sitemap.shared
Class CmsSubSitemapInfo

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

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

A data class which is used to transfer information about sub-sitemaps which have been created.

Since:
8.0.0

Constructor Summary
protected CmsSubSitemapInfo()
          Hidden default constructor.
  CmsSubSitemapInfo(CmsClientSitemapEntry entry, long timestamp)
          Constructor.
 
Method Summary
 CmsClientSitemapEntry getEntry()
          Returns the entry of the newly created sitemap.
 long getParentTimestamp()
          Returns the last modification time of the parent sitemap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsSubSitemapInfo

public CmsSubSitemapInfo(CmsClientSitemapEntry entry,
                         long timestamp)
Constructor.

Parameters:
entry - the entry of the newly created sub sitemap
timestamp - the 'last modified' time of the parent sitemap

CmsSubSitemapInfo

protected CmsSubSitemapInfo()
Hidden default constructor.

Method Detail

getEntry

public CmsClientSitemapEntry getEntry()
Returns the entry of the newly created sitemap.

Returns:
the entry of the newly created sitemap

getParentTimestamp

public long getParentTimestamp()
Returns the last modification time of the parent sitemap.

Returns:
the last modification time of the parent sitemap