Interface TemplateCollector
- All Known Implementing Classes:
TemplateCollectorImpl
public interface TemplateCollector
This service collects the templates from several sources.
-
Method Summary
Modifier and TypeMethodDescriptionCollect all templates.collectTemplates
(Predicate<CmsTemplate> predicate) Collect all templates which fulfill a given predicate.
-
Method Details
-
collectTemplates
Map<String,CmsTemplate> collectTemplates()Collect all templates.- Returns:
- the collected templates.
-
collectTemplates
Collect all templates which fulfill a given predicate.- Parameters:
predicate
- A predicate for filtering the templates.- Returns:
- the collected templates.
-