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