public final class VisitorQuestionDAO extends Object implements IVisitorQuestionDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdVisitorQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
Collection<VisitorQuestion> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects
|
Collection<VisitorQuestion> |
findArchivedQuestionsByTheme(int nIdTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all archived questions by Theme
|
Collection<VisitorQuestion> |
findByTheme(int nIdTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects
|
Collection<VisitorQuestion> |
findByUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects
|
void |
insert(VisitorQuestion visitorQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
VisitorQuestion |
load(int nIdVisitorQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of VisitorQuestion from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate a new primary key to add a new VisitorQuestion
|
void |
store(VisitorQuestion visitorQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IVisitorQuestionDAOplugin - The Plugin using this data access servicepublic void insert(VisitorQuestion visitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IVisitorQuestionDAOvisitorQuestion - The Instance of the object VisitorQuestionplugin - The Plugin using this data access servicepublic void delete(int nIdVisitorQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IVisitorQuestionDAOnIdVisitorQuestion - The indentifier of the object VisitorQuestionplugin - The Plugin using this data access servicepublic VisitorQuestion load(int nIdVisitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IVisitorQuestionDAOnIdVisitorQuestion - The indentifier of the object VisitorQuestionplugin - The Plugin using this data access servicepublic void store(VisitorQuestion visitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IVisitorQuestionDAOvisitorQuestion - The instance of the VisitorQuestion to updateplugin - The Plugin using this data access servicepublic Collection<VisitorQuestion> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAll in interface IVisitorQuestionDAOplugin - The Plugin using this data access servicepublic Collection<VisitorQuestion> findByUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByUser in interface IVisitorQuestionDAOnIdUser - The User IDplugin - The Plugin using this data access servicepublic Collection<VisitorQuestion> findByTheme(int nIdTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByTheme in interface IVisitorQuestionDAOnIdTheme - The theme IDplugin - The Plugin using this data access servicepublic Collection<VisitorQuestion> findArchivedQuestionsByTheme(int nIdTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findArchivedQuestionsByTheme in interface IVisitorQuestionDAOnIdTheme - The Theme idplugin - The Plugin using this data access serviceCopyright © 2018 City of Paris. All rights reserved.