Class TemporaryFileGeneratorService
java.lang.Object
fr.paris.lutece.plugins.filegenerator.service.TemporaryFileGeneratorService
Service tha generates and saves Temporary Files.
-
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateFile(IFileGenerator generator, fr.paris.lutece.portal.business.user.AdminUser user) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getInstance
Deprecated, for removal: This API element is subject to removal in a future version.Use@Injectto obtain theTemporaryFileGeneratorServiceinstance. This method will be removed in future versions.Returns the unique instance of theTemporaryFileGeneratorServiceservice.This method is deprecated and is provided for backward compatibility only. For new code, use dependency injection with
@Injectto obtain theTemporaryFileGeneratorServiceinstance instead.- Returns:
- The unique instance of
TemporaryFileGeneratorService.
-
generateFile
@Asynchronous public void generateFile(IFileGenerator generator, fr.paris.lutece.portal.business.user.AdminUser user)
-
@Injectto obtain theTemporaryFileGeneratorServiceinstance.