public interface IDilaValidationService
Modifier and Type | Method and Description |
---|---|
String |
validateLinkCard(LocalFolderDTO folderBean,
String strId,
LocalFolderLinkDTO link)
Check if a card for a link id is valid
|
String |
validateLinkedCard(LocalCardDTO cardBean,
String strId)
Check if a sibling card id is valid
|
String |
validateLinkedFolder(LocalFolderDTO folderBean)
Validate the sibling folder
|
String |
validateLocalCard(LocalCardDTO cardBean,
List<LocalCardChapterDTO> listChapters)
Validate a card
|
String |
validateLocalFolder(LocalFolderDTO folderBean,
List<LocalFolderLinkDTO> listLinks)
Validate a folder
|
String |
validateRootFolder(LocalCardDTO cardBean,
String strId)
Check if parent folder is valid
|
String |
validateRootTheme(LocalFolderDTO folderBean)
Validate the root theme
|
String validateLocalFolder(LocalFolderDTO folderBean, List<LocalFolderLinkDTO> listLinks)
folderBean
- the folder to validatelistLinks
- the links to validateString validateLocalCard(LocalCardDTO cardBean, List<LocalCardChapterDTO> listChapters)
cardBean
- the card to validatelistChapters
- the chapters to validateString validateRootTheme(LocalFolderDTO folderBean)
folderBean
- the folder to validatenull
otherwiseString validateLinkedFolder(LocalFolderDTO folderBean)
folderBean
- the folder to validateString validateRootFolder(LocalCardDTO cardBean, String strId)
cardBean
- the card to validatestrId
- the parent folder idString validateLinkCard(LocalFolderDTO folderBean, String strId, LocalFolderLinkDTO link)
folderBean
- the folder to validatestrId
- the card for a link idlink
- the card for a linkString validateLinkedCard(LocalCardDTO cardBean, String strId)
cardBean
- the card to validatestrId
- the sibling card idCopyright © 2017 City of Paris. All rights reserved.