Class DataLayerTypeHome
- java.lang.Object
-
- fr.paris.lutece.plugins.carto.business.DataLayerTypeHome
-
public final class DataLayerTypeHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for DataLayerType objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataLayerTypecreate(DataLayerType dataLayerType)Create an instance of the dataLayerType classstatic java.util.Optional<DataLayerType>findByPrimaryKey(int nKey)Returns an instance of a dataLayerType whose identifier is specified in parameterstatic java.util.List<DataLayerType>getDataLayerTypesList()Load the data of all the dataLayerType objects and returns them as a liststatic java.util.List<DataLayerType>getDataLayerTypesListByIds(java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetDataLayerTypesReferenceList()Load the data of all the dataLayerType objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdDataLayerTypesList()Load the id of all the dataLayerType objects and returns them as a liststatic voidremove(int nKey)Remove the dataLayerType whose identifier is specified in parameterstatic DataLayerTypeupdate(DataLayerType dataLayerType)Update of the dataLayerType which is specified in parameter
-
-
-
Method Detail
-
create
public static DataLayerType create(DataLayerType dataLayerType)
Create an instance of the dataLayerType class- Parameters:
dataLayerType- The instance of the DataLayerType which contains the informations to store- Returns:
- The instance of dataLayerType which has been created with its primary key.
-
update
public static DataLayerType update(DataLayerType dataLayerType)
Update of the dataLayerType which is specified in parameter- Parameters:
dataLayerType- The instance of the DataLayerType which contains the data to store- Returns:
- The instance of the dataLayerType which has been updated
-
remove
public static void remove(int nKey)
Remove the dataLayerType whose identifier is specified in parameter- Parameters:
nKey- The dataLayerType Id
-
findByPrimaryKey
public static java.util.Optional<DataLayerType> findByPrimaryKey(int nKey)
Returns an instance of a dataLayerType whose identifier is specified in parameter- Parameters:
nKey- The dataLayerType primary key- Returns:
- an instance of DataLayerType
-
getDataLayerTypesList
public static java.util.List<DataLayerType> getDataLayerTypesList()
Load the data of all the dataLayerType objects and returns them as a list- Returns:
- the list which contains the data of all the dataLayerType objects
-
getIdDataLayerTypesList
public static java.util.List<java.lang.Integer> getIdDataLayerTypesList()
Load the id of all the dataLayerType objects and returns them as a list- Returns:
- the list which contains the id of all the dataLayerType objects
-
getDataLayerTypesReferenceList
public static fr.paris.lutece.util.ReferenceList getDataLayerTypesReferenceList()
Load the data of all the dataLayerType objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the dataLayerType objects
-
getDataLayerTypesListByIds
public static java.util.List<DataLayerType> getDataLayerTypesListByIds(java.util.List<java.lang.Integer> listIds)
Load the data of all the avant objects and returns them as a list- Parameters:
listIds- liste of ids- Returns:
- the list which contains the data of all the avant objects
-
-