A
- public interface ICommentListener
Modifier and Type | Method and Description |
---|---|
String |
checkComment(String comment,
String uidUser)
Notify the check comment
|
void |
createComment(String strIdExtendableResource,
boolean bPublished)
Notify the creation of a comment
|
void |
createComment(String strIdExtendableResource,
boolean bPublished,
javax.servlet.http.HttpServletRequest request)
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
|
void createComment(String strIdExtendableResource, boolean bPublished)
strIdExtendableResource
- The id of the extendable resource
associated with the created commentbPublished
- True if the created comment is published, false
otherwisevoid createComment(String strIdExtendableResource, boolean bPublished, javax.servlet.http.HttpServletRequest request)
strIdExtendableResource
- The id of the extendable resource
associated with the created commentbPublished
- True if the created comment is published, false
otherwise
request HttpServletRequest the Http requestvoid publishComment(String strIdExtendableResource, boolean bPublished)
strIdExtendableResource
- The id of the extendable resource
associated with the modified commentbPublished
- True if the comment was published, false if it was
unpublishedvoid deleteComment(String strIdExtendableResource, List<Integer> listIdRemovedComment)
strIdExtendableResource
- The id of the extendable resource
associated with the removed commentlistIdRemovedComment
- The list of ids of removed commentsCopyright © 2016 City of Paris. All rights reserved.