|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICommentsPersistenceService
| Method Summary | |
|---|---|
Comment |
createComment(Comment comment)
Creates a new Comment object. |
List<Comment> |
createComments(List<Comment> list)
Creates multiple new Comment objects. |
void |
deleteComment(String id)
Deletes a Comment object by id. |
void |
deleteComments(List<Comment> list)
Deletes multiple Comment object. |
Comment |
getComment(String id)
Returns the Comment object with the specified id. |
List<Comment> |
getComments()
Returns all Comments objects stored. |
List<Comment> |
getComments(net.anotheria.util.slicer.Segment aSegment)
Returns Comments objects segment. |
List<Comment> |
getCommentsByProperty(QueryProperty... properties)
Returns all Comment objects which match the given property or properties. |
List<Comment> |
getCommentsByProperty(net.anotheria.util.slicer.Segment aSegment,
QueryProperty... properties)
Returns Comment objects segment which match the given property or properties. |
int |
getCommentsCount()
Returns all Comments count. |
Comment |
importComment(Comment comment)
Imports a new Comment object. |
List<Comment> |
importComments(List<Comment> list)
Imports multiple new Comment objects. |
Comment |
updateComment(Comment comment)
Updates a Comment object. |
List<Comment> |
updateComments(List<Comment> list)
Updates multiple Comment object. |
| Method Detail |
|---|
List<Comment> getComments()
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
void deleteComment(String id)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
void deleteComments(List<Comment> list)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
Comment getComment(String id)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
Comment importComment(Comment comment)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
List<Comment> importComments(List<Comment> list)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
Comment createComment(Comment comment)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
List<Comment> createComments(List<Comment> list)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
Comment updateComment(Comment comment)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
List<Comment> updateComments(List<Comment> list)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
List<Comment> getCommentsByProperty(QueryProperty... properties)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
int getCommentsCount()
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
List<Comment> getComments(net.anotheria.util.slicer.Segment aSegment)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
List<Comment> getCommentsByProperty(net.anotheria.util.slicer.Segment aSegment,
QueryProperty... properties)
throws CommentsPersistenceServiceException
CommentsPersistenceServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||