fr.paris.lutece.plugins.ods.service.deliberationdesignation
Class AbstractDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GActeFilter extends IActeFilter<GFichier,GSeance>,GDeliberationDesignation extends IDeliberationDesignation<GSeance,GFichier>,GElu extends IElu,GVoeuAmendement extends IVoeuAmendement<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>,GPDD extends IPDD<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>,GSeanceFilter extends ISeanceFilter,GRequeteUtilisateur extends IRequeteUtilisateur<GSeance,GSeanceFilter>,GResultatRequete extends IResultatRequete<GSeance,GSeanceFilter,GRequeteUtilisateur,GElu,GFichier,GVoeuAmendement,GPDD>>

java.lang.Object
  extended by fr.paris.lutece.plugins.ods.service.deliberationdesignation.AbstractDeliberationDesignationService<GSeance,GFichier,GActeFilter,GDeliberationDesignation,GElu,GVoeuAmendement,GPDD,GSeanceFilter,GRequeteUtilisateur,GResultatRequete>
All Implemented Interfaces:
IActeServiceManaged<GSeance,GFichier>, ICertificatAffichageServiceManaged<GSeance,GFichier>, IDeliberationDesignationService<GSeance,GFichier>, IHorodatageServiceManaged, IODSService, IServiceManaged

public abstract class AbstractDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GActeFilter extends IActeFilter<GFichier,GSeance>,GDeliberationDesignation extends IDeliberationDesignation<GSeance,GFichier>,GElu extends IElu,GVoeuAmendement extends IVoeuAmendement<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>,GPDD extends IPDD<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>,GSeanceFilter extends ISeanceFilter,GRequeteUtilisateur extends IRequeteUtilisateur<GSeance,GSeanceFilter>,GResultatRequete extends IResultatRequete<GSeance,GSeanceFilter,GRequeteUtilisateur,GElu,GFichier,GVoeuAmendement,GPDD>>
extends java.lang.Object
implements IDeliberationDesignationService<GSeance,GFichier>, IHorodatageServiceManaged, ICertificatAffichageServiceManaged<GSeance,GFichier>


Field Summary
protected  ActeHome<GSeance,GFichier,GActeFilter> _acteHome
           
protected  IActeService<GSeance,GFichier,GActeFilter> _acteService
           
protected  boolean _bComeFromActe
           
protected  boolean _bHasChanged
           
protected  boolean _bUrlRetour
           
protected  CategorieDeliberationHome _categorieDeliberationHome
           
protected  ICategorieDeliberationService _categorieDeliberationService
           
protected  AbstractDeliberationDesignationHome<GSeance,GFichier,GDeliberationDesignation,GActeFilter> _deliberationDesignationHome
           
protected  IDirectionService _directionService
           
protected  IFichierHome<GFichier,IFichierFilter,ITypeDocument,GSeance> _fichierHome
           
protected  FichierPhysiqueHome _fichierPhysiqueHome
           
protected  FormationConseilHome _formationConseilHome
           
protected  IFormationConseilService _formationConseilService
           
protected  HistoriqueHome _historiqueHome
           
protected  IHorodatageService _horodatageService
           
protected  NatureActeHome _natureActeHome
           
protected  int _nDefaultItemsPerPage
           
protected  int _nIdSeanceSelected
           
protected  int _nItemsPerPage
           
protected  int _nStatutActeSelected
           
protected  int _nTypeUrlRetour
           
protected  ISeanceHome<GSeance,ISeanceFilter,GFichier,GElu,GVoeuAmendement,GPDD> _seanceHome
           
protected  ISearchService<GSeance,GSeanceFilter,GRequeteUtilisateur,GResultatRequete,GElu,GFichier,GVoeuAmendement,GPDD> _searchService
           
protected  StatutActeHome _statutActeHome
           
protected  java.lang.String _strCurrentPageIndex
           
protected  java.lang.String _strUrlRetour
           
protected static int DEFAULT_CODE_DELIBERATION
           
protected static java.lang.String JSP_URL_FINALISATION_ACTE
           
protected static java.lang.String JSP_URL_GET_MODIFICATION_DELIBERATION_DESIGNATION
           
protected static java.lang.String JSP_URL_GET_MODIFICATION_DELIBERATION_DESIGNATION_FOR_ACTE
           
protected static java.lang.String JSP_URL_GET_VISUALISATION_DELIBERATION_DESIGNATION_FOR_ACTE
           
