Class DataLayerMapTemplateHome
- java.lang.Object
-
- fr.paris.lutece.plugins.carto.business.DataLayerMapTemplateHome
-
public final class DataLayerMapTemplateHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for DataLayerMapTemplate objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataLayerMapTemplatecreate(DataLayerMapTemplate dataLayerMapTemplate)Create an instance of the dataLayerMapTemplate classstatic java.util.Optional<DataLayerMapTemplate>findByIdDataLayerKey(int nDataLayerKey)Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameterstatic java.util.Optional<DataLayerMapTemplate>findByIdMapKeyIdDataLayerKey(int nMapKey, int nDataLayerKey)Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameterstatic java.util.Optional<DataLayerMapTemplate>findByPrimaryKey(int nKey)Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameterstatic java.util.List<DataLayer>getDataLayerListByMapTemplateId(int nKey)Load all the DataLayer attached to the MapTemplate idstatic java.util.List<DataLayer>getDataLayerListByMapTemplateId(int nKey, boolean isSearchableByOther)Load all the DataLayer attached to the MapTemplate idstatic java.util.List<DataLayerMapTemplate>getDataLayerMapTemplatesList()Load the data of all the dataLayerMapTemplate objects and returns them as a liststatic java.util.List<DataLayerMapTemplate>getDataLayerMapTemplatesListByIds(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.ReferenceListgetDataLayerMapTemplatesReferenceList()Load the data of all the dataLayerMapTemplate objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdDataLayerMapTemplatesList()Load the id of all the dataLayerMapTemplate objects and returns them as a liststatic voidremove(int nKey)Remove the dataLayerMapTemplate whose identifier is specified in parameterstatic DataLayerMapTemplateupdate(DataLayerMapTemplate dataLayerMapTemplate)Update of the dataLayerMapTemplate which is specified in parameter
-
-
-
Method Detail
-
create
public static DataLayerMapTemplate create(DataLayerMapTemplate dataLayerMapTemplate)
Create an instance of the dataLayerMapTemplate class- Parameters:
dataLayerMapTemplate- The instance of the DataLayerMapTemplate which contains the informations to store- Returns:
- The instance of dataLayerMapTemplate which has been created with its primary key.
-
update
public static DataLayerMapTemplate update(DataLayerMapTemplate dataLayerMapTemplate)
Update of the dataLayerMapTemplate which is specified in parameter- Parameters:
dataLayerMapTemplate- The instance of the DataLayerMapTemplate which contains the data to store- Returns:
- The instance of the dataLayerMapTemplate which has been updated
-
remove
public static void remove(int nKey)
Remove the dataLayerMapTemplate whose identifier is specified in parameter- Parameters:
nKey- The dataLayerMapTemplate Id
-
findByPrimaryKey
public static java.util.Optional<DataLayerMapTemplate> findByPrimaryKey(int nKey)
Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameter- Parameters:
nKey- The dataLayerMapTemplate primary key- Returns:
- an instance of DataLayerMapTemplate
-
getDataLayerMapTemplatesList
public static java.util.List<DataLayerMapTemplate> getDataLayerMapTemplatesList()
Load the data of all the dataLayerMapTemplate objects and returns them as a list- Returns:
- the list which contains the data of all the dataLayerMapTemplate objects
-
getIdDataLayerMapTemplatesList
public static java.util.List<java.lang.Integer> getIdDataLayerMapTemplatesList()
Load the id of all the dataLayerMapTemplate objects and returns them as a list- Returns:
- the list which contains the id of all the dataLayerMapTemplate objects
-
getDataLayerMapTemplatesReferenceList
public static fr.paris.lutece.util.ReferenceList getDataLayerMapTemplatesReferenceList()
Load the data of all the dataLayerMapTemplate objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the dataLayerMapTemplate objects
-
getDataLayerMapTemplatesListByIds
public static java.util.List<DataLayerMapTemplate> getDataLayerMapTemplatesListByIds(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
-
getDataLayerListByMapTemplateId
public static java.util.List<DataLayer> getDataLayerListByMapTemplateId(int nKey)
Load all the DataLayer attached to the MapTemplate id- Parameters:
nkey- : id of the mapTemplate- Returns:
- The list of DataLayer
-
getDataLayerListByMapTemplateId
public static java.util.List<DataLayer> getDataLayerListByMapTemplateId(int nKey, boolean isSearchableByOther)
Load all the DataLayer attached to the MapTemplate id- Parameters:
nkey- : id of the mapTemplateisSearchableByOther- : is viewable by others users- Returns:
- The list of DataLayer
-
findByIdMapKeyIdDataLayerKey
public static java.util.Optional<DataLayerMapTemplate> findByIdMapKeyIdDataLayerKey(int nMapKey, int nDataLayerKey)
Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameter- Parameters:
nMapKey- The MapTemplate primary keynDataLayerKey- The dataLayer primary key- Returns:
- an instance of DataLayerMapTemplate
-
findByIdDataLayerKey
public static java.util.Optional<DataLayerMapTemplate> findByIdDataLayerKey(int nDataLayerKey)
Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameter- Parameters:
nDataLayerKey- The dataLayer primary key- Returns:
- an instance of DataLayerMapTemplate
-
-