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

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

public final class MappingAttributeHome
extends Object

class mappingAttributeHome


Method Summary
static void create(MappingAttribute mappingAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of mappingAttribute
static MappingAttribute findByPrimaryKey(Integer idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a mappingAttribute whose id mapping attribute is specified in parameter
static List<MappingAttribute> findDocumentMappingAttributeList(String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Return the list of all mapping attribute of a document type
static void remove(String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the Mapping attributes whose identifier is specified in parameter
static void update(MappingAttribute mappingAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the mappingAttribute 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

update

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

Parameters:
mappingAttribute - The instance of the MappingAttribute which contains the informations to update
plugin - the Plugin

remove

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

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

create

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

Parameters:
mappingAttribute - The instance of the MappingAttribute which contains the informations to store
plugin - the Plugin

findByPrimaryKey

public static MappingAttribute findByPrimaryKey(Integer idKey,
                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a mappingAttribute whose id mapping attribute is specified in parameter

Parameters:
idKey - The mapping attribute id
plugin - the Plugin
Returns:
an instance of mappingAttribute

findDocumentMappingAttributeList

public static List<MappingAttribute> findDocumentMappingAttributeList(String strCodeDocumentType,
                                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the list of all mapping attribute of a document type

Parameters:
strCodeDocumentType - The mapping attribute type
plugin - the Plugin
Returns:
the mapping attribute list of a document type


Copyright © 2014 Mairie de Paris. All Rights Reserved.