|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommentsListProvider
Interface representing operations over comments list
Method Summary | |
---|---|
String |
addComment(String text,
boolean isHtml,
List attachments)
Adds new comment |
boolean |
canCreateComment()
If current user could create new comments |
boolean |
canDeleteComment(String commentID)
If current user could delete specific comment |
boolean |
canUpdateComment(String commentID)
If current user could update specific comment |
void |
deleteComment(String commentID)
Deletes specified comment |
ICommentEntry[] |
getCommentsList()
Returns list of all comments |
String |
getContainerID()
Returns containerID for the comments list |
void |
refresh()
Refreshes content of the provider |
void |
setContainerID(String containerID)
Sets containerID for this comments list |
void |
updateComment(String commendID,
String text,
List attachments,
List deleteAttachments)
Updates an existing comment |
Method Detail |
---|
String getContainerID()
void setContainerID(String containerID) throws Exception
Exception
boolean canCreateComment() throws Exception
Exception
boolean canDeleteComment(String commentID) throws Exception
Exception
boolean canUpdateComment(String commentID) throws Exception
Exception
ICommentEntry[] getCommentsList() throws Exception
Exception
void deleteComment(String commentID) throws Exception
Exception
String addComment(String text, boolean isHtml, List attachments) throws Exception
text
- comment textisHtml
- if text is in HTML formatattachments
- list of attachments
Exception
void updateComment(String commendID, String text, List attachments, List deleteAttachments) throws Exception
commendID
- commentID to updatetext
- new text for commentattachments
- list of new or updates attachmentsdeleteAttachments
- list of deleted attachments (by name)
Exception
void refresh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |