fr.paris.lutece.plugins.document.modules.calendar.business
Class MappingHome

java.lang.Object
  extended by fr.paris.lutece.plugins.document.modules.calendar.business.MappingHome

public final class MappingHome
extends java.lang.Object

class mappingHome


Method Summary
static void create(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of mapping
static Mapping findByCodeDocumentType(java.lang.String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a mapping whose identifier is specified in parameter
static java.util.List<Mapping> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a list of all mapping
static void remove(java.lang.String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the Mapping whose identifier is specified in parameter
static void update(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the mapping which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getList

public static java.util.List<Mapping> getList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of all mapping

Parameters:
plugin - the plugin
Returns:
the list of mapping

remove

public static void remove(java.lang.String strCodeDocumentType,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the Mapping whose identifier is specified in parameter

Parameters:
strCodeDocumentType - The code of the document type
plugin - the Plugin

findByCodeDocumentType

public static Mapping findByCodeDocumentType(java.lang.String strCodeDocumentType,
                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a mapping whose identifier is specified in parameter

Parameters:
strCodeDocumentType - The code of the document type
plugin - the Plugin
Returns:
an instance of Mapping

update

public static void update(Mapping mapping,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the mapping which is specified in parameter

Parameters:
mapping - The instance of the Mapping which contains the informations to update
plugin - the Plugin

create

public static void create(Mapping mapping,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of mapping

Parameters:
mapping - The instance of the Mapping which contains the informations to store
plugin - the Plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.