|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICommentDAO
ICommentDAO.
| Method Summary | |
|---|---|
void |
delete(int nIdComment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete. |
void |
deleteByResource(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete by id hub resource. |
int |
getCommentNb(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check comment nb. |
void |
insert(Comment comment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert. |
Comment |
load(int nIdComment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load. |
java.util.List<Comment> |
selectByResource(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
boolean bPublishedOnly,
boolean bAscSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select by id hub resource. |
java.util.List<Comment> |
selectLastComments(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
int nNbComments,
boolean bPublishedOnly,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load last comments. |
void |
store(Comment comment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Store. |
void |
updateCommentStatus(int nIdComment,
boolean bPublished,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update comment status. |
| Method Detail |
|---|
void delete(int nIdComment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdComment - the n id commentplugin - the plugin
void deleteByResource(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typeplugin - the plugin
void insert(Comment comment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
comment - the commentplugin - the plugin
Comment load(int nIdComment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdComment - the n id commentplugin - the plugin
void store(Comment comment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
comment - the commentplugin - the plugin
java.util.List<Comment> selectByResource(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
boolean bPublishedOnly,
boolean bAscSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typebPublishedOnly - the b publishedbAscSort - True if comments should be sorted ascendantly, false otherwiseplugin - the plugin
void updateCommentStatus(int nIdComment,
boolean bPublished,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdComment - the n id commentbPublished - the b publishedplugin - the plugin
int getCommentNb(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typeplugin - the plugin
java.util.List<Comment> selectLastComments(java.lang.String strIdExtendableResource,
java.lang.String strExtendableResourceType,
int nNbComments,
boolean bPublishedOnly,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typenNbComments - the n nb commentsbPublishedOnly - the b published onlyplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||