|
||||||||||
| 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.LocalDAO
public class LocalDAO
Implementation of ILocalDAO
| Constructor Summary | |
|---|---|
LocalDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(String idLocal)
Delete a LocalDTO |
List<LocalDTO> |
findAll()
Find all LocalDTO |
List<LocalDTO> |
findAllByAudienceId(Long audienceId)
Find all LocalDTO by audience id |
List<LocalDTO> |
findLastCardsByAudience(Long audienceId)
Find 10 last fiches for display |
LocalDTO |
findLocalByIdAndTypeAndAudience(Long id,
Long type,
Long idAudience)
Find a LocalDTO by its id and type |
String |
findTitleByIdAndTypeAndAudience(Long id,
Long type,
Long idAudience)
Find a title by its id and type |
String |
findXmlById(Long id)
Find xml content of LocalDTO by its id |
Long |
insert(LocalDTO local,
boolean addIdToBreadcrumb)
Create a LocalDTO |
void |
store(LocalDTO localDTO,
boolean addIdToBreadcrumb)
Update a LocalDTO |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalDAO()
| Method Detail |
|---|
public LocalDTO findLocalByIdAndTypeAndAudience(Long id,
Long type,
Long idAudience)
ILocalDAOLocalDTO by its id and type
findLocalByIdAndTypeAndAudience in interface ILocalDAOid - the id to findtype - the typeidAudience - the id audience
LocalDTO
public String findTitleByIdAndTypeAndAudience(Long id,
Long type,
Long idAudience)
ILocalDAO
findTitleByIdAndTypeAndAudience in interface ILocalDAOid - the id to findtype - the typeidAudience - the id audience
LocalDTOpublic List<LocalDTO> findAll()
ILocalDAOLocalDTO
findAll in interface ILocalDAOLocalDTO
public Long insert(LocalDTO local,
boolean addIdToBreadcrumb)
ILocalDAOLocalDTO
insert in interface ILocalDAOlocal - the LocalDTO to createaddIdToBreadcrumb - true if id must be id to
breadcrumb, false otherwise
LocalDTOpublic void delete(String idLocal)
ILocalDAOLocalDTO
delete in interface ILocalDAOidLocal - the id to delete
public void store(LocalDTO localDTO,
boolean addIdToBreadcrumb)
ILocalDAOLocalDTO
store in interface ILocalDAOlocalDTO - the LocalDTO to updateaddIdToBreadcrumb - true if id must be id to
breadcrumb, false otherwisepublic String findXmlById(Long id)
ILocalDAOLocalDTO by its id
findXmlById in interface ILocalDAOid - the id
public List<LocalDTO> findLastCardsByAudience(Long audienceId)
ILocalDAO
findLastCardsByAudience in interface ILocalDAOaudienceId - the audience to check
LocalDTOpublic List<LocalDTO> findAllByAudienceId(Long audienceId)
ILocalDAOLocalDTO by audience id
findAllByAudienceId in interface ILocalDAOaudienceId - the audience id
LocalDTO in audience id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||