public interface FaqService extends IService, ServiceWithLastCreatedRecordSearch
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_ID |
Modifier and Type | Method and Description |
---|---|
void |
ajouterCommentaireFaq(Double identFaq,
Double identCScli,
String commentaireFaq,
Date dateCreation,
Double indPositif)
Insère un commentaire lié à une FAQ
|
Integer |
countFaqs(FaqPublieCritere critere) |
FFaq |
creerFaq(CtxFaq context) |
List<CtxFaq> |
findByListeIdent(List<Double> listeIdent)
Charge une liste de Faq.
|
FFaqComm |
getCommentaireVote(Double identFaq,
Double identCScli)
Retorune le commentaire du vote.
|
void |
incrementerVisite(Double identFaq)
Incrémente le compteur de visite de la FAQ
|
List<GPrdRevision> |
listRevisions(Double identProduit,
Double identVersion) |
List<GPrdVersion> |
listVersionsApplicable(Double identProduit,
Double identTheme,
boolean filtrePubliee) |
CtxFaq |
loadByIdent(Double ident) |
List<CtxFaqCom> |
loadCtxFaqComByIdentFaq(Double identFaq)
Charge les commentaires liés à une FAQ
|
List<TParstdParam> |
loadThemeByClient(Double identClient,
boolean filtrePubliee) |
List<FaqTheme> |
loadThemeByProduit(Double identProduit)
Charge une liste de thèmes publiés correspondant au produit
|
List<TParstdParam> |
loadThemeByProduit(Double identProduit,
boolean filtrePubliee) |
FaqTopResultatRecherche |
loadTop(int nbElement,
Double identClient,
Double identProduit,
boolean filtrePubliee)
Charge les éléments les plus consultés
|
FaqPublieTopResultat |
loadTopFaqByProduits(int nbResultats,
Collection<Double> produits,
Double identClientContrat,
boolean nouveaute)
Recheche les top FAQ concernant les produits maintenus donnés
|
List<Version> |
loadVersionsByProduitAndTheme(Double identProduit,
Double identTheme)
Charge une liste de versions publiées correspondant à un produit et/ou à un thème
|
CtxFaq |
modifierFaq(CtxFaq context) |
void |
nouveauteOuFaq(List<FaqResultatRecherche> faqs,
boolean nouveaute) |
void |
publier(List<FaqResultatRecherche> faqs,
boolean publier) |
List<FaqPublieResultat> |
rechercheMultiCritere(FaqPublieCritere critere)
Recherche les FAQ publiés selon le critère de recherche
|
List<FaqResultatRecherche> |
rechercheMultiCriteres(FaqCriteresRecherche critere) |
void |
supprimerFaq(FFaq faq) |
void |
vote(Double identFaq,
boolean vote)
Effectue un vote sur une faq
|
getServerMessages, resetServerMessages
getLastCreatedRecord
static final String SERVICE_ID
List<FaqResultatRecherche> rechercheMultiCriteres(FaqCriteresRecherche critere)
critere
- List<CtxFaqCom> loadCtxFaqComByIdentFaq(Double identFaq)
identFaq
- void supprimerFaq(FFaq faq)
faq
- List<TParstdParam> loadThemeByProduit(Double identProduit, boolean filtrePubliee)
identProduit
- List<TParstdParam> loadThemeByClient(Double identClient, boolean filtrePubliee)
identClient
- List<GPrdVersion> listVersionsApplicable(Double identProduit, Double identTheme, boolean filtrePubliee)
identProduit
- identTheme
- List<GPrdRevision> listRevisions(Double identProduit, Double identVersion)
void incrementerVisite(Double identFaq)
identFaq
- FaqTopResultatRecherche loadTop(int nbElement, Double identClient, Double identProduit, boolean filtrePubliee)
nbElement
- void vote(Double identFaq, boolean vote)
identFaq
- positive
- List<FaqTheme> loadThemeByProduit(Double identProduit)
List<Version> loadVersionsByProduitAndTheme(Double identProduit, Double identTheme)
List<FaqPublieResultat> rechercheMultiCritere(FaqPublieCritere critere)
FaqPublieTopResultat loadTopFaqByProduits(int nbResultats, Collection<Double> produits, Double identClientContrat, boolean nouveaute)
void ajouterCommentaireFaq(Double identFaq, Double identCScli, String commentaireFaq, Date dateCreation, Double indPositif)
FFaqComm getCommentaireVote(Double identFaq, Double identCScli)
Integer countFaqs(FaqPublieCritere critere)
void publier(List<FaqResultatRecherche> faqs, boolean publier)
void nouveauteOuFaq(List<FaqResultatRecherche> faqs, boolean nouveaute)
Copyright © 2016. All rights reserved.