Interface TemplateStoreRoot

All Superinterfaces:
Comparable<StoreElement>, HistoryProvider, IDProvider, Store, StoreElement, StoreElementFolder, Workflowable

public interface TemplateStoreRoot extends Store
This interface provides methods for the TemplateStore root node, i.e. access to the sub root nodes, getting a template by its 'template id' (getTemplateById(long), and getting a workflow by its 'workflow id' (getWorkflowById(long)).
Since:
4.0
  • Method Details

    • getTemplateById

      @Nullable @Nullable MasterTemplate getTemplateById(long templateId)
      Get the template by given template id or null if no template exists with the given template id. The template id id is not equal to IDProvider.getId().
      Parameters:
      templateId - template id of the template to search .
      Returns:
      The template with the given template id or null.
      Since:
      4.0
    • getPageTemplates

      PageTemplates getPageTemplates()
      Access to the sub root node for page templates.
      Since:
      3.0
    • getSectionTemplates

      SectionTemplates getSectionTemplates()
      Access to the sub root node for section templates.
      Since:
      3.0
    • getFormatTemplates

      FormatTemplates getFormatTemplates()
      Access to the sub root node for format templates.
      Since:
      3.0
    • getScripts

      Scripts getScripts()
      Access to the sub root node for scripts.
      Since:
      3.0
    • getLinkTemplates

      LinkTemplates getLinkTemplates()
      Access to the sub root node for link templates.
      Since:
      3.0
    • getWorkflows

      Workflows getWorkflows()
      Access to the sub root node for workflows.
      Since:
      3.0
    • getWorkflowById

      @Nullable @Nullable Workflow getWorkflowById(long workflowId)
      Returns the workflow with the given workflow id null if no workflow exits with the given id.
      Since:
      3.0
    • getWorkflowByName

      @Nullable @Nullable Workflow getWorkflowByName(String name)
      Get a workflow by its uid.
      Since:
      3.0
      See Also:
    • getSchemes

      Schemes getSchemes()
      Access to the sub root node for schema nodes.
      Since:
      3.0