|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.helpdesk.business.FaqDAO
public final class FaqDAO
This class provides Data Access methods for Faq objects
| Constructor Summary | |
|---|---|
FaqDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
java.util.Collection<Faq> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type |
java.util.Collection<Faq> |
findAuthorizedFaq(java.lang.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 |
java.util.Collection<Faq> |
findByWorkgroup(java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FaqDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IFaqDAOplugin - The Plugin using this data access service
public void insert(Faq faq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFaqDAOfaq - The Instance of the object Faqplugin - The Plugin using this data access service
public void delete(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFaqDAOnIdFaq - The indentifier of the object Faqplugin - The Plugin using this data access service
public Faq load(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFaqDAOnIdFaq - The indentifier of the object Faqplugin - The Plugin using this data access service
public void store(Faq faq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFaqDAOfaq - The instance of the Faq to updateplugin - The Plugin using this data access servicepublic java.util.Collection<Faq> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAll in interface IFaqDAOplugin - The Plugin using this data access service
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 service
ReferenceList
public java.util.Collection<Faq> findAuthorizedFaq(java.lang.String[] arrayRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAuthorizedFaq in interface IFaqDAOplugin - The Plugin using this data access servicearrayRoleKey - The role key array
public java.util.Collection<Faq> findByWorkgroup(java.lang.String[] strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByWorkgroup in interface IFaqDAOstrWorkgroupKey - The workgroup keyplugin - The Plugin using this data access service
public Faq findBySubjectId(int nSubjectId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findBySubjectId in interface IFaqDAOnSubjectId - subject idplugin - the plugin
public fr.paris.lutece.util.ReferenceList findListFaq(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findListFaq in interface IFaqDAOplugin - The Plugin using this data access service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||