public interface IDilaLocalCardService
LocalCardDTO
Modifier and Type | Method and Description |
---|---|
Long |
create(LocalCardDTO card)
Create a
LocalCardDTO |
void |
delete(Long localCardId)
Delete a
LocalCardDTO |
LocalCardDTO |
findCardByLocalId(Long localId)
Find a
LocalCardDTO by its id local |
Long |
findCardIdByLocalId(String localId)
Find a card id by its local id
|
List<LocalCardDTO> |
findLocalCardsByParentFolder(String parentId)
Find all
LocalCardDTO attached to parent folder |
Document |
insertCardLinks(String parentId,
DocumentBuilder builder,
Document document)
Insert local links into document
|
boolean |
isCardWithParentId(String localId)
Check if a
LocalCardDTO reference the idLocal as parent folder |
void |
update(LocalCardDTO card)
Update a
LocalCardDTO |
Long create(LocalCardDTO card)
LocalCardDTO
card
- the LocalCardDTO
to createLong findCardIdByLocalId(String localId)
localId
- the id findvoid delete(Long localCardId)
LocalCardDTO
localCardId
- the id to deleteLocalCardDTO findCardByLocalId(Long localId)
LocalCardDTO
by its id locallocalId
- the id to findLocalCardDTO
void update(LocalCardDTO card)
LocalCardDTO
card
- the card to updateboolean isCardWithParentId(String localId)
LocalCardDTO
reference the idLocal as parent folderlocalId
- the id to checktrue
if at least one fiche exists,
false
otherwiseDocument insertCardLinks(String parentId, DocumentBuilder builder, Document document)
parentId
- the parent idbuilder
- the builder to usedocument
- the document to completeList<LocalCardDTO> findLocalCardsByParentFolder(String parentId)
LocalCardDTO
attached to parent folderparentId
- the parent folder idCopyright © 2017 City of Paris. All rights reserved.