Class FileService
java.lang.Object
fr.paris.lutece.portal.service.file.FileService
- Author:
- SLE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the current FileStoreService providergetFileStoreServiceProvider(String strFileStoreServiceProviderName) get the FileStoreService providerstatic FileServiceDeprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
PARAMETER_FILE_ID
- See Also:
-
PARAMETER_RESOURCE_ID
- See Also:
-
PARAMETER_RESOURCE_TYPE
- See Also:
-
PARAMETER_VALIDITY_TIME
- See Also:
-
PARAMETER_DATA
- See Also:
-
PARAMETER_BO
- See Also:
-
PARAMETER_PROVIDER
- See Also:
-
-
Constructor Details
-
FileService
public FileService()
-
-
Method Details
-
getInstance
Deprecated, for removal: This API element is subject to removal in a future version.Use@Injectto obtain theFileServiceinstance. This method will be removed in future versions.Returns the unique instance of theFileServiceservice.This method is deprecated and is provided for backward compatibility only. For new code, use dependency injection with
@Injectto obtain theFileServiceinstance instead.- Returns:
- The unique instance of
FileService.
-
getFileStoreServiceProvider
get the current FileStoreService provider- Returns:
- the current FileStoreService provider
-
getFileStoreServiceProvider
public IFileStoreServiceProvider getFileStoreServiceProvider(String strFileStoreServiceProviderName) get the FileStoreService provider- Parameters:
strFileStoreServiceProviderName-- Returns:
- the current FileStoreService provider
-
@Injectto obtain theFileServiceinstance.