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.
-
-
Field Summary
-
Fields inherited from class org.ametys.web.content.sitegetter.AbstractSiteGetter
_priority
-
-
Constructor Summary
Constructors Constructor Description WebSiteGetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SitegetSite(Content content)Returns true the site to use for this contentbooleansupports(Content content)Returns true if this access controller supports the given object-
Methods inherited from class org.ametys.web.content.sitegetter.AbstractSiteGetter
configure, getPriority
-
-
-
-
Constructor Detail
-
WebSiteGetter
public WebSiteGetter()
-
-
Method Detail
-
supports
public boolean supports(Content content)
Description copied from interface:SiteGetterReturns 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:SiteGetterReturns true the site to use for this content- Parameters:
content- The content- Returns:
- the site to use for this content
-
-