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

java.lang.Object
  extended by fr.paris.lutece.plugins.document.modules.calendar.business.MappingAttributeDAO
All Implemented Interfaces:
IMappingAttributeDAO

public class MappingAttributeDAO
extends Object
implements IMappingAttributeDAO

class MappingAttributeDAO


Constructor Summary
MappingAttributeDAO()
           
 
Method Summary
 void delete(String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the Mapping attributes 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)
          Load the mapping attribute by mapping attribute identifier
 List<MappingAttribute> selectDocumentMappingAttributeList(String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of MappingAttributes of a document
 void store(MappingAttribute mappingAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingAttributeDAO

public MappingAttributeDAO()
Method Detail

store

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

Specified by:
store in interface IMappingAttributeDAO
Parameters:
mappingAttribute - instance of the MappingAttribute object to update
plugin - the plugin

delete

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

Specified by:
delete in interface IMappingAttributeDAO
Parameters:
strCodeDocumentType - The code of the document type
plugin - the Plugin

insert

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

Specified by:
insert in interface IMappingAttributeDAO
Parameters:
mappingAttribute - instance of the MappingAttribute object to insert
plugin - the plugin

load

public MappingAttribute load(Integer idKey,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the mapping attribute by mapping attribute identifier

Specified by:
load in interface IMappingAttributeDAO
Parameters:
idKey - The mapping attribute id
plugin - the Plugin
Returns:
an instance of mappingAttribute

selectDocumentMappingAttributeList

public List<MappingAttribute> selectDocumentMappingAttributeList(String strCodeDocumentType,
                                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of MappingAttributes of a document

Specified by:
selectDocumentMappingAttributeList in interface IMappingAttributeDAO
Parameters:
strCodeDocumentType - The document type code identifier
plugin - The plugin
Returns:
The Collection of the MappingAttribute


Copyright © 2014 Mairie de Paris. All Rights Reserved.