Interface SiteGetter

All Superinterfaces:
Prioritizable
All Known Implementing Classes:
AbstractSiteGetter, ODFWebSiteGetter, WebSiteGetter

public interface SiteGetter extends Prioritizable
This interface is for computing the site to use for a given content.
  • Method Summary

    Modifier and Type
    Method
    Description
    getSite(Content content)
    Returns true the site to use for this content
    boolean
    supports(Content content)
    Returns true if this access controller supports the given object

    Methods inherited from interface org.ametys.runtime.plugin.component.Prioritizable

    getPriority
  • Method Details

    • supports

      boolean supports(Content content)
      Returns true if this access controller supports the given object
      Parameters:
      content - The content to test
      Returns:
      true if this access controller supports the given object
    • getSite

      Site getSite(Content content)
      Returns true the site to use for this content
      Parameters:
      content - The content
      Returns:
      the site to use for this content