|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.anotheria.db.service.BasePersistenceServiceJDBCImpl
net.anotheria.moskitodemo.annotation.CommentsPersistenceServiceImpl
public class CommentsPersistenceServiceImpl
| Field Summary |
|---|
| Fields inherited from class net.anotheria.db.service.BasePersistenceServiceJDBCImpl |
|---|
log |
| 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 objects. |
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. |
List<Comment> |
getCommentsByProperty(net.anotheria.util.slicer.Segment aSegment,
QueryProperty... aProperties)
Returns Comment objects segment which match the given property. |
int |
getCommentsCount()
Returns Comments objects count. |
Comment |
importComment(Comment comment)
Imports a new Comment object. |
List<Comment> |
importComments(List<Comment> list)
Imports multiple new Comment objects. |
void |
init()
|
Comment |
updateComment(Comment comment)
Updates a Comment object. |
List<Comment> |
updateComments(List<Comment> list)
Updates multiple Comment objects. |
| Methods inherited from class net.anotheria.db.service.BasePersistenceServiceJDBCImpl |
|---|
close, close, close, getConnection, release, release, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void init()
init in class net.anotheria.db.service.BasePersistenceServiceJDBCImpl
public List<Comment> getComments()
throws CommentsPersistenceServiceException
getComments in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public void deleteComment(String id)
throws CommentsPersistenceServiceException
deleteComment in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public void deleteComments(List<Comment> list)
throws CommentsPersistenceServiceException
deleteComments in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public Comment getComment(String id)
throws CommentsPersistenceServiceException
getComment in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public Comment importComment(Comment comment)
throws CommentsPersistenceServiceException
importComment in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public List<Comment> importComments(List<Comment> list)
throws CommentsPersistenceServiceException
importComments in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public Comment createComment(Comment comment)
throws CommentsPersistenceServiceException
createComment in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public List<Comment> createComments(List<Comment> list)
throws CommentsPersistenceServiceException
createComments in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public Comment updateComment(Comment comment)
throws CommentsPersistenceServiceException
updateComment in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public List<Comment> updateComments(List<Comment> list)
throws CommentsPersistenceServiceException
updateComments in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public List<Comment> getCommentsByProperty(QueryProperty... properties)
throws CommentsPersistenceServiceException
getCommentsByProperty in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public int getCommentsCount()
throws CommentsPersistenceServiceException
getCommentsCount in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public List<Comment> getComments(net.anotheria.util.slicer.Segment aSegment)
throws CommentsPersistenceServiceException
getComments in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
public List<Comment> getCommentsByProperty(net.anotheria.util.slicer.Segment aSegment,
QueryProperty... aProperties)
throws CommentsPersistenceServiceException
getCommentsByProperty in interface ICommentsPersistenceServiceCommentsPersistenceServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||