|
||||||||||
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 |
java.util.List<VisitorQuestion> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects |
fr.paris.lutece.util.ReferenceList |
findByTopic(int nIdQuestionTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects |
java.util.List<VisitorQuestion> |
findByTopics(int nIdQuestionTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects |
java.util.List<VisitorQuestion> |
findByType(int nIdQuestionType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects |
java.util.List<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 java.util.List<VisitorQuestion> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAll
in interface IVisitorQuestionDAO
plugin
- The Plugin using this data access service
public java.util.List<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 fr.paris.lutece.util.ReferenceList findByTopic(int nIdQuestionTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByTopic
in interface IVisitorQuestionDAO
nIdQuestionTopic
- The Question Topic IDplugin
- The Plugin using this data access service
public java.util.List<VisitorQuestion> findByTopics(int nIdQuestionTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByTopics
in interface IVisitorQuestionDAO
nIdQuestionTopic
- The Question Topic IDplugin
- The Plugin using this data access service
public java.util.List<VisitorQuestion> findByType(int nIdQuestionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByType
in interface IVisitorQuestionDAO
nIdQuestionType
- The Question type idplugin
- The Plugin using this data access service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |