|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.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 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 nIdDirectory)
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 List<IEntry> |
getEntryListAnonymizeStatus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of entries that should be anonymized when a record is anonymized |
static List<IEntry> |
getEntryListByTypeList(List<Integer> idTypeEntryList,
EntryFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the entry which type is contained in typeEntryList and verify the filter to return 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 |
static void |
updateEntryAnonymizeStatus(Integer nEntryId,
Boolean bAnonymize,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an entry anonymize status |
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 Pluginpublic 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 Pluginpublic static void remove(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry
- The entry Idplugin
- the Pluginpublic 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 List<IEntry> getEntryListByTypeList(List<Integer> idTypeEntryList, EntryFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idTypeEntryList
- a of entry type needed (by id)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> getEntryListAnonymizeStatus(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The plugin
public static void updateEntryAnonymizeStatus(Integer nEntryId, Boolean bAnonymize, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nEntryId
- The id of the entry to updatebAnonymize
- True if the entry should be anonymized, false otherwiseplugin
- The pluginpublic static List<IEntry> findEntriesWithoutParent(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nIdDirectory)
plugin
- the pluginnIdDirectory
- the id of the concerned directory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |