Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.

Comments

ktoso edited this page May 7, 2011 · 2 revisions

Query for comments

List<Comment> commentsBefore = janbanery.comments().of(task).all();

CommentFlow commentFlow = janbanery.comments().of(task).byId(234234L);

you may combine queries with actions thanks to the power of flows:

janbanery.comments().of(task).byId(345345L).delete();

Create a comment

CommentFlow commentFlow = janbanery.comments()
                                   .of(task)
                                   .create(new Comment("Comment text"))

Delete a comment

commentFlow.delete();

or directly by:

janbanery.comments().delete(comment);
Clone this wiki locally