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 TypeMethodDescriptionboolean
getId()
long
getName()
int
hashCode()
void
Adds 0.1 to the version number.void
setComment
(String comment) void
setContent
(String content) void
setCreated
(LocalDateTime created) void
void
void
setModified
(LocalDateTime modified) void
toString()
-
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
-