Package org.opencms.ade.sitemap.shared
Class CmsSitemapInfo
java.lang.Object
org.opencms.ade.sitemap.shared.CmsSitemapInfo
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current project.Returns the description.Returns the host of the current site.Returns the site default locale.getTitle()
Returns the title.
-
Constructor Details
-
CmsSitemapInfo
protected CmsSitemapInfo()Constructor for serialization only. -
CmsSitemapInfo
public CmsSitemapInfo(String currentProject, String description, String siteLocale, String siteHost, String title) Constructor.- Parameters:
currentProject
- the current projectdescription
- the site descriptionsiteLocale
- the site default localesiteHost
- the site hosttitle
- the title
-
-
Method Details
-
getCurrentProject
Returns the current project.- Returns:
- the current project
-
getDescription
Returns the description.- Returns:
- the description
-
getSiteLocale
Returns the site default locale.- Returns:
- the site default locale
-
getSiteHost
Returns the host of the current site.- Returns:
- the host of the current site
-
getTitle
Returns the title.- Returns:
- the title
-