protected static java.lang.String JSP_URL_LISTE_DELIBERATIONS
           
protected static java.lang.String MARK_ACTE
           
protected static java.lang.String MARK_ID_ACTE
           
protected static java.lang.String MARK_ID_CATEGORIE_DELIBERATION_SELECTED
           
protected static java.lang.String MARK_ID_SEANCE_SELECTED
           
protected static java.lang.String MARK_LISTE_CATEGORIE_DELIBERATION
           
protected static java.lang.String MARK_LISTE_DELIBERATIONS
           
protected static java.lang.String MARK_LISTE_DELIBERATIONS_SIZE_TOTAL
           
protected static java.lang.String MARK_LISTE_DIRECTION
           
protected static java.lang.String MARK_LISTE_HISTORIQUES
           
protected static java.lang.String MARK_LISTE_NATURE_DOCUMENT
           
protected static java.lang.String MARK_LISTE_SEANCES
           
protected static java.lang.String MARK_STATUT_ACTE_SELECTED
           
protected static java.lang.String MESSAGE_CANNOT_DELETE_DELIBERATION
           
protected static java.lang.String MESSAGE_CONFIRM_DELETE_DELIBERATION
           
protected static java.lang.String MESSAGE_CONFIRM_DELETE_DELIBERATION_WITH_ACTES
           
protected static java.lang.String MESSAGE_ERROR_DELETE_DELIBERATION
           
protected static java.lang.String PROPERTY_CODE_DELIBERATION_DEFAUT
           
protected static java.lang.String PROPERTY_DELIBERATIONS_DESIGNATION_PER_PAGE
           
protected static java.lang.String PROPERTY_LABEL_CATEGORIE
           
protected static java.lang.String PROPERTY_LABEL_DATE_VOTE
           
protected static java.lang.String PROPERTY_LABEL_FICHIER_NO_PDF
           
protected static java.lang.String PROPERTY_LABEL_FICHIER_SCANNE
           
protected static java.lang.String PROPERTY_LABEL_INTITULE
           
protected static java.lang.String PROPERTY_LABEL_NUMERO
           
protected static java.lang.String PROPERTY_LABEL_SEANCE
           
protected static java.lang.String PROPERTY_MESSAGE_FILES_NOT_FOUND
           
protected static java.lang.String PROPERTY_URL_DO_SUPPRESSION_DELIBERATION_DESIGNATION_GESTION_AVAL_JSP
           
 
Constructor Summary
AbstractDeliberationDesignationService()
          Constructor.
 
Method Summary
 void comeFromActe()
           
 IBusinessItem createItemToDeleteInIndexer(int nIdItem)
           
 java.lang.String doCreationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
          Creation d'une délibération de désignation si tous les champs obligatoires du formulaire de création d'une délibération ont été renseigné,
la méthode retourne l'url de gestion des délibérations,
sinon l'url retournée est celle de l'interface spécifiant les messages d'erreurs.
protected abstract  void doCreationDeliberationDesignationSpec(GDeliberationDesignation deliberation, javax.servlet.http.HttpServletRequest request)
           
 GFichier doDownloadFichier(javax.servlet.http.HttpServletRequest request)
          Télécharge un fichier.
 java.lang.String doFinaliserActe(javax.servlet.http.HttpServletRequest request)
          Permet de confirmer la finalisation d'un acte
protected abstract  void doModificationActeSpec(Acte<GSeance,GFichier> acte, javax.servlet.http.HttpServletRequest request)
           
 java.lang.String doModificationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
          Modifie la délibération de désignation Si la délibération est en ligne, alors la version est incrémentée de 1 et ajout d'un historique si tous les champs obligatoires du formulaire de modification d'une délibération ont été renseignés,
la méthode retourne l'url de gestion des délibérations,
sinon l'url retournée est celle de l'interface spécifiant les messages d'erreurs.
protected abstract  void doModificationDeliberationDesignationSpec(GDeliberationDesignation deliberation, javax.servlet.http.HttpServletRequest request)
           
 void doPublicationActe(Acte<GSeance,GFichier> acte, boolean bIsPublie, java.sql.Timestamp dateForVersion)
           
 java.lang.String doPublicationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
          Publication d'une délibération de désignation Si "OdsParameters.DELIBERATION_IS_PUBLIER" égale à TRUE, alors la méthode publie la délibération et incrémente la version
