public final class MappingHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(Mapping mapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates an instance of the mapping class
|
static Collection<Mapping> |
findAllMapping(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the mapping objects
|
static Mapping |
findByDocumentTypeCode(String strDocumentTypeCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the mapping object filtered by document type code
|
static Mapping |
findByPrimaryKey(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a mapping whose identifier is specified in parameter
|
static void |
remove(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the mapping whose identifier is specified in parameter
|
static void |
update(Mapping mapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the mapping which is specified in parameter
|
public static Collection<Mapping> findAllMapping(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginpublic static void create(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mapping - The instance of the Mapping which contains the informations to storeplugin - The pluginpublic static Mapping findByPrimaryKey(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId - The mapping primary keyplugin - The pluginpublic static void update(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mapping - The instance of the Mapping which contains the data to storeplugin - The pluginpublic static void remove(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId - The mapping identifierplugin - The pluginpublic static Mapping findByDocumentTypeCode(String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strDocumentTypeCode - The document type codeplugin - The pluginCopyright © 2015 City of Paris. All rights reserved.