Package com.liferay.journal.util
Interface JournalDefaultTemplateProvider
public interface JournalDefaultTemplateProvider
Provides a default template for those JournalArticle instances which has no
DDM template defined.
-
Method Summary
Modifier and TypeMethodDescriptionDefault template language type.getScript
(long ddmStructureId) Default template script.boolean
Defines if default template is cacheable.
-
Method Details
-
getLanguage
String getLanguage()Default template language type.ftl
orvm
.- Returns:
- Default template language type.
-
getScript
Default template script.- Parameters:
ddmStructureId
- ID of the DDM structure to provide a template for.- Returns:
- Default template script text.
- Throws:
Exception
-
isCacheable
boolean isCacheable()Defines if default template is cacheable.- Returns:
true
if default template is cacheable,false
otherwise.
-