Class ArchiveService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE  
    • Constructor Summary

      Constructors 
      Constructor Description
      ArchiveService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void archiveResource​(fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow resourceWorkflow, fr.paris.lutece.plugins.workflowcore.service.task.ITask task, ArchiveConfig config)
      Archives the resource according to the specified config
      void createArchiveResource​(fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow resourceWorkflow, ArchiveConfig config)
      Creates the Archive Resource.
      ArchiveResource getArchiveResource​(int nIdHistory, int nIdTask)
      fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow getResourceWorkflowByHistory​(int nIdHistory)
      Get resource owning the history
      boolean isResourceUpForArchival​(fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow resourceWorkflow, ArchiveConfig config)
      Determines if a resource is up for archival.
      ArchiveConfig loadConfig​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Load config of task.
      void removeArchiveResource​(int idResource, int idTask)
      Delete the ArchiveResource by idResource
      void removeConfig​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Deletes the config for the task.
      • Methods inherited from class java.lang.Object

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

      • ArchiveService

        public ArchiveService()