|
||||||||||
| 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,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article AbstractSubject |
java.util.List<? extends AbstractSubject> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns AbstractSubject list |
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,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Move down an AbstractSubject into the list |
void |
goIn(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Set the AbstractSubject into another parent AbstractSubject |
void |
goOut(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Set the AbstractSubject out of another parent AbstractSubject |
void |
goUp(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Move up an AbstractSubject into the list |
void |
remove(int nIdAbstractSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the AbstractSubject instance whose identifier is specified in parameter |
AbstractSubject |
update(AbstractSubject abstractSubject,
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,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject
abstractSubject - An instance of the AbstractSubject which contains the informations to storeplugin - The current plugin using this method
AbstractSubject which has been created
public AbstractSubject update(AbstractSubject abstractSubject,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject instance specified in parameter
abstractSubject - An instance of the AbstractSubject which contains the informations to storeplugin - The current plugin using this method
AbstractSubject which has been updated.
public void remove(int nIdAbstractSubject,
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 databaseplugin - 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 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 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,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into the list
nId - The id of the AbstractSubjectplugin - The plugin
public void goUp(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into the list
nId - The id of the AbstractSubjectplugin - The plugin
public void goIn(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject into another parent AbstractSubject
nId - The AbstractSubject to moveplugin - The plugin
public void goOut(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
AbstractSubject out of another parent AbstractSubject
nId - The AbstractSubject to moveplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||