Class SiteGetterExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<T>
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentPrioritizableExtensionPoint<SiteGetter>
org.ametys.web.content.sitegetter.SiteGetterExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<SiteGetter>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class SiteGetterExtensionPoint
extends AbstractThreadSafeComponentPrioritizableExtensionPoint<SiteGetter>
Extension point linking a website to a content.
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSiteByContent
(Content content) Returns the site computed with higher priority extension if existsMethods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentPrioritizableExtensionPoint
getComparator, getExtensionsIds, initializeExtensions, sortPriorityAscending
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, hasExtension, initialize, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon Role
-
-
Constructor Details
-
SiteGetterExtensionPoint
public SiteGetterExtensionPoint()
-
-
Method Details
-
getSiteByContent
Returns the site computed with higher priority extension if exists- Parameters:
content
- the content- Returns:
- the site computed with higher priority extension if exists
-