fr.paris.lutece.plugins.dila.business.donneescomplementaires.dao.impl
Class ComplementaryDataLinkDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.dila.business.donneescomplementaires.dao.impl.ComplementaryDataLinkDAO
All Implemented Interfaces:
IComplementaryDataLinkDAO, Serializable

public class ComplementaryDataLinkDAO
extends Object
implements IComplementaryDataLinkDAO, Serializable

Implementation of IComplementaryDataLinkDAO

See Also:
Serialized Form

Constructor Summary
ComplementaryDataLinkDAO()
           
 
Method Summary
 void delete(Long id, ComplementaryLinkTypeEnum type)
          Delete all links of a complementary data
 List<ComplementaryDataLinkDTO> findByDataId(Long idDonneeComplementaire, ComplementaryLinkTypeEnum type)
          Find links by data id and link type
 void insert(ComplementaryDataLinkDTO dto)
          Create a ComplementaryDataLinkDTO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplementaryDataLinkDAO

public ComplementaryDataLinkDAO()
Method Detail

insert

public void insert(ComplementaryDataLinkDTO dto)
Description copied from interface: IComplementaryDataLinkDAO
Create a ComplementaryDataLinkDTO

Specified by:
insert in interface IComplementaryDataLinkDAO
Parameters:
dto - the ComplementaryDataLinkDTO to create

delete

public void delete(Long id,
                   ComplementaryLinkTypeEnum type)
Description copied from interface: IComplementaryDataLinkDAO
Delete all links of a complementary data

Specified by:
delete in interface IComplementaryDataLinkDAO
Parameters:
id - the donnee complementaire id to find
type - the type of dto to delete

findByDataId

public List<ComplementaryDataLinkDTO> findByDataId(Long idDonneeComplementaire,
                                                   ComplementaryLinkTypeEnum type)
Description copied from interface: IComplementaryDataLinkDAO
Find links by data id and link type

Specified by:
findByDataId in interface IComplementaryDataLinkDAO
Parameters:
idDonneeComplementaire - the id of complementary data
type - the type of dto
Returns:
list of corresponding ComplementaryDataLinkDTO


Copyright © 2013 Mairie de Paris. All Rights Reserved.