|
||||||||||
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 |
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 |
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 IFaqDAO
plugin
- The Plugin using this data access service
public void insert(Faq faq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IFaqDAO
faq
- The Instance of the object Faqplugin
- The Plugin using this data access servicepublic void delete(int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IFaqDAO
nIdFaq
- The indentifier of the object Faqplugin
- The Plugin using this data access servicepublic Faq load(int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IFaqDAO
nIdFaq
- 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 IFaqDAO
faq
- The instance of the Faq to updateplugin
- The Plugin using this data access servicepublic Collection<Faq> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAll
in interface IFaqDAO
plugin
- 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 IFaqDAO
plugin
- The Plugin using this data access service
ReferenceList
public Collection<Faq> findAuthorizedFaq(String[] arrayRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAuthorizedFaq
in interface IFaqDAO
plugin
- The Plugin using this data access servicearrayRoleKey
- The role key array
public Collection<Faq> findByWorkgroup(String[] strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByWorkgroup
in interface IFaqDAO
strWorkgroupKey
- 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 IFaqDAO
nSubjectId
- subject idplugin
- the plugin
public fr.paris.lutece.util.ReferenceList findListFaq(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findListFaq
in interface IFaqDAO
plugin
- The Plugin using this data access service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |