Class WebSiteGetter
java.lang.Object
org.ametys.web.content.sitegetter.AbstractSiteGetter
org.ametys.web.content.sitegetter.WebSiteGetter
- All Implemented Interfaces:
Prioritizable
,Supporter<Content>
,SiteGetter
,Configurable
Extension point linking a website to a content.
-
Field Summary
Fields inherited from class org.ametys.web.content.sitegetter.AbstractSiteGetter
_priority
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.web.content.sitegetter.AbstractSiteGetter
configure, getPriority
-
Constructor Details
-
WebSiteGetter
public WebSiteGetter()
-
-
Method Details
-
supports
Description copied from interface:Supporter
Check if an element is supported- Parameters:
content
- The element- Returns:
true
if the element is supported,false
otherwise
-
getSite
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
-