|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISubjectDAO
Interface for Subject DAO
| Method Summary | |
|---|---|
int |
countQuestion(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
void |
delete(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
java.util.List<Subject> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type |
java.util.List<QuestionAnswer> |
findQuestions(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all questions on a subject |
fr.paris.lutece.util.ReferenceList |
findSubject(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type |
void |
insert(Subject subject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Subject |
load(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of Subject from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate a new primary key to add a new Subject |
void |
store(Subject subject,
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(Subject subject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
subject - The Instance of the object Subjectplugin - The Plugin using this data access service
void delete(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSubject - The indentifier of the object Subjectplugin - The Plugin using this data access service
Subject load(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSubject - The indentifier of the object Subjectplugin - The Plugin using this data access service
void store(Subject subject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
subject - The instance of the Subject to updateplugin - The Plugin using this data access servicejava.util.List<Subject> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin using this data access service
fr.paris.lutece.util.ReferenceList findSubject(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin using this data access service
java.util.List<QuestionAnswer> findQuestions(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSubject - The identifier of the subjectplugin - The Plugin using this data access service
int countQuestion(int nIdSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The current plugin using this methodnIdSubject - The subject ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||