fr.paris.lutece.plugins.ods.service.xpage.panier
Class AbstractPanierAppService<GProduit extends IProduit<GSeance,GFichier,GElu,GVoeuAmendement,GPdd>,GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GSeanceFilter extends ISeanceFilter,GElu extends IElu,GVoeuAmendement extends IVoeuAmendement<GVoeuAmendement,GSeance,GElu,GFichier,GPdd>,GPdd extends IPDD<GVoeuAmendement,GSeance,GElu,GFichier,GPdd>,GVoeuAmendementFilter extends IVoeuAmendementFilter,GActeFilter extends IActeFilter<GFichier,GSeance>,GDeliberationDesignation extends IDeliberationDesignation<GSeance,GFichier>>

java.lang.Object
  extended by fr.paris.lutece.plugins.ods.service.xpage.panier.AbstractPanierAppService<GProduit,GSeance,GFichier,GSeanceFilter,GElu,GVoeuAmendement,GPdd,GVoeuAmendementFilter,GActeFilter,GDeliberationDesignation>
All Implemented Interfaces:
IPanierAppService

public abstract class AbstractPanierAppService<GProduit extends IProduit<GSeance,GFichier,GElu,GVoeuAmendement,GPdd>,GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GSeanceFilter extends ISeanceFilter,GElu extends IElu,GVoeuAmendement extends IVoeuAmendement<GVoeuAmendement,GSeance,GElu,GFichier,GPdd>,GPdd extends IPDD<GVoeuAmendement,GSeance,GElu,GFichier,GPdd>,GVoeuAmendementFilter extends IVoeuAmendementFilter,GActeFilter extends IActeFilter<GFichier,GSeance>,GDeliberationDesignation extends IDeliberationDesignation<GSeance,GFichier>>
extends java.lang.Object
implements IPanierAppService


Field Summary
protected static java.lang.String PROPERTY_TELECHARGEMENT_SERVLET_PANIER
           
 
Constructor Summary
AbstractPanierAppService()
           
 
Method Summary
 java.util.HashMap<java.lang.String,java.lang.Object> getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          renvoie la page.
abstract  java.lang.String getPropertyPageTitle()
          Récupère la clé d'internationalisation du titre de la Xpage (en fichier .properties)
abstract  java.lang.String getPropertyPathLabel()
          Récupère la clé d'internationalisation du path de la Xpage (en fichier .properties)
abstract  java.lang.String getTemplate()
          Retourne le template Freemarker correspondant à la Xpage
abstract  java.lang.String getUrlDownloadPanier()
          Retourne l'URL de téléchargement du panier
protected abstract  GProduit newProduitInstance()
           
protected abstract  boolean refreshElementsPanierSpec(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String idUser, java.util.List<GProduit> produits, GFichier fichier, GProduit produit)
          Renvoie true si le fichier a été traité, false sinon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_TELECHARGEMENT_SERVLET_PANIER

protected static final java.lang.String PROPERTY_TELECHARGEMENT_SERVLET_PANIER
See Also:
Constant Field Values
Constructor Detail

AbstractPanierAppService

public AbstractPanierAppService()
Method Detail

newProduitInstance

protected abstract GProduit newProduitInstance()

refreshElementsPanierSpec

protected abstract boolean refreshElementsPanierSpec(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                     java.lang.String idUser,
                                                     java.util.List<GProduit> produits,
                                                     GFichier fichier,
                                                     GProduit produit)
Renvoie true si le fichier a été traité, false sinon.

Parameters:
plugin -
idUser -
produits -
Returns:

getPage

public java.util.HashMap<java.lang.String,java.lang.Object> getPage(javax.servlet.http.HttpServletRequest request,
                                                                    int nMode,
                                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
renvoie la page.

Specified by:
getPage in interface IPanierAppService
Parameters:
request - le requête http
nMode - le mode
plugin - le Plugin actif
Returns:
la page

getUrlDownloadPanier

public abstract java.lang.String getUrlDownloadPanier()
Retourne l'URL de téléchargement du panier

Specified by:
getUrlDownloadPanier in interface IPanierAppService
Returns:
l'URL de téléchargement du panier

getPropertyPageTitle

public abstract java.lang.String getPropertyPageTitle()
Description copied from interface: IPanierAppService
Récupère la clé d'internationalisation du titre de la Xpage (en fichier .properties)

Specified by:
getPropertyPageTitle in interface IPanierAppService
Returns:
clé d'internationalisation du titre de la Xpage

getPropertyPathLabel

public abstract java.lang.String getPropertyPathLabel()
Description copied from interface: IPanierAppService
Récupère la clé d'internationalisation du path de la Xpage (en fichier .properties)

Specified by:
getPropertyPathLabel in interface IPanierAppService
Returns:
clé d'internationalisation du path de la Xpage

getTemplate

public abstract java.lang.String getTemplate()
Description copied from interface: IPanierAppService
Retourne le template Freemarker correspondant à la Xpage

Specified by:
getTemplate in interface IPanierAppService
Returns:
Le template Freemarker correspondant à la Xpage


Copyright © 2010 Mairie de Paris. All Rights Reserved.