|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAbstractSubjectDAO
This interface represents the business object of the AbstractSubject
Method Summary | |
---|---|
void |
delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteAllLinksToFaq(int nIdAbstractSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete a record in the table. |
void |
deleteLinkToFaq(int nIdAbstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete a record in the table. |
List<? extends AbstractSubject> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type |
AbstractSubject |
findByFaqOrder(int nIdFaq,
int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a abstractSubject with the faq id and the order. |
Collection<? extends AbstractSubject> |
findByIdFaq(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all AbstractSubject specified by the Faq id |
Collection<? extends AbstractSubject> |
findByIdParent(int nIdParent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all AbstractSubject specified by the parent id |
AbstractSubject |
findByOrder(int nIdParent,
int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a abstractSubject with the parent id and the order. |
int |
getMaxOrder(int nIdParent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the max order of a parent abstractSubject |
void |
insert(AbstractSubject abstractSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
void |
insertLinkToFaq(int nIdAbstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
AbstractSubject |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of AbstractSubject from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate a new primary key to add a new AbstractSubject |
void |
store(AbstractSubject abstractSubject,
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(AbstractSubject abstractSubject, fr.paris.lutece.portal.service.plugin.Plugin plugin)
abstractSubject
- The Instance of the object AbstractSubjectplugin
- The Plugin using this data access servicevoid delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- The indentifier of the object AbstractSubjectplugin
- The Plugin using this data access serviceAbstractSubject load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- The indentifier of the object AbstractSubjectplugin
- The Plugin using this data access service
void store(AbstractSubject abstractSubject, fr.paris.lutece.portal.service.plugin.Plugin plugin)
abstractSubject
- The instance of the AbstractSubject to updateplugin
- The Plugin using this data access serviceList<? extends AbstractSubject> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin using this data access service
Collection<? extends AbstractSubject> findByIdParent(int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject
specified by the parent id
nIdParent
- The parent abstractSubject idplugin
- The Plugin using this data access service
AbstractSubject
int getMaxOrder(int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdParent
- The id of the parent abstractSubjectplugin
- The Plugin
AbstractSubject findByOrder(int nIdParent, int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdParent
- The parent IdnOrder
- The orderplugin
- The Plugin
AbstractSubject
AbstractSubject findByFaqOrder(int nIdFaq, int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFaq
- The faq IdnOrder
- The orderplugin
- The Plugin
AbstractSubject
Collection<? extends AbstractSubject> findByIdFaq(int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject
specified by the Faq id
nIdFaq
- The Faq abstractSubject idplugin
- The Plugin using this data access service
AbstractSubject
void insertLinkToFaq(int nIdAbstractSubject, int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAbstractSubject
- The id of the object SubjectnIdFaq
- The parent id of the object Faqplugin
- The Plugin using this data access servicevoid deleteLinkToFaq(int nIdAbstractSubject, int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAbstractSubject
- The id of the object SubjectnIdFaq
- The parent id of the object Faqplugin
- The Plugin using this data access servicevoid deleteAllLinksToFaq(int nIdAbstractSubject, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAbstractSubject
- The id of the object Subjectplugin
- The Plugin using this data access service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |