A C D G I L M O R S U 
All Classes All Packages

A

alwaysDisplayButton() - Method in interface org.xwiki.like.LikeConfiguration
 

C

clearCache() - Method in interface org.xwiki.like.LikeManager
Clear all data from caches.
clearCache(EntityReference) - Method in interface org.xwiki.like.LikeManager
Clear like data related to the given reference from cache.
countUserLikes(UserReference) - Method in interface org.xwiki.like.LikeManager
Retrieve the total number of likes performed by a user.
countUserLikes(UserReference) - Method in class org.xwiki.like.script.LikeScriptService
Count the number of likes performed by the given user.

D

displayButton(EntityReference) - Method in class org.xwiki.like.script.LikeScriptService
Check if the display button should be displayed: should be true if the like feature is enabled (see LikeConfiguration.isEnabled()) and if current user is authorized to use like (see isAuthorized(EntityReference)) or if the configuration is set to always display it (see LikeConfiguration.alwaysDisplayButton()).

G

getEntityLikes(EntityReference) - Method in interface org.xwiki.like.LikeManager
Retrieve like information a specific entity.
getLikeCacheCapacity() - Method in interface org.xwiki.like.LikeConfiguration
 
getLikeRight() - Method in interface org.xwiki.like.LikeManager
 
getLikers(EntityReference, int, int) - Method in interface org.xwiki.like.LikeManager
Retrieve the users who liked the given reference.
getLikers(EntityReference, int, int) - Method in class org.xwiki.like.script.LikeScriptService
Return the likers of a reference.
getLikes(EntityReference) - Method in class org.xwiki.like.script.LikeScriptService
Retrieve like information for the given reference.
getUserLikes(UserReference, int, int) - Method in interface org.xwiki.like.LikeManager
Retrieve the likes performed by the given user.
getUserLikes(UserReference, int, int) - Method in class org.xwiki.like.script.LikeScriptService
Retrieve likes performed by the given user.

I

isAuthorized(EntityReference) - Method in class org.xwiki.like.script.LikeScriptService
Check if current user is allowed to use Like on the given reference.
isEnabled() - Method in interface org.xwiki.like.LikeConfiguration
 
isEnabled() - Method in class org.xwiki.like.script.LikeScriptService
 
isLiked(EntityReference) - Method in class org.xwiki.like.script.LikeScriptService
Determine if the current user already liked the given reference.
isLiked(UserReference, EntityReference) - Method in interface org.xwiki.like.LikeManager
Check if an entity is liked by an user without loading all likers.

L

like(EntityReference) - Method in class org.xwiki.like.script.LikeScriptService
Perform a like on the given reference with the current user, only if allowed.
LikeConfiguration - Interface in org.xwiki.like
Configuration API for Like.
LikeEvent - Class in org.xwiki.like.events
An event sent when a Like action is performed.
LikeEvent() - Constructor for class org.xwiki.like.events.LikeEvent
 
LikeException - Exception in org.xwiki.like
Generic exception for Like module.
LikeException(String) - Constructor for exception org.xwiki.like.LikeException
Default constructor with message.
LikeException(String, Throwable) - Constructor for exception org.xwiki.like.LikeException
Constructor with message and parent exception.
LikeManager - Interface in org.xwiki.like
General manager to handle likes.
LikeScriptService - Class in org.xwiki.like.script
Script service for manipulating Like informations.
LikeScriptService() - Constructor for class org.xwiki.like.script.LikeScriptService
 

M

matches(Object) - Method in class org.xwiki.like.events.LikeEvent
 
matches(Object) - Method in class org.xwiki.like.events.UnlikeEvent
 

O

org.xwiki.like - package org.xwiki.like
 
org.xwiki.like.events - package org.xwiki.like.events
 
org.xwiki.like.script - package org.xwiki.like.script
 

R

removeLike(UserReference, EntityReference) - Method in interface org.xwiki.like.LikeManager
Allow a user to unlike an entity.

S

saveLike(UserReference, EntityReference) - Method in interface org.xwiki.like.LikeManager
Create a page like and save it.

U

unlike(EntityReference) - Method in class org.xwiki.like.script.LikeScriptService
Perform a unlike on the given reference with the current user, only if allowed.
UnlikeEvent - Class in org.xwiki.like.events
An event sent when a Unlike action is performed.
UnlikeEvent() - Constructor for class org.xwiki.like.events.UnlikeEvent
 
A C D G I L M O R S U 
All Classes All Packages