Interface IAnonymisationDAO

  • All Known Implementing Classes:
    AnonymisationDAO

    public interface IAnonymisationDAO
    • Method Detail

      • loadCommentValue

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

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

        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
        Parameters:
        idHistory - the history id
        plugin - the plugin
        Returns:
        the id upload list
      • cleanUploadLines

        void cleanUploadLines​(int idHistory,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete upload reference line in workflow_upload_files tables with id history
        Parameters:
        idHistory - the id History
        message - the message to anoymise
        plugin - the plugin
      • loadMessageNotifyHIstoryTotal

        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
        Parameters:
        idHistory - the history id
        plugin - the plugin
        Returns:
        the map of colonne, message
      • storeAnonymisationNotifyGruHistoryTotal

        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
        Parameters:
        idHistory - the id History
        messagesList - the map of column and messages to update
        plugin - the plugin