Class MapTemplateHome
java.lang.Object
fr.paris.lutece.plugins.carto.business.MapTemplateHome
This class provides instances management methods (create, find, ...) for MapTemplate objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic MapTemplatecreate(MapTemplate mapTemplate) Create an instance of the mapTemplate classstatic Optional<MapTemplate>findByPrimaryKey(int nKey) Returns an instance of a mapTemplate whose identifier is specified in parameterstatic Optional<MapTemplate>Returns an instance of a mapTemplate whose identifier is specified in parameterLoad the id of all the mapTemplate objects and returns them as a liststatic List<MapTemplate>Load the data of all the mapTemplate objects and returns them as a liststatic List<MapTemplate>getMapTemplatesListByIds(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 mapTemplate objects and returns them as a referenceListstatic voidremove(int nKey) Remove the mapTemplate whose identifier is specified in parameterstatic MapTemplateupdate(MapTemplate mapTemplate) Update of the mapTemplate which is specified in parameter
-
Method Details
-
create
Create an instance of the mapTemplate class- Parameters:
mapTemplate- The instance of the MapTemplate which contains the informations to store- Returns:
- The instance of mapTemplate which has been created with its primary key.
-
update
Update of the mapTemplate which is specified in parameter- Parameters:
mapTemplate- The instance of the MapTemplate which contains the data to store- Returns:
- The instance of the mapTemplate which has been updated
-
remove
public static void remove(int nKey) Remove the mapTemplate whose identifier is specified in parameter- Parameters:
nKey- The mapTemplate Id
-
findByPrimaryKey
Returns an instance of a mapTemplate whose identifier is specified in parameter- Parameters:
nKey- The mapTemplate primary key- Returns:
- an instance of MapTemplate
-
findXpageFrontOffice
Returns an instance of a mapTemplate whose identifier is specified in parameter- Returns:
- an instance of MapTemplate
-
getMapTemplatesList
Load the data of all the mapTemplate objects and returns them as a list- Returns:
- the list which contains the data of all the mapTemplate objects
-
getIdMapTemplatesList
Load the id of all the mapTemplate objects and returns them as a list- Returns:
- the list which contains the id of all the mapTemplate objects
-
getMapTemplatesReferenceList
public static fr.paris.lutece.util.ReferenceList getMapTemplatesReferenceList()Load the data of all the mapTemplate objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the mapTemplate objects
-
getMapTemplatesListByIds
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
-