fr.paris.lutece.plugins.extend.modules.comment.service
Interface ICommentListener


public interface ICommentListener

Interface of listeners of comments


Method Summary
 void createComment(String strIdExtendableResource, boolean bPublished)
          Notify the creation of a comment
 void deleteComment(String strIdExtendableResource, List<Integer> listIdRemovedComment)
          Notify the removal of a comment
 void publishComment(String strIdExtendableResource, boolean bPublished)
          Notify the publication or unpublication of a comment
 

Method Detail

createComment

void createComment(String strIdExtendableResource,
                   boolean bPublished)
Notify the creation of a comment

Parameters:
strIdExtendableResource - The id of the extendable resource associated with the created comment
bPublished - True if the created comment is published, false otherwise

publishComment

void publishComment(String strIdExtendableResource,
                    boolean bPublished)
Notify the publication or unpublication of a comment

Parameters:
strIdExtendableResource - The id of the extendable resource associated with the modified comment
bPublished - True if the comment was published, false if it was unpublished

deleteComment

void deleteComment(String strIdExtendableResource,
                   List<Integer> listIdRemovedComment)
Notify the removal of a comment

Parameters:
strIdExtendableResource - The id of the extendable resource associated with the removed comment
listIdRemovedComment - The list of ids of removed comments


Copyright © 2014 Mairie de Paris. All Rights Reserved.