Modifier and Type | Method and Description |
---|---|
void |
create(XmlDTO dilaXml)
Create a
XmlDTO |
void |
delete()
Delete old files
|
List<XmlDTO> |
findAll()
Find all XML
|
XmlDTO |
findByIdAndTypesAndAudience(String parentThemeId,
List<String> availableTypes,
Long audienceId)
Find a
XmlDTO by its id and type |
XmlDTO |
findFolderById(String id)
Find a
XmlDTO by its id |
XmlDTO |
findHomeHowTo(Long audienceId)
Find the "How to ..." section for given audience
|
List<XmlDTO> |
findHowToByAudience(Long audienceId)
Find all "Comment faire si" resources for audience
|
Long |
findIdByXmlAndAudience(String xmlName,
Long audienceId)
Find a national card's technical id by its xml name and audience
|
String |
findResourceTypeByIdXMLAndAudience(String strIdXml,
Long lIdAudience)
Find the resource type of a
XmlDTO |
String |
findTitleById(String id)
Find the title of a
XmlDTO |
String |
findTitleByIdAndTypesAndAudience(String siblingFolderId,
List<String> availableTypes,
Long idAudience)
Find the title of a
XmlDTO |
void |
store(XmlDTO dilaXml)
Update a
XmlDTO |
String findTitleById(String id)
XmlDTO
id
- the id to findXmlDTO findFolderById(String id)
XmlDTO
by its idid
- the id to findXmlDTO
String findResourceTypeByIdXMLAndAudience(String strIdXml, Long lIdAudience)
XmlDTO
strIdXml
- the xml idlIdAudience
- the audience idXmlDTO findByIdAndTypesAndAudience(String parentThemeId, List<String> availableTypes, Long audienceId)
XmlDTO
by its id and typeparentThemeId
- the id to findavailableTypes
- list of types for the resourceaudienceId
- the id audienceString findTitleByIdAndTypesAndAudience(String siblingFolderId, List<String> availableTypes, Long idAudience)
XmlDTO
siblingFolderId
- the id to findavailableTypes
- list of types for the resourceidAudience
- the id audienceList<XmlDTO> findHowToByAudience(Long audienceId)
audienceId
- the audience to checkXmlDTO
Long findIdByXmlAndAudience(String xmlName, Long audienceId)
xmlName
- the xmlNameaudienceId
- the audience idXmlDTO findHomeHowTo(Long audienceId)
audienceId
- the audienceIdXmlDTO
for "How to ..." section of given audiencevoid delete()
Copyright © 2017 City of Paris. All rights reserved.