Class AvoidanceLinkManager
java.lang.Object
com.jalios.jcms.a11y.avoidancelinks.AvoidanceLinkManager
- All Implemented Interfaces:
JPropertiesListener
- Since:
- jcms-10.0.5
-
Method Summary
Modifier and TypeMethodDescriptionReturns theAvoidanceLinkPropJSonobject from site propertiesgetAvoidanceLinks(String userLang) Returns global avoidance links from site propertiesstatic AvoidanceLinkManagerbooleanbooleanvoidpropertiesChange(JProperties properties) Invoked after properties have been modified in JCMS and save on disk.
-
Method Details
-
getInstance
-
propertiesChange
Description copied from interface:JPropertiesListenerInvoked after properties have been modified in JCMS and save on disk.You 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.getPropertiesorchannel.getProperty.- Specified by:
propertiesChangein interfaceJPropertiesListener- Parameters:
properties- the properties which have been submitted to change
-
isAvoidanceLinksEnabled
public boolean isAvoidanceLinksEnabled()- Returns:
- true if avoidance links are enabled on webapp
-
isAvoidanceContextualLinksEnabled
public boolean isAvoidanceContextualLinksEnabled()- Returns:
- true if avoidance links are enabled on webapp
- See Also:
-
getAvoidanceLinks
Returns global avoidance links from site properties- Parameters:
userLang- the userLang- Returns:
- a list of
AvoidanceLink
-
getAvoidanceLinkPropObject
Returns theAvoidanceLinkPropJSonobject from site properties- Returns:
- the
AvoidanceLinkPropJSonobject
-