Class ODFWebSiteGetter
java.lang.Object
org.ametys.web.content.sitegetter.AbstractSiteGetter
org.ametys.plugins.odfweb.content.ODFWebSiteGetter
- All Implemented Interfaces:
Prioritizable
,SiteGetter
,Configurable
,Serviceable
Extension point linking a website to a content.
-
Field Summary
Modifier and TypeFieldDescriptionprotected ContentTypesHelper
Content types helperprotected SiteManager
The site managerFields inherited from class org.ametys.web.content.sitegetter.AbstractSiteGetter
_priority
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.web.content.sitegetter.AbstractSiteGetter
configure, getPriority
-
Field Details
-
_siteManager
The site manager -
_cTypeHelper
Content types helper
-
-
Constructor Details
-
ODFWebSiteGetter
public ODFWebSiteGetter()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
supports
Description copied from interface:SiteGetter
Returns true if this access controller supports the given object- Specified by:
supports
in interfaceSiteGetter
- Parameters:
content
- The content to test- Returns:
- true if this access controller supports the given object
-
getSite
Description copied from interface:SiteGetter
Returns true the site to use for this content- Specified by:
getSite
in interfaceSiteGetter
- Parameters:
content
- The content- Returns:
- the site to use for this content
-