|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.helpdesk.business.AbstractSubjectHome
public abstract class AbstractSubjectHome
This class provides instances management methods (create, find, ...) for AbstractSubject objects
| Field Summary | |
|---|---|
static int |
FIRST_ORDER
|
protected static int |
STEP
|
| Constructor Summary | |
|---|---|
AbstractSubjectHome()
|
|
| Method Summary | |
|---|---|
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. |
java.util.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 |
java.util.Collection<? extends AbstractSubject> |
findByIdFaq(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all Subject specified by the Faq id |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.paris.lutece.plugins.helpdesk.business.AbstractSubjectHomeInterface |
|---|
getDAO |
| Field Detail |
|---|
public static final int FIRST_ORDER
protected static final int STEP
| Constructor Detail |
|---|
public AbstractSubjectHome()
| Method Detail |
|---|
public AbstractSubject create(AbstractSubject abstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject
abstractSubject - An instance of the AbstractSubject which contains the informations to storenIdFaq - The Faq Idplugin - The current plugin using this method
AbstractSubject which has been created
public AbstractSubject update(AbstractSubject abstractSubject,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject instance specified in parameter
abstractSubject - An instance of the AbstractSubject which contains the informations to storenIdFaq - The Faq Idplugin - The current plugin using this method
AbstractSubject 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 parameter
nIdAbstractSubject - The identifier of the article AbstractSubject to delete in the databasenIdFaq - The Faq Idplugin - The current plugin using this method
public AbstractSubject findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject whose identifier is specified in parameter
nKey - The primary key of the AbstractSubject to find in the databaseplugin - The current plugin using this method
AbstractSubject which corresponds to the keypublic java.util.List<? extends AbstractSubject> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject list
plugin - The current plugin using this method
AbstractSubject of the database in form of a Subject Collection object
public java.util.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
public java.util.Collection<? extends AbstractSubject> findByIdFaq(int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Subject specified by the Faq id
nIdFaq - The faq subject idplugin - The Plugin using this data access service
Subject
public AbstractSubject findByOrder(int nIdParent,
int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject whose identifier is specified in parameter
nIdParent - The primary key of the parent AbstractSubjectnOrder - The order idplugin - The current plugin using this method
AbstractSubject which corresponds to the parent id and order id
public AbstractSubject findByFaqOrder(int nIdFaq,
int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject whose identifier is specified in parameter
nIdFaq - The primary key of the faq AbstractSubjectnOrder - The order idplugin - The current plugin using this method
AbstractSubject which corresponds to the faq id and order id
public int getMaxOrder(int nIdParent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject
nIdParent - The id of the parent AbstractSubjectplugin - The Plugin
public void goDown(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into the list
nId - The id of the AbstractSubjectnIdFaq - The Faq Idplugin - The plugin
public void goUp(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into the list
nId - The id of the AbstractSubjectnIdFaq - The Faq Idplugin - The plugin
public void goIn(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into another parent AbstractSubject
nId - The AbstractSubject to movenIdFaq - The Faq Idplugin - The plugin
public void goOut(int nId,
int nIdFaq,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject out of another parent AbstractSubject
nId - The AbstractSubject to movenIdFaq - The Faq Idplugin - The plugin
public 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 service
public 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 service
public 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 service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||