fr.paris.lutece.plugins.library.business
Class LibraryMappingDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.library.business.LibraryMappingDAO
All Implemented Interfaces:
ILibraryMappingDAO

public class LibraryMappingDAO
extends java.lang.Object
implements ILibraryMappingDAO


Constructor Summary
LibraryMappingDAO()
           
 
Method Summary
 void delete(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 void deleteAttributeAssociation(int nAttributeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 void insert(LibraryMapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 LibraryMapping load(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Generates a new primary key
 java.util.Collection<LibraryMapping> selectByMedia(int nMediaId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 void store(LibraryMapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryMappingDAO

public LibraryMappingDAO()
Method Detail

delete

public void delete(int nMappingId,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
delete in interface ILibraryMappingDAO

insert

public void insert(LibraryMapping mapping,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
insert in interface ILibraryMappingDAO

load

public LibraryMapping load(int nMappingId,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
load in interface ILibraryMappingDAO

selectByMedia

public java.util.Collection<LibraryMapping> selectByMedia(int nMediaId,
                                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
selectByMedia in interface ILibraryMappingDAO

store

public void store(LibraryMapping mapping,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
store in interface ILibraryMappingDAO

newPrimaryKey

public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key

Returns:
The new primary key

deleteAttributeAssociation

public void deleteAttributeAssociation(int nAttributeId,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Specified by:
deleteAttributeAssociation in interface ILibraryMappingDAO


Copyright © 2008 Mairie de Paris. All Rights Reserved.