Class LibraryMappingDAO

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        equals, 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
      • 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