public final class PanelHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Panel |
create(Panel panel)
Create an instance of the panel class
|
static Panel |
findByCode(String strCode)
Returns an instance of a panel whose identifier is specified in parameter
|
static Panel |
findByPrimaryKey(int nKey)
Returns an instance of a panel whose identifier is specified in parameter
|
static Panel |
getDefaultPanel()
Returns the default panel
|
static List<Integer> |
getIdPanelsList()
Load the id of all the panel objects and returns them as a list
|
static List<Panel> |
getPanelsList()
Load the data of all the panel objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getPanelsReferenceList()
Load the data of all the panel objects and returns them as a referenceList
|
static void |
remove(int nKey)
Remove the panel whose identifier is specified in parameter
|
static Panel |
update(Panel panel)
Update of the panel which is specified in parameter
|
public static Panel create(Panel panel)
panel - The instance of the Panel which contains the informations to storepublic static Panel update(Panel panel)
panel - The instance of the Panel which contains the data to storepublic static void remove(int nKey)
nKey - The panel Idpublic static Panel findByPrimaryKey(int nKey)
nKey - The panel primary keypublic static Panel findByCode(String strCode)
nKey - The panel primary keypublic static List<Panel> getPanelsList()
public static List<Integer> getIdPanelsList()
public static fr.paris.lutece.util.ReferenceList getPanelsReferenceList()
public static Panel getDefaultPanel()
nKey - The panel primary keyCopyright © 2023 City of Paris. All rights reserved.