Class AssignmentHistoryService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE
      The name of the bean of this service
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create​(AssignmentHistory assignmentHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creation of an instance of assignmentHistory
      java.util.List<AssignmentHistory> getListByHistory​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Return the list of assignment associated width the history specified in parameter
      void removeByHistory​(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove all assignment associated width the history specified in parameter
      void removeByTask​(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove all assignment associated width the task specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BEAN_SERVICE

        public static final java.lang.String BEAN_SERVICE
        The name of the bean of this service
        See Also:
        Constant Field Values
    • Constructor Detail

      • AssignmentHistoryService

        public AssignmentHistoryService()
    • Method Detail

      • create

        @Transactional("workflow.transactionManager")
        public void create​(AssignmentHistory assignmentHistory,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Creation of an instance of assignmentHistory
        Specified by:
        create in interface IAssignmentHistoryService
        Parameters:
        assignmentHistory - the history of the assignmennt
        plugin - the plugin
      • removeByHistory

        @Transactional("workflow.transactionManager")
        public void removeByHistory​(int nIdHistory,
                                    int nIdTask,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove all assignment associated width the history specified in parameter
        Specified by:
        removeByHistory in interface IAssignmentHistoryService
        Parameters:
        nIdHistory - the history key
        nIdTask - The task key
        plugin - the Plugin
      • removeByTask

        @Transactional("workflow.transactionManager")
        public void removeByTask​(int nIdTask,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove all assignment associated width the task specified in parameter
        Specified by:
        removeByTask in interface IAssignmentHistoryService
        Parameters:
        nIdTask - The task key
        plugin - the Plugin
      • getListByHistory

        public java.util.List<AssignmentHistory> getListByHistory​(int nIdHistory,
                                                                  int nIdTask,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Return the list of assignment associated width the history specified in parameter
        Specified by:
        getListByHistory in interface IAssignmentHistoryService
        Parameters:
        nIdHistory - the history id
        nIdTask - the task id
        plugin - the plugin
        Returns:
        the Config Object