Class AnonymisationDAO

    • Constructor Detail

      • AnonymisationDAO

        public AnonymisationDAO()
    • Method Detail

      • loadMessageNotifyHIstoryTotal

        public Map<String,​String> loadMessageNotifyHIstoryTotal​(int idHistory,
                                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get the map of all the messages and their column from notify history table for an id history
        Specified by:
        loadMessageNotifyHIstoryTotal in interface IAnonymisationDAO
        Parameters:
        idHistory - the history id
        plugin - the plugin
        Returns:
        the map of colonne, message
      • storeAnonymisationNotifyGruHistoryTotal

        public void storeAnonymisationNotifyGruHistoryTotal​(Map<String,​String> messagesList,
                                                            int idHistory,
                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the messages in the matching column from notify history table for an id history
        Specified by:
        storeAnonymisationNotifyGruHistoryTotal in interface IAnonymisationDAO
        Parameters:
        messagesList - the map of column and messages to update
        idHistory - the id History
        plugin - the plugin
      • loadCommentValue

        public String loadCommentValue​(int idHistory,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Find the CommentValue with id history
        Specified by:
        loadCommentValue in interface IAnonymisationDAO
        Parameters:
        idHistory - the id History
        plugin - the plugin
        Returns:
        the comment value
      • storeAnonymisationCommentValue

        public void storeAnonymisationCommentValue​(String message,
                                                   int idHistory,
                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update CommentValue
        Specified by:
        storeAnonymisationCommentValue in interface IAnonymisationDAO
        Parameters:
        message - the message to anoymise
        idHistory - the id History
      • getIdUploadFilesByIdHistory

        public List<Integer> getIdUploadFilesByIdHistory​(int idHistory,
                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get the list of id upload files history with an id history
        Specified by:
        getIdUploadFilesByIdHistory in interface IAnonymisationDAO
        Parameters:
        idHistory - the history id
        plugin - the plugin
        Returns:
        the id upload list
      • cleanUploadLines

        public void cleanUploadLines​(int idHistory,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete upload reference line in workflow_upload_files tables with id history
        Specified by:
        cleanUploadLines in interface IAnonymisationDAO
        Parameters:
        idHistory - the id History
        plugin - the plugin