Package org.opencms.gwt.shared.property
Class CmsClientTemplateBean
- java.lang.Object
-
- org.opencms.gwt.shared.property.CmsClientTemplateBean
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsClientTemplateBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Sitemap initialization data.- Since:
- 8.0
-
-
Constructor Summary
Constructors Constructor Description CmsClientTemplateBean()
Constructor.CmsClientTemplateBean(java.lang.String title, java.lang.String description, java.lang.String sitePath, java.lang.String imgPath)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the description.java.lang.String
getImgPath()
Returns the image path.static CmsClientTemplateBean
getNullTemplate()
Returns a dummy template object which represents an empty selection.java.lang.String
getSitePath()
Returns the site path.java.lang.String
getTitle()
Returns the title.boolean
isShowWeakText()
Returns true if the template should be shown with weak text.void
setShowWeakText(boolean showWeakText)
Sets the display of weak text to true or false.
-
-
-
Constructor Detail
-
CmsClientTemplateBean
public CmsClientTemplateBean()
Constructor.
-
CmsClientTemplateBean
public CmsClientTemplateBean(java.lang.String title, java.lang.String description, java.lang.String sitePath, java.lang.String imgPath)
Constructor.- Parameters:
title
- the titledescription
- the descriptionsitePath
- the site pathimgPath
- the image path
-
-
Method Detail
-
getNullTemplate
public static CmsClientTemplateBean getNullTemplate()
Returns a dummy template object which represents an empty selection.- Returns:
- a dummy template object
-
getDescription
public java.lang.String getDescription()
Returns the description.- Returns:
- the description
-
getImgPath
public java.lang.String getImgPath()
Returns the image path.- Returns:
- the image path
-
getSitePath
public java.lang.String getSitePath()
Returns the site path.- Returns:
- the site path
-
getTitle
public java.lang.String getTitle()
Returns the title.- Returns:
- the title
-
isShowWeakText
public boolean isShowWeakText()
Returns true if the template should be shown with weak text.- Returns:
- true if the template should be shown with weak text
-
setShowWeakText
public void setShowWeakText(boolean showWeakText)
Sets the display of weak text to true or false.- Parameters:
showWeakText
- if true, the template should be displayed with weak text
-
-