Dans ce cas, un historique est crée Sinon la méthode change le statut enLigne d'une délibération a FALSE
 java.lang.String doSuppressionDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
          supprime la délibération de désignation choisie
 java.util.Comparator<IBusinessItem> getComparatorClass()
           
 java.util.HashMap<java.lang.String,java.lang.Object> getConfirmFinaliser(javax.servlet.http.HttpServletRequest request)
          retourne la map contentant les éléments utiles au template HTML
 java.util.HashMap<java.lang.String,java.lang.Object> getCreationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
          retourne la map contentant les éléments utiles au template HTML de creation
protected abstract  void getDeliberationDesignationCreationSpec(java.util.HashMap<java.lang.String,java.lang.Object> model, javax.servlet.http.HttpServletRequest request)
           
 java.util.HashMap<java.lang.String,java.lang.Object> getDeliberationDesignationList(javax.servlet.http.HttpServletRequest request, java.lang.String strHomeUrl)
          Retourne la map contentant les éléments utiles au template HTML de la liste
protected abstract  void getDeliberationDesignationListFilterSpec(DeliberationDesignationFilter filter, javax.servlet.http.HttpServletRequest request)
           
protected abstract  void getDeliberationDesignationListSpec(java.util.HashMap<java.lang.String,java.lang.Object> model, javax.servlet.http.HttpServletRequest request)
           
 IEntiteCertificatAffichage getEntite(Acte<GSeance,GFichier> acte)
           
 java.util.HashMap<java.lang.String,java.lang.Object> getHistoriqueDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
          retourne la map contentant les éléments utiles au template HTML de l'historique
 java.lang.String getIdParameter()
           
 int getIndexerAction(IBusinessItem item)
           
 java.lang.String getJspUrlGetModificationForActe(javax.servlet.http.HttpServletRequest request, int nIdEntite, int nIdActe)
           
 java.lang.String getMarkForCertificat(int nIdTypeEntite)
           
 java.util.HashMap<java.lang.String,java.lang.Object> getModificationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
          retourne la map contentant les éléments utiles au template HTML de modification
protected abstract  void getModificationDeliberationDesignationSpec(javax.servlet.http.HttpServletRequest request, GDeliberationDesignation deliberation)
           
