| Constructor and Description |
|---|
FaqDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
Collection<Faq> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type
|
Collection<Faq> |
findAuthorizedFaq(String[] arrayRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all authorized objects of this type specified by roleKey (front office)
|
Faq |
findBySubjectId(int nSubjectId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a faq containing the subject
|
Collection<Faq> |
findByWorkgroup(String[] strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type
|
fr.paris.lutece.util.ReferenceList |
findListFaq(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type
|
fr.paris.lutece.util.ReferenceList |
findReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type
|
void |
insert(Faq faq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Faq |
load(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of Faq from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate a new primary key to add a new Faq
|
void |
store(Faq faq,
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 IFaqDAOplugin - The Plugin using this data access servicepublic void insert(Faq faq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Faq load(int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Faq faq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Collection<Faq> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
public fr.paris.lutece.util.ReferenceList findReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findReferenceList in interface IFaqDAOplugin - The Plugin using this data access serviceReferenceListpublic Collection<Faq> findAuthorizedFaq(String[] arrayRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAuthorizedFaq in interface IFaqDAOplugin - The Plugin using this data access servicearrayRoleKey - The role key arraypublic Collection<Faq> findByWorkgroup(String[] strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByWorkgroup in interface IFaqDAOstrWorkgroupKey - The workgroup keyplugin - The Plugin using this data access servicepublic Faq findBySubjectId(int nSubjectId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findBySubjectId in interface IFaqDAOnSubjectId - subject idplugin - the pluginpublic fr.paris.lutece.util.ReferenceList findListFaq(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findListFaq in interface IFaqDAOplugin - The Plugin using this data access serviceCopyright © 2015 City of Paris. All rights reserved.