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, ...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getAvailablesTemplates(String skinName)
Returns the list of available templates for a skinSet<String>
getAvailablesTemplates(Page page)
Returns the list of available templates for a given Page.
-
-
-
Method Detail
-
getAvailablesTemplates
Set<String> getAvailablesTemplates(Page page)
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
Set<String> getAvailablesTemplates(String skinName)
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
-
-