fr.paris.lutece.plugins.dila.service.impl
Class DilaComplementaryDataLinkService

java.lang.Object
  extended by fr.paris.lutece.plugins.dila.service.impl.DilaComplementaryDataLinkService
All Implemented Interfaces:
IDilaComplementaryDataLinkService, Serializable

public class DilaComplementaryDataLinkService
extends Object
implements IDilaComplementaryDataLinkService, Serializable

Implementatino of IDilaComplementaryDataLinkService

See Also:
Serialized Form

Constructor Summary
DilaComplementaryDataLinkService()
           
 
Method Summary
 void create(ComplementaryDataLinkDTO dto)
          Create a ComplementaryDataLinkDTO
 void deleteFromComplementaryData(Long lId, ComplementaryLinkTypeEnum type)
          Delete all teleservice linked to a complementary data
 List<ComplementaryDataLinkDTO> findByDataId(Long lComplementaryDataId, ComplementaryLinkTypeEnum type)
          Find links by complementary data id and type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DilaComplementaryDataLinkService

public DilaComplementaryDataLinkService()
Method Detail

create

public void create(ComplementaryDataLinkDTO dto)
Create a ComplementaryDataLinkDTO

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

deleteFromComplementaryData

public void deleteFromComplementaryData(Long lId,
                                        ComplementaryLinkTypeEnum type)
Delete all teleservice linked to a complementary data

Specified by:
deleteFromComplementaryData in interface IDilaComplementaryDataLinkService
Parameters:
lId - the complementary data id to find
type - the type of dto

findByDataId

public List<ComplementaryDataLinkDTO> findByDataId(Long lComplementaryDataId,
                                                   ComplementaryLinkTypeEnum type)
Find links by complementary data id and type

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.