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 Details

    • AutoArchivingService

      public AutoArchivingService()
  • Method Details

    • getInstance

      @Deprecated(since="8.0", forRemoval=true) public static AutoArchivingService getInstance()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use @Inject to obtain the AutoArchivingService instance. This method will be removed in future versions.
      Returns the unique instance of the AutoArchivingService service.

      This method is deprecated and is provided for backward compatibility only. For new code, use dependency injection with @Inject to obtain the AutoArchivingService instance instead.

      Returns:
      The unique instance of AutoArchivingService.
    • init

      public void init()
      Initialize the AutoArchivingService service
    • processAutoArchiving

      public String processAutoArchiving()
      Execute the auto archiving process
      Returns:
      The logs