Interface JournalDefaultTemplateProvider


public interface JournalDefaultTemplateProvider
Provides a default template for those JournalArticle instances which has no DDM template defined.
  • Method Summary

    Modifier and Type
    Method
    Description
    Default 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 or vm.
      Returns:
      Default template language type.
    • getScript

      String getScript(long ddmStructureId) throws Exception
      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.