|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.dila.business.fichelocale.dao.impl.LocalCardDAO
public class LocalCardDAO
Implements ILocalCardDAO
| Constructor Summary | |
|---|---|
LocalCardDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(Long ficheLocalId)
Delete a card |
LocalCardDTO |
findCardByLocalId(Long idLocal)
Find a LocalCardDTO by its id local |
Long |
findCardIdByLocalId(String localId)
Find a LocalCardDTO id by its local id |
List<LocalCardDTO> |
findLocalCardsByParentFolder(String parentId)
Find all LocalCardDTO attached to parent folder |
Long |
insert(LocalCardDTO card)
Create a LocalCardDTO |
boolean |
isCardWithParentId(String localId)
Check if a LocalCardDTO reference the idLocal as parent dossier |
void |
store(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 LocalCardDAO()
| Method Detail |
|---|
public Long insert(LocalCardDTO card)
ILocalCardDAOLocalCardDTO
insert in interface ILocalCardDAOcard - the card to create
public Long findCardIdByLocalId(String localId)
ILocalCardDAOLocalCardDTO id by its local id
findCardIdByLocalId in interface ILocalCardDAOlocalId - the id to find
LocalCardDTOpublic void delete(Long ficheLocalId)
ILocalCardDAO
delete in interface ILocalCardDAOficheLocalId - the id of card to deletepublic LocalCardDTO findCardByLocalId(Long idLocal)
ILocalCardDAOLocalCardDTO by its id local
findCardByLocalId in interface ILocalCardDAOidLocal - the id to find
LocalCardDTOpublic void store(LocalCardDTO card)
ILocalCardDAOLocalCardDTO
store in interface ILocalCardDAOcard - the card to updatepublic boolean isCardWithParentId(String localId)
ILocalCardDAOLocalCardDTO reference the idLocal as parent dossier
isCardWithParentId in interface ILocalCardDAOlocalId - the id to check
true if at least one card exists, false
otherwisepublic List<LocalCardDTO> findLocalCardsByParentFolder(String parentId)
ILocalCardDAOLocalCardDTO attached to parent folder
findLocalCardsByParentFolder in interface ILocalCardDAOparentId - the parent folder id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||