public final class DataLayerHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static DataLayer |
create(DataLayer dataLayer)
Create an instance of the dataLayer class
|
static Optional<DataLayer> |
findByPrimaryKey(int nKey)
Returns an instance of a dataLayer whose identifier is specified in parameter
|
static Optional<DataLayer> |
findDataLayerFromMapId(int nKey,
boolean editable,
boolean inclusion,
boolean exclusion)
Returns an instance of a dataLayer whose is editable for a specific map
|
static List<DataLayer> |
getDataLayersList()
Load the data of all the dataLayer objects and returns them as a list
|
static List<DataLayer> |
getDataLayersListByIds(List<Integer> listIds)
Load the data of all the avant objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getDataLayersReferenceList()
Load the data of all the dataLayer objects and returns them as a referenceList
|
static List<Integer> |
getIdDataLayersList()
Load the id of all the dataLayer objects and returns them as a list
|
static void |
remove(int nKey)
Remove the dataLayer whose identifier is specified in parameter
|
static DataLayer |
update(DataLayer dataLayer)
Update of the dataLayer which is specified in parameter
|
public static DataLayer create(DataLayer dataLayer)
dataLayer - The instance of the DataLayer which contains the informations to storepublic static DataLayer update(DataLayer dataLayer)
dataLayer - The instance of the DataLayer which contains the data to storepublic static void remove(int nKey)
nKey - The dataLayer Idpublic static Optional<DataLayer> findByPrimaryKey(int nKey)
nKey - The dataLayer primary keypublic static List<DataLayer> getDataLayersList()
public static List<Integer> getIdDataLayersList()
public static fr.paris.lutece.util.ReferenceList getDataLayersReferenceList()
public static List<DataLayer> getDataLayersListByIds(List<Integer> listIds)
listIds - liste of idsCopyright © 2023 City of Paris. All rights reserved.