Class FileService
- java.lang.Object
-
- fr.paris.lutece.portal.service.file.FileService
-
public class FileService extends java.lang.Object- Author:
- SLE
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAMETER_BOstatic java.lang.StringPARAMETER_DATAstatic java.lang.StringPARAMETER_FILE_IDstatic java.lang.StringPARAMETER_PROVIDERstatic java.lang.StringPARAMETER_RESOURCE_IDstatic java.lang.StringPARAMETER_RESOURCE_TYPEstatic java.lang.StringPARAMETER_VALIDITY_TIMEstatic java.lang.StringPERMISSION_VIEW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IFileStoreServiceProvidergetFileStoreServiceProvider()get the current FileStoreService providerIFileStoreServiceProvidergetFileStoreServiceProvider(java.lang.String strFileStoreServiceProviderName)get the FileStoreService providerstatic FileServicegetInstance()getter
-
-
-
Field Detail
-
PARAMETER_FILE_ID
public static final java.lang.String PARAMETER_FILE_ID
- See Also:
- Constant Field Values
-
PARAMETER_RESOURCE_ID
public static final java.lang.String PARAMETER_RESOURCE_ID
- See Also:
- Constant Field Values
-
PARAMETER_RESOURCE_TYPE
public static final java.lang.String PARAMETER_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
PARAMETER_VALIDITY_TIME
public static final java.lang.String PARAMETER_VALIDITY_TIME
- See Also:
- Constant Field Values
-
PARAMETER_DATA
public static final java.lang.String PARAMETER_DATA
- See Also:
- Constant Field Values
-
PARAMETER_BO
public static final java.lang.String PARAMETER_BO
- See Also:
- Constant Field Values
-
PARAMETER_PROVIDER
public static final java.lang.String PARAMETER_PROVIDER
- See Also:
- Constant Field Values
-
PERMISSION_VIEW
public static final java.lang.String PERMISSION_VIEW
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static FileService getInstance()
getter- Returns:
- the instance
-
getFileStoreServiceProvider
public IFileStoreServiceProvider getFileStoreServiceProvider()
get the current FileStoreService provider- Returns:
- the current FileStoreService provider
-
getFileStoreServiceProvider
public IFileStoreServiceProvider getFileStoreServiceProvider(java.lang.String strFileStoreServiceProviderName)
get the FileStoreService provider- Parameters:
strFileStoreServiceProviderName-- Returns:
- the current FileStoreService provider
-
-