Class DefaultCommentAvatarService
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.modules.comment.service.DefaultCommentAvatarService
-
- All Implemented Interfaces:
ICommentAvatarService
public class DefaultCommentAvatarService extends java.lang.Object implements ICommentAvatarService
DefaultCommentAvatarService : implementation used when the plugin-avatar is not available. It does not display any avatar.
-
-
Constructor Summary
Constructors Constructor Description DefaultCommentAvatarService()
-
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
-
-