public final class CommentHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Comment |
create(Comment comment)
Create an instance of the comment class
|
static Comment |
findByPrimaryKey(int nKey)
Returns an instance of a comment whose identifier is specified in parameter
|
static List<Comment> |
getCommentsList()
Load the data of all the comment objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getCommentsReferenceList()
Load the data of all the comment objects and returns them as a referenceList
|
static List<Integer> |
getIdCommentsList()
Load the id of all the comment objects and returns them as a list
|
static void |
remove(int nKey)
Remove the comment whose identifier is specified in parameter
|
static void |
removeByIdFom(int nIdForm)
Remove the comments whose identifier of form is specified in parameter
|
static List<Comment> |
selectCommentsList(Date startingDate,
Date endingDate,
int nIdForm)
Load the data from the table
|
static List<Comment> |
selectCommentsListInclusive(Date startingDate,
Date endingDate,
int nIdForm)
Load the data from the table
the date start
|
static Comment |
update(Comment comment)
Update of the comment which is specified in parameter
|
public static Comment create(Comment comment)
comment - The instance of the Comment which contains the informations to storepublic static Comment update(Comment comment)
comment - The instance of the Comment which contains the data to storepublic static void remove(int nKey)
nKey - The comment Idpublic static void removeByIdFom(int nIdForm)
nIdForm - The form Idpublic static Comment findByPrimaryKey(int nKey)
nKey - The comment primary keypublic static List<Comment> getCommentsList()
public static List<Comment> selectCommentsList(Date startingDate, Date endingDate, int nIdForm)
startingDate - the date startendingDate - the date endpublic static List<Comment> selectCommentsListInclusive(Date startingDate, Date endingDate, int nIdForm)
endingDate - the date endpublic static List<Integer> getIdCommentsList()
public static fr.paris.lutece.util.ReferenceList getCommentsReferenceList()
Copyright © 2022 City of Paris. All rights reserved.