|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.dila.service.impl.DilaLocalCardService
public class DilaLocalCardService
Implementation of IDilaLocalCardService
| Constructor Summary | |
|---|---|
DilaLocalCardService()
|
|
| Method Summary | |
|---|---|
Long |
create(LocalCardDTO fiche)
Create a LocalCardDTO |
void |
delete(Long localCardId)
Delete a LocalCardDTO |
LocalCardDTO |
findCardByLocalId(Long idLocal)
Find a LocalCardDTO by its id local |
Long |
findCardIdByLocalId(String idLocal)
Find a card id by its local id |
List<LocalCardDTO> |
findLocalCardsByParentFolder(String idParent)
Find all LocalCardDTO attached to parent folder |
Document |
insertCardLinks(String parentId,
DocumentBuilder builder,
Document document)
Insert local links into document |
boolean |
isCardWithParentId(String idLocal)
Check if a LocalCardDTO reference the idLocal as parent folder |
void |
update(LocalCardDTO card)
Update a LocalCardDTO |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DilaLocalCardService()
| Method Detail |
|---|
public Long create(LocalCardDTO fiche)
IDilaLocalCardServiceLocalCardDTO
create in interface IDilaLocalCardServicefiche - the LocalCardDTO to create
public Long findCardIdByLocalId(String idLocal)
IDilaLocalCardService
findCardIdByLocalId in interface IDilaLocalCardServiceidLocal - the id find
public void delete(Long localCardId)
IDilaLocalCardServiceLocalCardDTO
delete in interface IDilaLocalCardServicelocalCardId - the id to deletepublic LocalCardDTO findCardByLocalId(Long idLocal)
IDilaLocalCardServiceLocalCardDTO by its id local
findCardByLocalId in interface IDilaLocalCardServiceidLocal - the id to find
LocalCardDTOpublic void update(LocalCardDTO card)
IDilaLocalCardServiceLocalCardDTO
update in interface IDilaLocalCardServicecard - the card to updatepublic boolean isCardWithParentId(String idLocal)
IDilaLocalCardServiceLocalCardDTO reference the idLocal as parent folder
isCardWithParentId in interface IDilaLocalCardServiceidLocal - the id to check
true if at least one fiche exists,
false otherwise
public Document insertCardLinks(String parentId,
DocumentBuilder builder,
Document document)
IDilaLocalCardService
insertCardLinks in interface IDilaLocalCardServiceparentId - the parent idbuilder - the builder to usedocument - the document to complete
public List<LocalCardDTO> findLocalCardsByParentFolder(String idParent)
IDilaLocalCardServiceLocalCardDTO attached to parent folder
findLocalCardsByParentFolder in interface IDilaLocalCardServiceidParent - the parent folder id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||