org.opencms.ade.sitemap.shared
Class CmsSitemapInfo

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

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

Sitemap info object. Contains descriptive info about the current site/sub-site.

Since:
8.0.2

Constructor Summary
protected CmsSitemapInfo()
          Constructor for serialization only.
  CmsSitemapInfo(java.lang.String currentProject, java.lang.String description, java.lang.String siteLocale, java.lang.String siteHost, java.lang.String title)
          Constructor.
 
Method Summary
 java.lang.String getCurrentProject()
          Returns the current project.
 java.lang.String getDescription()
          Returns the description.
 java.lang.String getSiteHost()
          Returns the host of the current site.
 java.lang.String getSiteLocale()
          Returns the site default locale.
 java.lang.String getTitle()
          Returns the title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsSitemapInfo

protected CmsSitemapInfo()
Constructor for serialization only.


CmsSitemapInfo

public CmsSitemapInfo(java.lang.String currentProject,
                      java.lang.String description,
                      java.lang.String siteLocale,
                      java.lang.String siteHost,
                      java.lang.String title)
Constructor.

Parameters:
currentProject - the current project
description - the site description
siteLocale - the site default locale
siteHost - the site host
title - the title
Method Detail

getCurrentProject

public java.lang.String getCurrentProject()
Returns the current project.

Returns:
the current project

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
the description

getSiteLocale

public java.lang.String getSiteLocale()
Returns the site default locale.

Returns:
the site default locale

getSiteHost

public java.lang.String getSiteHost()
Returns the host of the current site.

Returns:
the host of the current site

getTitle

public java.lang.String getTitle()
Returns the title.

Returns:
the title