public interface IArchiveService
| Modifier and Type | Method and 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)
Load the
ArchiveResource |
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 |
ArchiveConfig loadConfig(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
task - ArchiveResource getArchiveResource(int nIdHistory, int nIdTask)
ArchiveResourcenIdHistory - nIdTask - void createArchiveResource(fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow resourceWorkflow,
ArchiveConfig config)
resourceWorkflow - config - boolean isResourceUpForArchival(fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow resourceWorkflow,
ArchiveConfig config)
resourceWorkflow - config - fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow getResourceWorkflowByHistory(int nIdHistory)
nIdHistory - void archiveResource(fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow resourceWorkflow,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
ArchiveConfig config)
resourceWorkflow - task - config - void removeArchiveResource(int idResource,
int idTask)
ArchiveResource by idResourceidResource - idTask - Copyright © 2021 City of Paris. All rights reserved.