Class DataLayerMapTemplateHome
java.lang.Object
fr.paris.lutece.plugins.carto.business.DataLayerMapTemplateHome
This class provides instances management methods (create, find, ...) for DataLayerMapTemplate objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataLayerMapTemplatecreate(DataLayerMapTemplate dataLayerMapTemplate) Create an instance of the dataLayerMapTemplate classstatic Optional<DataLayerMapTemplate>findByIdDataLayerKey(int nDataLayerKey) Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameterstatic Optional<DataLayerMapTemplate>findByIdMapKeyIdDataLayerKey(int nMapKey, int nDataLayerKey) Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameterstatic Optional<DataLayerMapTemplate>findByPrimaryKey(int nKey) Returns an instance of a dataLayerMapTemplate whose identifier is specified in parametergetDataLayerListByMapTemplateId(int nKey) Load all the DataLayer attached to the MapTemplate idgetDataLayerListByMapTemplateId(int nKey, boolean isSearchableByOther) Load all the DataLayer attached to the MapTemplate idstatic List<DataLayerMapTemplate>Load the data of all the dataLayerMapTemplate objects and returns them as a liststatic List<DataLayerMapTemplate>getDataLayerMapTemplatesListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the dataLayerMapTemplate objects and returns them as a referenceListLoad 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 Details
-
create
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
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
Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameter- Parameters:
nKey- The dataLayerMapTemplate primary key- Returns:
- an instance of 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
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
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
Load all the DataLayer attached to the MapTemplate id- Parameters:
nkey- : id of the mapTemplate- Returns:
- The list of DataLayer
-
getDataLayerListByMapTemplateId
public static 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 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
Returns an instance of a dataLayerMapTemplate whose identifier is specified in parameter- Parameters:
nDataLayerKey- The dataLayer primary key- Returns:
- an instance of DataLayerMapTemplate
-