public abstract class AbstractSubjectHome extends Object implements AbstractSubjectHomeInterface
| Modifier and Type | Field and Description |
|---|---|
static int |
FIRST_ORDER |
protected static int |
STEP |
| Constructor and Description |
|---|
AbstractSubjectHome() |
| Modifier and Type | Method and Description |
|---|---|
AbstractSubject |
create(AbstractSubject abstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article
AbstractSubject |
void |
createLinkToFaq(int nIdAbstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create a new record in the table.
|
List<? extends AbstractSubject> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns
AbstractSubject list |
AbstractSubject |
findByFaqOrder(int nIdFaq,
int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of the
AbstractSubject whose identifier is specified in parameter |
Collection<? extends AbstractSubject> |
findByIdFaq(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all
Subject 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)
Returns an instance of the
AbstractSubject whose identifier is specified in parameter |
AbstractSubject |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of the
AbstractSubject whose identifier is specified in parameter |
int |
getMaxOrder(int nIdParent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the max order of a parent
AbstractSubject |
void |
goDown(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Move down an
AbstractSubject into the list |
void |
goIn(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Set the
AbstractSubject into another parent AbstractSubject |
void |
goOut(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Set the
AbstractSubject out of another parent AbstractSubject |
void |
goUp(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Move up an
AbstractSubject into the list |
void |
remove(int nIdAbstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the
AbstractSubject instance whose identifier is specified in parameter |
void |
removeAllLinksToFaq(int nIdAbstractSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a record in the table.
|
void |
removeLinkToFaq(int nIdAbstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a record in the table.
|
AbstractSubject |
update(AbstractSubject abstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates of the
AbstractSubject instance specified in parameter |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDAOpublic static final int FIRST_ORDER
protected static final int STEP
public AbstractSubject create(AbstractSubject abstractSubject, int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubjectabstractSubject - An instance of the AbstractSubject which contains the informations to storenIdFaq - The Faq Idplugin - The current plugin using this methodAbstractSubject which has been createdpublic AbstractSubject update(AbstractSubject abstractSubject, int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject instance specified in parameterabstractSubject - An instance of the AbstractSubject which contains the informations to storenIdFaq - The Faq Idplugin - The current plugin using this methodAbstractSubject which has been updated.public void remove(int nIdAbstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject instance whose identifier is specified in parameternIdAbstractSubject - The identifier of the article AbstractSubject to delete in the databasenIdFaq - The Faq Idplugin - The current plugin using this methodpublic AbstractSubject findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject whose identifier is specified in parameternKey - The primary key of the AbstractSubject to find in the databaseplugin - The current plugin using this methodAbstractSubject which corresponds to the keypublic List<? extends AbstractSubject> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject listplugin - The current plugin using this methodAbstractSubject of the database in form of a Subject Collection objectpublic Collection<? extends AbstractSubject> findByIdParent(int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject specified by the parent idnIdParent - The parent AbstractSubject idplugin - The Plugin using this data access serviceAbstractSubjectpublic Collection<? extends AbstractSubject> findByIdFaq(int nIdFaq, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Subject specified by the Faq idnIdFaq - The faq subject idplugin - The Plugin using this data access serviceSubjectpublic AbstractSubject findByOrder(int nIdParent, int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject whose identifier is specified in parameternIdParent - The primary key of the parent AbstractSubjectnOrder - The order idplugin - The current plugin using this methodAbstractSubject which corresponds to the parent id and order idpublic AbstractSubject findByFaqOrder(int nIdFaq, int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject whose identifier is specified in parameternIdFaq - The primary key of the faq AbstractSubjectnOrder - The order idplugin - The current plugin using this methodAbstractSubject which corresponds to the faq id and order idpublic int getMaxOrder(int nIdParent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubjectnIdParent - The id of the parent AbstractSubjectplugin - The Pluginpublic void goDown(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into the listnId - The id of the AbstractSubjectnIdFaq - The Faq Idplugin - The pluginpublic void goUp(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into the listnId - The id of the AbstractSubjectnIdFaq - The Faq Idplugin - The pluginpublic void goIn(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into another parent AbstractSubjectnId - The AbstractSubject to movenIdFaq - The Faq Idplugin - The pluginpublic void goOut(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject out of another parent AbstractSubjectnId - The AbstractSubject to movenIdFaq - The Faq Idplugin - The pluginpublic void createLinkToFaq(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 servicepublic void removeLinkToFaq(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 servicepublic void removeAllLinksToFaq(int nIdAbstractSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAbstractSubject - The id of the object Subjectplugin - The Plugin using this data access serviceCopyright © 2015 City of Paris. All rights reserved.