|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.quicklinks.business.EntryHome
public final class EntryHome
class EntryHome
| Field Summary | |
|---|---|
static int |
FIRST_ORDER
|
static int |
ROOT_PARENT_ID
|
protected static int |
STEP
|
| Method Summary | |
|---|---|
static IEntry |
create(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
static java.util.Collection<IEntry> |
findByFilter(EntryFilter entryFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all Entry corresponding to EntryFilter |
static IEntry |
findByOrder(int nIdQuicklinks,
int nIdParent,
int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of the IEntry whose identifier is specified in parameter |
static java.util.Collection<IEntry> |
findByParentId(int nIdParent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find All Entry who have the specified parent id |
static IEntry |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Entry whose identifier is specified in parameter |
static java.util.Collection<IEntry> |
findByQuicklinksId(int nIdQuicklinks,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find All Entry for a quicklinks |
static fr.paris.lutece.util.ReferenceList |
findReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find All Entry and put them in a ReferenceList |
static IEntry |
getSpecificEntry(EntryType entryType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the specific entry and return it |
static void |
goDown(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Move down an IEntry into the list |
static void |
goIn(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Set the IEntry into another parent IEntry |
static void |
goOut(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Set the IEntry out of another parent IEntry |
static void |
goUp(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Move up an IEntry into the list |
static void |
remove(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the Entry specified by identifier |
static void |
update(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update The Entry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FIRST_ORDER
public static final int ROOT_PARENT_ID
protected static final int STEP
| Method Detail |
|---|
public static IEntry findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Entry whose identifier is specified in parameter
nKey - The Entry primary keyplugin - the Plugin
Entry
public static IEntry getSpecificEntry(EntryType entryType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
entryType - The type of Entryplugin - The Plugin
public static IEntry create(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry - The Instance of the object Entryplugin - The Plugin using this data access service
public static void remove(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Entry specified by identifier
nId - The identifierplugin - The Plugin using this data access service
public static void update(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Entry
entry - The Entry to updateplugin - The Plugin using this data access service
public static java.util.Collection<IEntry> findByQuicklinksId(int nIdQuicklinks,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Entry for a quicklinks
nIdQuicklinks - The Quicklinks identifierplugin - The Plugin using this data access service
Collection of Entry
public static java.util.Collection<IEntry> findByParentId(int nIdParent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Entry who have the specified parent id
nIdParent - The Quicklinks identifierplugin - The Plugin using this data access service
Collection of Entrypublic static fr.paris.lutece.util.ReferenceList findReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Entry and put them in a ReferenceList
plugin - The Plugin using this data access service
public static java.util.Collection<IEntry> findByFilter(EntryFilter entryFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Entry corresponding to EntryFilter
entryFilter - The EntryFilterplugin - The Plugin using this data access service
Collection of Entry
public static IEntry findByOrder(int nIdQuicklinks,
int nIdParent,
int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IEntry whose identifier is specified in parameter
nIdQuicklinks - The quicklinks identifiernIdParent - The primary key of the parent IEntrynOrder - The order idplugin - The current plugin using this method
IEntry which corresponds to the parent id and order id
public static void goDown(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IEntry into the list
nId - The id of the IEntrynIdQuicklinks - The Quicklinks Idplugin - The plugin
public static void goUp(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IEntry into the list
nId - The id of the IEntrynIdQuicklinks - The Quicklinks Idplugin - The plugin
public static void goIn(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IEntry into another parent IEntry
nId - The IEntry to moveplugin - The plugin
public static void goOut(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IEntry out of another parent IEntry
nId - The IEntry to moveplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||