public final class EntryHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Entry |
create(Entry entry)
Create an instance of the entry class
|
static Optional<Entry> |
findByLastVersion()
Returns an instance of a entry whose identifier is specified in parameter
|
static Optional<Entry> |
findByPrimaryKey(int nKey)
Returns an instance of a entry whose identifier is specified in parameter
|
static List<Entry> |
getEntrysList()
Load the data of all the entry objects and returns them as a list
|
static List<Entry> |
getEntrysListByIds(List<Integer> listIds)
Load the data of all the avant objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getEntrysReferenceList()
Load the data of all the entry objects and returns them as a referenceList
|
static List<Integer> |
getIdEntrysList()
Load the id of all the entry objects and returns them as a list
|
static void |
remove(int nKey)
Remove the entry whose identifier is specified in parameter
|
static Entry |
update(Entry entry)
Update of the entry which is specified in parameter
|
public static Entry create(Entry entry)
entry - The instance of the Entry which contains the informations to storepublic static Entry update(Entry entry)
entry - The instance of the Entry which contains the data to storepublic static void remove(int nKey)
nKey - The entry Idpublic static Optional<Entry> findByPrimaryKey(int nKey)
nKey - The entry primary keypublic static Optional<Entry> findByLastVersion()
nKey - The entry primary keypublic static List<Entry> getEntrysList()
public static List<Integer> getIdEntrysList()
public static fr.paris.lutece.util.ReferenceList getEntrysReferenceList()
Copyright © 2022 City of Paris. All rights reserved.