Class WebSiteGetter

java.lang.Object
org.ametys.web.content.sitegetter.AbstractSiteGetter
org.ametys.web.content.sitegetter.WebSiteGetter
All Implemented Interfaces:
Prioritizable, SiteGetter, Configurable

public class WebSiteGetter extends AbstractSiteGetter
Extension point linking a website to a content.
  • Constructor Details

  • Method Details

    • supports

      public boolean supports(Content content)
      Description copied from interface: SiteGetter
      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

      public Site getSite(Content content)
      Description copied from interface: SiteGetter
      Returns true the site to use for this content
      Parameters:
      content - The content
      Returns:
      the site to use for this content