Class PluginAvatarCommentAvatarService
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.modules.comment.service.PluginAvatarCommentAvatarService
-
- All Implemented Interfaces:
ICommentAvatarService
public class PluginAvatarCommentAvatarService extends java.lang.Object implements ICommentAvatarService
PluginAvatarCommentAvatarService : implementation based on the plugin-avatar.This is the only class of the module referencing the plugin-avatar API. It must never be referenced statically : it is instantiated by reflection by
CommentAvatarServiceonce the plugin-avatar has been detected on the classpath.
-
-
Constructor Summary
Constructors Constructor Description PluginAvatarCommentAvatarService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAvatar(Comment comment)Display the avatar of the comment's authorjava.lang.StringgetAvatarUrl(Comment comment)Display the avatar of the comment's author
-
-
-
Method Detail
-
getAvatar
public java.lang.String getAvatar(Comment comment)
Display the avatar of the comment's author- Specified by:
getAvatarin interfaceICommentAvatarService- Returns:
- The HTML code of the avatar
-
getAvatarUrl
public java.lang.String getAvatarUrl(Comment comment)
Display the avatar of the comment's author- Specified by:
getAvatarUrlin interfaceICommentAvatarService- Returns:
- The HTML code of the avatar
-
-