Package org.xwiki.like
Interface LikeConfiguration
-
@Role public interface LikeConfiguration
Configuration API for Like.- Since:
- 12.7RC1
- Version:
- $Id: b921037f30e9660ea706702e6403e9b671b0398f $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
alwaysDisplayButton()
int
getLikeCacheCapacity()
default boolean
isEnabled()
-
-
-
Method Detail
-
alwaysDisplayButton
boolean alwaysDisplayButton()
- Returns:
true
if the button showing Like information should be displayed even when users don't have rights to interact with it.
-
getLikeCacheCapacity
int getLikeCacheCapacity()
- Returns:
- the maximum number of like information to keep in cache.
-
isEnabled
default boolean isEnabled()
- Returns:
true
if the like feature is enabled.- Since:
- 13.1RC1
-
-