Package | Description |
---|---|
fr.paris.lutece.plugins.announce.business | |
fr.paris.lutece.plugins.announce.service | |
fr.paris.lutece.plugins.announce.service.announcesearch |
Modifier and Type | Class and Description |
---|---|
class |
AnnounceDTO
DTO for announces
|
Modifier and Type | Method and Description |
---|---|
static Announce |
AnnounceHome.create(Announce announce)
Create an instance of the announce class
|
static Announce |
AnnounceHome.findByPrimaryKey(int nKey)
Returns an instance of a announce whose identifier is specified in parameter
|
Announce |
AnnounceDAO.load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Announce |
IAnnounceDAO.load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
static Announce |
AnnounceHome.update(Announce announce)
Update of the announce which is specified in parameter
|
Modifier and Type | Method and Description |
---|---|
static List<Announce> |
AnnounceHome.findAllPublished(AnnounceSort announceSort)
Load the data of all the announce objects and returns them in form of a list
|
static List<Announce> |
AnnounceHome.findByListId(List<Integer> listIdAnnounces,
AnnounceSort announceSort)
Get the list of announces from a list of ids
|
List<Announce> |
AnnounceDAO.findByListId(List<Integer> listIdAnnounces,
AnnounceSort announceSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of announces from a list of ids
|
List<Announce> |
IAnnounceDAO.findByListId(List<Integer> listIdAnnounces,
AnnounceSort announceSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of announces from a list of ids
|
static List<Announce> |
AnnounceHome.getAnnouncesForUser(fr.paris.lutece.portal.service.security.LuteceUser user,
AnnounceSort announceSort)
selects all the announces for a user
|
static List<Announce> |
AnnounceHome.getAnnouncesForUser(String user,
AnnounceSort announceSort)
selects all the announces for a user
|
List<Announce> |
AnnounceDAO.selectAllForUser(String strUsername,
AnnounceSort announceSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selects all announces for a given user
|
List<Announce> |
IAnnounceDAO.selectAllForUser(String strUsername,
AnnounceSort announceSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selects all announces for a given user
|
List<Announce> |
AnnounceDAO.selectAllPublished(AnnounceSort announceSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selects all the published announces
|
List<Announce> |
IAnnounceDAO.selectAllPublished(AnnounceSort announceSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selects all the published announces
|
Modifier and Type | Method and Description |
---|---|
static Announce |
AnnounceHome.create(Announce announce)
Create an instance of the announce class
|
void |
AnnounceDAO.insert(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
IAnnounceDAO.insert(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
static void |
AnnounceHome.setHasNotifed(Announce announce) |
void |
AnnounceDAO.setHasNotifed(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
IAnnounceDAO.setHasNotifed(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static void |
AnnounceHome.setPublished(Announce announce)
publish or unpublish an announce
|
void |
AnnounceDAO.setPublished(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
publish or unpublish an announce
|
void |
IAnnounceDAO.setPublished(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
publish or unpublish an announce
|
static void |
AnnounceHome.setSuspended(Announce announce)
suspend or UnSuspend an announce
|
void |
AnnounceDAO.setSuspended(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
suspend or enable an announce
|
void |
IAnnounceDAO.setSuspended(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
suspend or enable an announce
|
static void |
AnnounceHome.setSuspendedByUser(Announce announce)
suspend or UnSuspend an announce
|
void |
AnnounceDAO.setSuspendedByUser(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
suspend or enable an announce
|
void |
IAnnounceDAO.setSuspendedByUser(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
suspend or enable an announce
|
void |
AnnounceDAO.store(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
IAnnounceDAO.store(Announce announce,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static Announce |
AnnounceHome.update(Announce announce)
Update of the announce which is specified in parameter
|
Constructor and Description |
---|
AnnounceDTO(Announce announce)
Creates a new announce DTO from an announce
|
Modifier and Type | Method and Description |
---|---|
String |
AnnounceService.getHtmlAnnounceForm(Announce announce,
Category category,
Locale locale,
boolean bDisplayFront,
javax.servlet.http.HttpServletRequest request)
Return the HTML code of the form
|
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.document.Document |
DefaultAnnounceIndexer.getDocument(Announce announce,
String strUrl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Builds a document which will be used by Lucene during the indexing of the announces list
|
Modifier and Type | Method and Description |
---|---|
int |
AnnounceSearchService.getSearchResultsBis(AnnounceSearchFilter filter,
int nPageNumber,
int nItemsPerPage,
List<Announce> listAnnouncesResults,
AnnounceSort anSort) |
int |
IAnnounceSearchEngine.getSearchResultsBis(AnnounceSearchFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
List<Announce> listSearchResult,
int nPage,
int nItemsPerPage,
AnnounceSort anSort) |
int |
AnnounceLuceneSearchEngine.getSearchResultsBis(AnnounceSearchFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
List<Announce> listAnnouncesResult,
int nPage,
int nItemsPerPage,
AnnounceSort anSort) |
Copyright © 2019 City of Paris. All rights reserved.