public final class AvoidanceLinkManager extends java.lang.Object implements JPropertiesListener
REVISION| Modifier and Type | Method and Description |
|---|---|
AvoidanceLinkPropJSon |
getAvoidanceLinkPropObject()
Returns the
AvoidanceLinkPropJSon object from site properties |
java.util.List<AvoidanceLink> |
getAvoidanceLinks(java.lang.String userLang)
Returns global avoidance links from site properties
|
static AvoidanceLinkManager |
getInstance() |
boolean |
isAvoidanceContextualLinksEnabled() |
boolean |
isAvoidanceLinksEnabled() |
void |
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk.
|
public static AvoidanceLinkManager getInstance()
public void propertiesChange(JProperties properties)
JPropertiesListenerYou cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using channel.getProperties or
channel.getProperty.
propertiesChange in interface JPropertiesListenerproperties - the properties which have been submitted to changepublic boolean isAvoidanceLinksEnabled()
public boolean isAvoidanceContextualLinksEnabled()
JcmsJspContext.addAvoidanceLink(String, String)public java.util.List<AvoidanceLink> getAvoidanceLinks(java.lang.String userLang)
userLang - the userLangAvoidanceLinkpublic AvoidanceLinkPropJSon getAvoidanceLinkPropObject()
AvoidanceLinkPropJSon object from site propertiesAvoidanceLinkPropJSon objectCopyright © 2001-2022 Jalios SA. All Rights Reserved.