Interface ContentTypesAssignmentHandler

All Known Implementing Classes:
DefaultContentTypesAssignmentHandler

A ContentTypesAssignementHandler is responsible for giving the available content types list for a given Zone. This list can be computed according any application needs, such as Rights of the logged in user, path of the Page, ...
  • Field Details

  • Method Details

    • getAvailableContentTypes

      Returns the list of available content types for a given Site
      Parameters:
      site - the site to consider
      Returns:
      the list of available content types id
    • getAvailableContentTypes

      Set<String> getAvailableContentTypes(Site site, boolean includePrivate)
      Returns the list of available content types for a given Site
      Parameters:
      site - the site to consider
      includePrivate - true to include private content types
      Returns:
      the list of available content types id
    • getAvailableContentTypes

      Returns the list of available content types for a given Page and zone name.
      Parameters:
      page - the Page to consider
      zoneName - the zone name to consider
      Returns:
      the list of available content types id
    • getAvailableContentTypes

      Set<String> getAvailableContentTypes(Page page, String zoneName, boolean includePrivate)
      Returns the list of available content types for a given Page and zone name.
      Parameters:
      page - the Page to consider
      zoneName - the zone name to consider
      includePrivate - true to include private content types
      Returns:
      the list of available content types id