protected abstract  void getModificationDeliberationDesignationSpecEnd(java.util.HashMap<java.lang.String,java.lang.Object> model, javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getObjetActe(Acte<GSeance,GFichier> acte)
          Renvoie l'objet de l'acte utilisé lors de l'envoi vers la plate-forme Numéro Intitulé
protected abstract  java.lang.String getParameterPluginName()
           
protected abstract  fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
           
 GSeance getSeance(IBusinessItem entite)
           
 java.lang.String getSignature(IEntiteHorodatage entite)
          Retourne la signature numériques SHA224 de la délibération de désignation
 java.lang.String getSuppressionDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
          retourne une demande de confirmation pour la suppression de lé délibération choisie
 void initUrlRetour(java.lang.String strUrl, javax.servlet.http.HttpServletRequest request)
          Permet d'initialiser l'url de retour
 boolean isPublie(javax.servlet.http.HttpServletRequest request)
           
protected abstract  boolean isValideFormeSpec(java.util.List<java.lang.String> champsNonSaisie, javax.servlet.http.HttpServletRequest request, boolean bIsCreation)
           
protected abstract  GDeliberationDesignation newDeliberationInstance()
           
protected abstract  GFichier newFichierInstance()
           
 void reinitSession(javax.servlet.http.HttpServletRequest request)
          Reinitialise tous les attributs de session
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JSP_URL_GET_MODIFICATION_DELIBERATION_DESIGNATION

protected static final java.lang.String JSP_URL_GET_MODIFICATION_DELIBERATION_DESIGNATION
See Also:
Constant Field Values

JSP_URL_GET_VISUALISATION_DELIBERATION_DESIGNATION_FOR_ACTE

protected static final java.lang.String JSP_URL_GET_VISUALISATION_DELIBERATION_DESIGNATION_FOR_ACTE
See Also:
Constant Field Values

JSP_URL_GET_MODIFICATION_DELIBERATION_DESIGNATION_FOR_ACTE

protected static final java.lang.String JSP_URL_GET_MODIFICATION_DELIBERATION_DESIGNATION_FOR_ACTE
See Also:
Constant Field Values

JSP_URL_LISTE_DELIBERATIONS

protected static final java.lang.String JSP_URL_LISTE_DELIBERATIONS
See Also:
Constant Field Values

JSP_URL_FINALISATION_ACTE

protected static final java.lang.String JSP_URL_FINALISATION_ACTE
See Also:
Constant Field Values

PROPERTY_DELIBERATIONS_DESIGNATION_PER_PAGE

protected static final java.lang.String PROPERTY_DELIBERATIONS_DESIGNATION_PER_PAGE
See Also:
Constant Field Values

PROPERTY_URL_DO_SUPPRESSION_DELIBERATION_DESIGNATION_GESTION_AVAL_JSP

protected static final java.lang.String PROPERTY_URL_DO_SUPPRESSION_DELIBERATION_DESIGNATION_GESTION_AVAL_JSP
See Also:
Constant Field Values

PROPERTY_LABEL_SEANCE

protected static final java.lang.String PROPERTY_LABEL_SEANCE
See Also:
Constant Field Values

PROPERTY_LABEL_INTITULE

protected static final java.lang.String PROPERTY_LABEL_INTITULE
See Also:
Constant Field Values

PROPERTY_LABEL_NUMERO

protected static final java.lang.String PROPERTY_LABEL_NUMERO
See Also:
Constant Field Values

PROPERTY_LABEL_FICHIER_SCANNE

protected static final java.lang.String PROPERTY_LABEL_FICHIER_SCANNE
See Also:
Constant Field Values

PROPERTY_LABEL_CATEGORIE

protected static final java.lang.String PROPERTY_LABEL_CATEGORIE
See Also:
Constant Field Values

PROPERTY_LABEL_DATE_VOTE

protected static final java.lang.String PROPERTY_LABEL_DATE_VOTE
See Also:
Constant Field Values

PROPERTY_LABEL_FICHIER_NO_PDF

protected static final java.lang.String PROPERTY_LABEL_FICHIER_NO_PDF
See Also:
Constant Field Values

PROPERTY_MESSAGE_FILES_NOT_FOUND

protected static final java.lang.String PROPERTY_MESSAGE_FILES_NOT_FOUND
See Also:
Constant Field Values

MARK_LISTE_DELIBERATIONS

protected static final java.lang.String MARK_LISTE_DELIBERATIONS
See Also:
Constant Field Values

MARK_LISTE_HISTORIQUES

protected static final java.lang.String MARK_LISTE_HISTORIQUES
See Also:
Constant Field Values

MARK_LISTE_DELIBERATIONS_SIZE_TOTAL

protected static final java.lang.String MARK_LISTE_DELIBERATIONS_SIZE_TOTAL
See Also:
Constant Field Values

MARK_LISTE_CATEGORIE_DELIBERATION

protected static final java.lang.String MARK_LISTE_CATEGORIE_DELIBERATION
See Also:
Constant Field Values

MARK_ID_CATEGORIE_DELIBERATION_SELECTED

protected static final java.lang.String MARK_ID_CATEGORIE_DELIBERATION_SELECTED
See Also:
Constant Field Values

MARK_LISTE_SEANCES

protected static final java.lang.String MARK_LISTE_SEANCES
See Also:
Constant Field Values

MARK_ID_SEANCE_SELECTED

protected static final java.lang.String MARK_ID_SEANCE_SELECTED
See Also:
Constant Field Values

MARK_LISTE_NATURE_DOCUMENT

protected static final java.lang.String MARK_LISTE_NATURE_DOCUMENT
See Also:
Constant Field Values

MARK_LISTE_DIRECTION

protected static final java.lang.String MARK_LISTE_DIRECTION
See Also:
Constant Field Values

MARK_ID_ACTE

protected static final java.lang.String MARK_ID_ACTE
See Also:
Constant Field Values

MARK_ACTE

protected static final java.lang.String MARK_ACTE
See Also:
Constant Field Values

MARK_STATUT_ACTE_SELECTED

protected static final java.lang.String MARK_STATUT_ACTE_SELECTED
See Also:
Constant Field Values

MESSAGE_CANNOT_DELETE_DELIBERATION

protected static final java.lang.String MESSAGE_CANNOT_DELETE_DELIBERATION
See Also:
Constant Field Values

MESSAGE_CONFIRM_DELETE_DELIBERATION

protected static final java.lang.String MESSAGE_CONFIRM_DELETE_DELIBERATION
See Also:
Constant Field Values

MESSAGE_CONFIRM_DELETE_DELIBERATION_WITH_ACTES

protected static final java.lang.String MESSAGE_CONFIRM_DELETE_DELIBERATION_WITH_ACTES
See Also:
Constant Field Values

MESSAGE_ERROR_DELETE_DELIBERATION

protected static final java.lang.String MESSAGE_ERROR_DELETE_DELIBERATION
See Also:
Constant Field Values

PROPERTY_CODE_DELIBERATION_DEFAUT

protected static final java.lang.String PROPERTY_CODE_DELIBERATION_DEFAUT
See Also:
Constant Field Values

DEFAULT_CODE_DELIBERATION

protected static final int DEFAULT_CODE_DELIBERATION
See Also:
Constant Field Values

_nIdSeanceSelected

protected int _nIdSeanceSelected

_nStatutActeSelected

protected int _nStatutActeSelected

_strCurrentPageIndex

protected java.lang.String _strCurrentPageIndex

_nItemsPerPage

protected int _nItemsPerPage

_nDefaultItemsPerPage

protected int _nDefaultItemsPerPage

_bHasChanged

protected boolean _bHasChanged

_bUrlRetour

protected boolean _bUrlRetour

_strUrlRetour

protected java.lang.String _strUrlRetour

_nTypeUrlRetour

protected int _nTypeUrlRetour

_bComeFromActe

protected boolean _bComeFromActe

_deliberationDesignationHome

protected AbstractDeliberationDesignationHome<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GDeliberationDesignation extends IDeliberationDesignation<GSeance,GFichier>,GActeFilter extends IActeFilter<GFichier,GSeance>> _deliberationDesignationHome

_horodatageService

protected IHorodatageService _horodatageService

_searchService

protected ISearchService<GSeance extends ISeance,GSeanceFilter extends ISeanceFilter,GRequeteUtilisateur extends IRequeteUtilisateur<GSeance,GSeanceFilter>,GResultatRequete extends IResultatRequete<GSeance,GSeanceFilter,GRequeteUtilisateur,GElu,GFichier,GVoeuAmendement,GPDD>,GElu extends IElu,GFichier extends IFichier<GSeance,GFichier>,GVoeuAmendement extends IVoeuAmendement<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>,GPDD extends IPDD<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>> _searchService

_acteService

protected IActeService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GActeFilter extends IActeFilter<GFichier,GSeance>> _acteService

_acteHome

protected ActeHome<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GActeFilter extends IActeFilter<GFichier,GSeance>> _acteHome

_natureActeHome

protected NatureActeHome _natureActeHome

_statutActeHome

protected StatutActeHome _statutActeHome

_categorieDeliberationHome

protected CategorieDeliberationHome _categorieDeliberationHome

_categorieDeliberationService

protected ICategorieDeliberationService _categorieDeliberationService

_directionService

protected IDirectionService _directionService

_fichierHome

protected IFichierHome<GFichier extends IFichier<GSeance,GFichier>,IFichierFilter,ITypeDocument,GSeance extends ISeance> _fichierHome

_fichierPhysiqueHome

protected FichierPhysiqueHome _fichierPhysiqueHome

_formationConseilService

protected IFormationConseilService _formationConseilService

_formationConseilHome

protected FormationConseilHome _formationConseilHome

_historiqueHome

protected HistoriqueHome _historiqueHome

_seanceHome

protected ISeanceHome<GSeance extends ISeance,ISeanceFilter,GFichier extends IFichier<GSeance,GFichier>,GElu extends IElu,GVoeuAmendement extends IVoeuAmendement<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>,GPDD extends IPDD<GVoeuAmendement,GSeance,GElu,GFichier,GPDD>> _seanceHome
Constructor Detail

AbstractDeliberationDesignationService

public AbstractDeliberationDesignationService()
Constructor.

Method Detail

newDeliberationInstance

protected abstract GDeliberationDesignation newDeliberationInstance()

getModificationDeliberationDesignationSpec

protected abstract void getModificationDeliberationDesignationSpec(javax.servlet.http.HttpServletRequest request,
                                                                   GDeliberationDesignation deliberation)

getDeliberationDesignationListSpec

protected abstract void getDeliberationDesignationListSpec(java.util.HashMap<java.lang.String,java.lang.Object> model,
                                                           javax.servlet.http.HttpServletRequest request)

getDeliberationDesignationCreationSpec

protected abstract void getDeliberationDesignationCreationSpec(java.util.HashMap<java.lang.String,java.lang.Object> model,
                                                               javax.servlet.http.HttpServletRequest request)

getModificationDeliberationDesignationSpecEnd

protected abstract void getModificationDeliberationDesignationSpecEnd(java.util.HashMap<java.lang.String,java.lang.Object> model,
                                                                      javax.servlet.http.HttpServletRequest request)

getDeliberationDesignationListFilterSpec

protected abstract void getDeliberationDesignationListFilterSpec(DeliberationDesignationFilter filter,
                                                                 javax.servlet.http.HttpServletRequest request)

doCreationDeliberationDesignationSpec

protected abstract void doCreationDeliberationDesignationSpec(GDeliberationDesignation deliberation,
                                                              javax.servlet.http.HttpServletRequest request)

doModificationDeliberationDesignationSpec

protected abstract void doModificationDeliberationDesignationSpec(GDeliberationDesignation deliberation,
                                                                  javax.servlet.http.HttpServletRequest request)

doModificationActeSpec

protected abstract void doModificationActeSpec(Acte<GSeance,GFichier> acte,
                                               javax.servlet.http.HttpServletRequest request)

isValideFormeSpec

protected abstract boolean isValideFormeSpec(java.util.List<java.lang.String> champsNonSaisie,
                                             javax.servlet.http.HttpServletRequest request,
                                             boolean bIsCreation)

newFichierInstance

protected abstract GFichier newFichierInstance()

getPlugin

protected abstract fr.paris.lutece.portal.service.plugin.Plugin getPlugin()

getParameterPluginName

protected abstract java.lang.String getParameterPluginName()

reinitSession

public void reinitSession(javax.servlet.http.HttpServletRequest request)
Reinitialise tous les attributs de session

Specified by:
reinitSession in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - requete HTTP

initUrlRetour

public void initUrlRetour(java.lang.String strUrl,
                          javax.servlet.http.HttpServletRequest request)
Permet d'initialiser l'url de retour

Specified by:
initUrlRetour in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
strUrl - url de retour
request - la requête http

comeFromActe

public void comeFromActe()
Specified by:
comeFromActe in interface IActeServiceManaged<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>

isPublie

public boolean isPublie(javax.servlet.http.HttpServletRequest request)
Specified by:
isPublie in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request -
Returns:

getDeliberationDesignationList

public java.util.HashMap<java.lang.String,java.lang.Object> getDeliberationDesignationList(javax.servlet.http.HttpServletRequest request,
                                                                                           java.lang.String strHomeUrl)
Retourne la map contentant les éléments utiles au template HTML de la liste

Specified by:
getDeliberationDesignationList in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
strHomeUrl - l'URL de le retour
Returns:
model la map contentant les éléments utiles au template HTML de la liste

getCreationDeliberationDesignation

public java.util.HashMap<java.lang.String,java.lang.Object> getCreationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
retourne la map contentant les éléments utiles au template HTML de creation

Specified by:
getCreationDeliberationDesignation in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
model la map contentant les éléments utiles au template HTML de creation

getModificationDeliberationDesignation

public java.util.HashMap<java.lang.String,java.lang.Object> getModificationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
retourne la map contentant les éléments utiles au template HTML de modification

Specified by:
getModificationDeliberationDesignation in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
model la map contentant les éléments utiles au template HTML de modification

getHistoriqueDeliberationDesignation

public java.util.HashMap<java.lang.String,java.lang.Object> getHistoriqueDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
retourne la map contentant les éléments utiles au template HTML de l'historique

Specified by:
getHistoriqueDeliberationDesignation in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
model la map contentant les éléments utiles au template HTML de l'historique

getSuppressionDeliberationDesignation

public java.lang.String getSuppressionDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
retourne une demande de confirmation pour la suppression de lé délibération choisie

Specified by:
getSuppressionDeliberationDesignation in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
la page de confirmation de suppression d'une délibération

getConfirmFinaliser

public java.util.HashMap<java.lang.String,java.lang.Object> getConfirmFinaliser(javax.servlet.http.HttpServletRequest request)
retourne la map contentant les éléments utiles au template HTML

Specified by:
getConfirmFinaliser in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
model la map contentant les éléments utiles au template HTML

doCreationDeliberationDesignation

public java.lang.String doCreationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
Creation d'une délibération de désignation si tous les champs obligatoires du formulaire de création d'une délibération ont été renseigné,
la méthode retourne l'url de gestion des délibérations,
sinon l'url retournée est celle de l'interface spécifiant les messages d'erreurs.

Specified by:
doCreationDeliberationDesignation in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
l'url de creation d'une délibération de désignation

doModificationDeliberationDesignation

public java.lang.String doModificationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
Modifie la délibération de désignation Si la délibération est en ligne, alors la version est incrémentée de 1 et ajout d'un historique si tous les champs obligatoires du formulaire de modification d'une délibération ont été renseignés,
la méthode retourne l'url de gestion des délibérations,
sinon l'url retournée est celle de l'interface spécifiant les messages d'erreurs.

Specified by:
doModificationDeliberationDesignation in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
l'url de modification d'une délibération

doPublicationDeliberationDesignation

public java.lang.String doPublicationDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
Publication d'une délibération de désignation Si "OdsParameters.DELIBERATION_IS_PUBLIER" égale à TRUE, alors la méthode publie la délibération et incrémente la version
Dans ce cas, un historique est crée Sinon la méthode change le statut enLigne d'une délibération a FALSE

Specified by:
doPublicationDeliberationDesignation in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
l'url

doSuppressionDeliberationDesignation

public java.lang.String doSuppressionDeliberationDesignation(javax.servlet.http.HttpServletRequest request)
supprime la délibération de désignation choisie

Specified by:
doSuppressionDeliberationDesignation in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requête http
Returns:
l'url de suppression de la délibération de désignation

doFinaliserActe

public java.lang.String doFinaliserActe(javax.servlet.http.HttpServletRequest request)
Permet de confirmer la finalisation d'un acte

Specified by:
doFinaliserActe in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requete HTTP
Returns:
strUrl url de retour

doDownloadFichier

public GFichier doDownloadFichier(javax.servlet.http.HttpServletRequest request)
Télécharge un fichier. Renvoie un flux de bytes du fichier dans l'objet HttpServletResponse response

Specified by:
doDownloadFichier in interface IDeliberationDesignationService<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
request - la requte HTTP
Returns:
fichierTelecharger le fichier à télécharger

getJspUrlGetModificationForActe

public java.lang.String getJspUrlGetModificationForActe(javax.servlet.http.HttpServletRequest request,
                                                        int nIdEntite,
                                                        int nIdActe)
Specified by:
getJspUrlGetModificationForActe in interface IActeServiceManaged<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>

getIdParameter

public java.lang.String getIdParameter()
Specified by:
getIdParameter in interface IServiceManaged

doPublicationActe

public void doPublicationActe(Acte<GSeance,GFichier> acte,
                              boolean bIsPublie,
                              java.sql.Timestamp dateForVersion)
Specified by:
doPublicationActe in interface IActeServiceManaged<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>

getSeance

public GSeance getSeance(IBusinessItem entite)
Specified by:
getSeance in interface IServiceManaged

getSignature

public java.lang.String getSignature(IEntiteHorodatage entite)
Retourne la signature numériques SHA224 de la délibération de désignation

Specified by:
getSignature in interface IHorodatageServiceManaged
Parameters:
deliberation - Deliberation
plugin - le plugin actif
Returns:
la signature

getEntite

public IEntiteCertificatAffichage getEntite(Acte<GSeance,GFichier> acte)
Specified by:
getEntite in interface ICertificatAffichageServiceManaged<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>

getComparatorClass

public java.util.Comparator<IBusinessItem> getComparatorClass()
Specified by:
getComparatorClass in interface ICertificatAffichageServiceManaged<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>

getMarkForCertificat

public java.lang.String getMarkForCertificat(int nIdTypeEntite)
Specified by:
getMarkForCertificat in interface ICertificatAffichageServiceManaged<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>

getIndexerAction

public int getIndexerAction(IBusinessItem item)

createItemToDeleteInIndexer

public IBusinessItem createItemToDeleteInIndexer(int nIdItem)

getObjetActe

public java.lang.String getObjetActe(Acte<GSeance,GFichier> acte)
Renvoie l'objet de l'acte utilisé lors de l'envoi vers la plate-forme Numéro Intitulé

Specified by:
getObjetActe in interface IActeServiceManaged<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>>
Parameters:
acte - l'acte que l'on va transmettre
Returns:
strObjet l'objet de l'acte


Copyright © 2010 Mairie de Paris. All Rights Reserved.