|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.business.EntryHome
public final class EntryHome
This class provides instances management methods (create, find, ...) for Entry objects
| Method Summary | |
|---|---|
static void |
copy(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of Entry |
static int |
create(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of Entry |
static void |
decrementOrderByOne(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nOrder,
int nIdField,
int nIdForm)
Decrements the order of all the entries (conditional questions) after the one which will be removed |
static IEntry |
findByOrderAndIdFieldAndIdForm(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nOrder,
int nIdField,
int nIdForm)
Finds the entry (conditional question) with a given order, idDependField and idform |
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 List<IEntry> |
findEntriesWithoutParent(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdForm)
Finds all the entries without any parent |
static List<IEntry> |
getEntryList(EntryFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the entry who verify the filter and returns them in a list |
static int |
getNumberEntryByFilter(EntryFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of entry who verify the filter |
static void |
remove(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the entry whose identifier is specified in parameter |
static void |
update(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the entry which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int create(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry - The instance of the Entry which contains the informations to storeplugin - the Plugin
public static void copy(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry - The instance of the Entry who must copyplugin - the Plugin
public static void update(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry - The instance of the Entry which contains the informations to updateplugin - the Plugin
public static void remove(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry - The entry Idplugin - the Plugin
public static IEntry findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The entry primary keyplugin - the Plugin
public static List<IEntry> getEntryList(EntryFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the plugin
public static int getNumberEntryByFilter(EntryFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the plugin
public static List<IEntry> findEntriesWithoutParent(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nIdForm)
plugin - the pluginnIdForm - the id of the form
public static IEntry findByOrderAndIdFieldAndIdForm(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nOrder,
int nIdField,
int nIdForm)
plugin - the pluginnOrder - the ordernIdField - the id of the fieldnIdForm - the id of the form
public static void decrementOrderByOne(fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nOrder,
int nIdField,
int nIdForm)
plugin - The pluginnOrder - the order of the entry which will be removednIdField - the id of the fieldnIdForm - the id of the form
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||