Package com.kazurayam.materialstore.core
Interface TemplateReady
- All Superinterfaces:
Jsonifiable
- All Known Subinterfaces:
IFileType
,TemplateReadySortable
- All Known Implementing Classes:
FileType
,IgnoreMetadataKeys
,IgnoreMetadataKeysImpl
,IndexEntry
,Material
,MaterialList
,MaterialProduct
,MaterialProductGroup
,Metadata
,MetadataAttribute
,MetadataImpl
,QueryOnMetadata
,QueryOnMetadataImpl
,SemanticVersionMatcherResult
-
Method Summary
Modifier and TypeMethodDescriptionconvert the object into Map object which can be consumed by FreeMarker as modeldefault String
default String
toTemplateModelAsJson
(boolean prettyPrint) Methods inherited from interface com.kazurayam.materialstore.core.Jsonifiable
toJson, toJson
-
Method Details
-
toTemplateModel
convert the object into Map object which can be consumed by FreeMarker as model- Returns:
- a model
-
toTemplateModelAsJson
- Returns:
- one line json (non-pretty-printed)
-
toTemplateModelAsJson
-