Class AutoArchivingService
java.lang.Object
fr.paris.lutece.plugins.document.service.autoarchiving.AutoArchivingService
@ApplicationScoped
@Named("document.AutoArchivingService")
public class AutoArchivingService
extends Object
AutoArchiving Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoArchivingServiceDeprecated, for removal: This API element is subject to removal in a future version.voidinit()Initialize theAutoArchivingServiceserviceExecute the auto archiving process
-
Constructor Details
-
AutoArchivingService
public AutoArchivingService()
-
-
Method Details
-
getInstance
Deprecated, for removal: This API element is subject to removal in a future version.Use@Injectto obtain theAutoArchivingServiceinstance. This method will be removed in future versions.Returns the unique instance of theAutoArchivingServiceservice.This method is deprecated and is provided for backward compatibility only. For new code, use dependency injection with
@Injectto obtain theAutoArchivingServiceinstance instead.- Returns:
- The unique instance of
AutoArchivingService.
-
init
public void init()Initialize theAutoArchivingServiceservice -
processAutoArchiving
Execute the auto archiving process- Returns:
- The logs
-
@Injectto obtain theAutoArchivingServiceinstance.