| org.apache.lenya.cms.publication.templating.PublicationTemplateManager
All known Subclasses: org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl,
PublicationTemplateManager | public interface PublicationTemplateManager (Code) | |
Component to manage publication templates.
When a source is obtained, the traversing order is
- the publication itself,
- all its templates,
- the core.
version: $Id: PublicationTemplateManager.java 473861 2006-11-12 03:51:14Z gregor $ |
Method Summary | |
Object | getSelectableHint(Publication publication, ServiceSelector selector, String originalHint) Returns the hint for the publiation which declares a service.
Parameters: publication - The original publication. Parameters: selector - The service selector. Parameters: originalHint - The original hint. | void | visit(Publication publication, String path, SourceVisitor visitor)
Visits the versions of a source in traversing order. | void | visit(Publication publication, PublicationVisitor visitor) Visits the publications in traversing order. |
getSelectableHint | Object getSelectableHint(Publication publication, ServiceSelector selector, String originalHint) throws ServiceException(Code) | | Returns the hint for the publiation which declares a service.
Parameters: publication - The original publication. Parameters: selector - The service selector. Parameters: originalHint - The original hint. An object. throws: ServiceException - if an error occurs. |
visit | void visit(Publication publication, String path, SourceVisitor visitor)(Code) | |
Visits the versions of a source in traversing order. The source doesn't have to exist to be
visited.
Parameters: publication - The original publication. Parameters: path - The path of the source, relatively to the publication directory. Parameters: visitor - The visitor. |
visit | void visit(Publication publication, PublicationVisitor visitor)(Code) | | Visits the publications in traversing order. The core is not visited.
Parameters: publication - The original publication. Parameters: visitor - The visitor. |
|
|