fr.paris.lutece.plugins.dila.service
Interface IDilaComplementaryDataLinkService

All Known Implementing Classes:
DilaComplementaryDataLinkService

public interface IDilaComplementaryDataLinkService

Service for ComplementaryDataLinkDTO


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
 

Method Detail

create

void create(ComplementaryDataLinkDTO dto)
Create a ComplementaryDataLinkDTO

Parameters:
dto - the ComplementaryDataLinkDTO to create

deleteFromComplementaryData

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

Parameters:
lId - the complementary data id to find
type - the type of dto

findByDataId

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

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.