fr.paris.lutece.plugins.document.modules.calendar.business
Interface IMappingAttributeDAO

All Known Implementing Classes:
MappingAttributeDAO

public interface IMappingAttributeDAO

Interface IMappingAttributeDAO


Method Summary
 void delete(String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the Mapping attributes of a document whose identifier is specified in parameter
 void insert(MappingAttribute mappingAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 MappingAttribute load(Integer idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a mappingAttribute whose id mapping attribute is specified in parameter
 List<MappingAttribute> selectDocumentMappingAttributeList(String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Return the list of all mapping attributes of a document
 void store(MappingAttribute mappingAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update mapping attribute record in the table.
 

Method Detail

store

void store(MappingAttribute mappingAttribute,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
update mapping attribute record in the table.

Parameters:
mappingAttribute - instance of the MappingAttribute object to update
plugin - the plugin

delete

void delete(String strCodeDocumentType,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the Mapping attributes of a document whose identifier is specified in parameter

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

insert

void insert(MappingAttribute mappingAttribute,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
mappingAttribute - instance of the MappingAttribute object to insert
plugin - the plugin

load

MappingAttribute load(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

selectDocumentMappingAttributeList

List<MappingAttribute> selectDocumentMappingAttributeList(String strCodeDocumentType,
                                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the list of all mapping attributes of a document

Parameters:
strCodeDocumentType - The document type code
plugin - the Plugin
Returns:
A list of mapping attributes


Copyright © 2014 Mairie de Paris. All Rights Reserved.