Class AnonymisationDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.ticketing.business.anonymisation.AnonymisationDAO
-
- All Implemented Interfaces:
IAnonymisationDAO
public class AnonymisationDAO extends Object implements IAnonymisationDAO
-
-
Field Summary
-
Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.ticketing.business.anonymisation.IAnonymisationDAO
BEAN_SERVICE
-
-
Constructor Summary
Constructors Constructor Description AnonymisationDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanUploadLines(int idHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete upload reference line in workflow_upload_files tables with id historyList<Integer>getIdUploadFilesByIdHistory(int idHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the list of id upload files history with an id historyStringloadCommentValue(int idHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Find the CommentValue with id historyMap<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 historyvoidstoreAnonymisationCommentValue(String message, int idHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update CommentValuevoidstoreAnonymisationNotifyGruHistoryTotal(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
-
-
-
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:
loadMessageNotifyHIstoryTotalin interfaceIAnonymisationDAO- Parameters:
idHistory- the history idplugin- 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:
storeAnonymisationNotifyGruHistoryTotalin interfaceIAnonymisationDAO- Parameters:
messagesList- the map of column and messages to updateidHistory- the id Historyplugin- the plugin
-
loadCommentValue
public String loadCommentValue(int idHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the CommentValue with id history- Specified by:
loadCommentValuein interfaceIAnonymisationDAO- Parameters:
idHistory- the id Historyplugin- 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:
storeAnonymisationCommentValuein interfaceIAnonymisationDAO- Parameters:
message- the message to anoymiseidHistory- 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:
getIdUploadFilesByIdHistoryin interfaceIAnonymisationDAO- Parameters:
idHistory- the history idplugin- 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:
cleanUploadLinesin interfaceIAnonymisationDAO- Parameters:
idHistory- the id Historyplugin- the plugin
-
-