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 Detail

      • ROLE

        static final String ROLE
        Constant for Avalon ROLE
    • Method Detail

      • getAvailablesTemplates

        Set<StringgetAvailablesTemplates​(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<StringgetAvailablesTemplates​(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