Class MarkdownDisplayConlet.MarkdownDisplayModel
java.lang.Object
org.jgrapes.webconsole.base.ConletBaseModel
org.jgrapes.webconlet.markdowndisplay.MarkdownDisplayConlet.MarkdownDisplayModel
- Enclosing class:
MarkdownDisplayConlet
The web console component’s model.
-
Field Summary
Fields inherited from class org.jgrapes.webconsole.base.ConletBaseModel
conletId
-
Constructor Summary
ConstructorDescriptionMarkdownDisplayModel
(String conletId) Creates a new model with the given type and id. -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()
boolean
void
setDeletable
(boolean deletable) void
setEditableBy
(Set<Principal> editableBy) void
setPreviewContent
(String previewContent) void
void
setViewContent
(String viewContent) Methods inherited from class org.jgrapes.webconsole.base.ConletBaseModel
equals, getConletId, hashCode
-
Constructor Details
-
MarkdownDisplayModel
Creates a new model with the given type and id.- Parameters:
conletId
- the web console component id
-
-
Method Details
-
getTitle
- Returns:
- the title
-
setTitle
- Parameters:
title
- the title to set
-
getPreviewContent
- Returns:
- the previewContent
-
setPreviewContent
- Parameters:
previewContent
- the previewContent to set
-
getViewContent
- Returns:
- the viewContent
-
setViewContent
- Parameters:
viewContent
- the viewContent to set
-
isDeletable
- Returns:
- the deletable
-
setDeletable
- Parameters:
deletable
- the deletable to set
-
getEditableBy
- Returns:
- the editableBy
-
setEditableBy
- Parameters:
editableBy
- the editableBy to set
-