|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDocumentCommentDAO
| Method Summary | |
|---|---|
int |
checkCommentNb(int nDocumentId)
Return the nb of comment for a document |
void |
delete(int nCommentId)
Delete a record from the table |
void |
insert(DocumentComment documentComment)
Insert a new record in the table. |
DocumentComment |
load(int nCommentId)
Load the data of DocumentComment from the table |
java.util.List<DocumentComment> |
selectByDocument(int nDocumentId,
boolean bPublishedOnly)
Gets all the comments for an document |
void |
store(DocumentComment documentComment)
Update the record in the table |
void |
updateCommentStatus(int nCommentId,
int nStatus)
Update status from the comment |
| Method Detail |
|---|
void delete(int nCommentId)
nCommentId - the documentComment identifiervoid insert(DocumentComment documentComment)
documentComment - The DocumentComment objectDocumentComment load(int nCommentId)
nCommentId - The identifier of DocumentComment
java.util.List<DocumentComment> selectByDocument(int nDocumentId,
boolean bPublishedOnly)
nDocumentId - the identifier of the DocumentbPublishedOnly - set to true to return published comments only
void store(DocumentComment documentComment)
documentComment - The reference of DdocumentComment
void updateCommentStatus(int nCommentId,
int nStatus)
nCommentId - The Comment identifiernStatus - The published Statusint checkCommentNb(int nDocumentId)
nDocumentId - the document identifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||