|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IQuestionAnswerDAO
This interface represents the business object of the answer
| Method Summary | |
|---|---|
int |
countbySubject(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
void |
delete(int nIdQuestionAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all records from the table |
void |
deleteBySubject(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
java.util.List<QuestionAnswer> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects. |
java.util.Collection<QuestionAnswer> |
findByIdSubject(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find questions specified by id subject |
java.util.List<QuestionAnswer> |
findByKeywords(java.lang.String strKeywords,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of QuestionAnswer from the table |
void |
insert(QuestionAnswer questionAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
QuestionAnswer |
load(int nIdQuestionAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of QuestionAnswer from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate a new primary key to add a new QuestionAnswer |
void |
store(QuestionAnswer questionAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Method Detail |
|---|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin using this data access service
void insert(QuestionAnswer questionAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
questionAnswer - The Instance of the object QuestionAnswerplugin - The Plugin using this data access service
void delete(int nIdQuestionAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestionAnswer - The indentifier of the object QuestionAnswerplugin - The Plugin using this data access servicevoid deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin using this data access service
void deleteBySubject(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSubject - The indentifier of the object QuestionAnswerplugin - The Plugin using this data access service
QuestionAnswer load(int nIdQuestionAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestionAnswer - The indentifier of the object QuestionAnswerplugin - The Plugin using this data access service
void store(QuestionAnswer questionAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
questionAnswer - The instance of the QuestionAnswer to updateplugin - The Plugin using this data access servicejava.util.List<QuestionAnswer> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin using this data access service
java.util.List<QuestionAnswer> findByKeywords(java.lang.String strKeywords,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strKeywords - The keywords which are searched in question/answerplugin - The Plugin using this data access service
java.util.Collection<QuestionAnswer> findByIdSubject(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSubject - The Id of the subjectplugin - The current plugin using this method
int countbySubject(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin using this data access servicenIdSubject - The Subject ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||