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
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
Constructors Modifier Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 projectdescription
- the site descriptionsiteLocale
- the site default localesiteHost
- the site hosttitle
- 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
-
-