Modifier and Type | Method and Description |
---|---|
void |
delete(String idLocal)
Delete a
LocalDTO |
List<LocalDTO> |
findAll()
Find all
LocalDTO |
List<LocalDTO> |
findAllByAudienceId(Long audienceId)
Find all
LocalDTO by audience id |
List<LocalDTO> |
findLastCardsByAudience(Long categoryId)
Find 10 last fiches for display
|
LocalDTO |
findLocalByIdAndTypeAndAudience(Long id,
Long type,
Long idAudience)
Find a
LocalDTO by its id and type |
String |
findTitleByIdAndTypeAndAudience(Long id,
Long type,
Long idAudience)
Find a title by its id and type
|
String |
findXmlById(Long id)
Find xml content of
LocalDTO by its id |
Long |
insert(LocalDTO local,
boolean addIdToBreadcrumb)
Create a
LocalDTO |
void |
store(LocalDTO localDTO,
boolean addIdToBreadcrumb)
Update a
LocalDTO |
LocalDTO findLocalByIdAndTypeAndAudience(Long id, Long type, Long idAudience)
LocalDTO
by its id and typeid
- the id to findtype
- the typeidAudience
- the id audienceLocalDTO
String findTitleByIdAndTypeAndAudience(Long id, Long type, Long idAudience)
id
- the id to findtype
- the typeidAudience
- the id audienceLocalDTO
void store(LocalDTO localDTO, boolean addIdToBreadcrumb)
LocalDTO
localDTO
- the LocalDTO
to updateaddIdToBreadcrumb
- true
if id must be id to
breadcrumb, false
otherwiseString findXmlById(Long id)
LocalDTO
by its idid
- the idList<LocalDTO> findLastCardsByAudience(Long categoryId)
categoryId
- the audience to checkLocalDTO
Copyright © 2017 City of Paris. All rights reserved.