|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.helpdesk.business.VisitorQuestionDAO
public final class VisitorQuestionDAO
This class provides Data Access methods for VisitorQuestionAnswer objects
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey
in interface IVisitorQuestionDAO
plugin
- The Plugin using this data access service
public void insert(VisitorQuestion visitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IVisitorQuestionDAO
visitorQuestion
- 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 IVisitorQuestionDAO
nIdVisitorQuestion
- 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 IVisitorQuestionDAO
nIdVisitorQuestion
- The indentifier of the object VisitorQuestionplugin
- The Plugin using this data access service
public void store(VisitorQuestion visitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IVisitorQuestionDAO
visitorQuestion
- 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 IVisitorQuestionDAO
plugin
- The Plugin using this data access service
public Collection<VisitorQuestion> findByUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByUser
in interface IVisitorQuestionDAO
nIdUser
- The User IDplugin
- The Plugin using this data access service
public Collection<VisitorQuestion> findByTheme(int nIdTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByTheme
in interface IVisitorQuestionDAO
nIdTheme
- The theme IDplugin
- The Plugin using this data access service
public Collection<VisitorQuestion> findArchivedQuestionsByTheme(int nIdTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findArchivedQuestionsByTheme
in interface IVisitorQuestionDAO
nIdTheme
- The Theme idplugin
- The Plugin using this data access service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |