Class HtmlTemplate
Object
HtmlTemplate
- All Implemented Interfaces:
Serializable
The templates used for displaying web pages with Freemarker.
- Author:
- maartenl
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()longgetName()inthashCode()voidAdds 0.1 to the version number.voidsetComment(String comment) voidsetContent(String content) voidsetCreated(LocalDateTime created) voidvoidvoidsetModified(LocalDateTime modified) voidtoString()
-
Constructor Details
-
HtmlTemplate
public HtmlTemplate()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getCreated
-
setCreated
-
getModified
-
setModified
-
getContent
-
setContent
-
getVersion
-
getLastModified
public long getLastModified() -
getReader
-
increaseVersion
public void increaseVersion()Adds 0.1 to the version number. This is to be used when a change occurs to the template. -
hashCode
-
equals
-
toString
-
getEditor
- Returns:
- the editor
-
setEditor
- Parameters:
editor- the editor to set
-
getComment
- Returns:
- the comment
-
setComment
- Parameters:
comment- the comment to set
-