Package org.ametys.web.skin
Interface TemplatesAssignmentHandler
- All Known Implementing Classes:
StaticTemplatesAssignmentHandler
public interface TemplatesAssignmentHandler
A TemplatesHandler is responsible for giving the available templates list for a given Page.
This list can be computed according any application needs, such as Rights of the logged in user, path of the Page, ...
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAvailablesTemplates
(String skinName) Returns the list of available templates for a skingetAvailablesTemplates
(Page page) Returns the list of available templates for a given Page.
-
Field Details
-
ROLE
Constant for Avalon ROLE
-
-
Method Details
-
getAvailablesTemplates
Returns the list of available templates for a given Page.- Parameters:
page
- the Page to consider- Returns:
- the list of available templates for a given Page
-
getAvailablesTemplates
Returns the list of available templates for a skin- Parameters:
skinName
- the name of the skin to consider- Returns:
- the list of available templates for this skin
-