Uses of Class
lumis.portal.file.FileConfig
-
Packages that use FileConfig Package Description lumis.content.service lumis.doui.source.field.type lumis.portal.file lumis.portal.file.transformation Provides the file transformations.lumis.portal.service -
-
Uses of FileConfig in lumis.content.service
Methods in lumis.content.service with parameters of type FileConfig Modifier and Type Method Description boolean
ContentService. checkFileAccess(FileConfig file)
-
Uses of FileConfig in lumis.doui.source.field.type
Methods in lumis.doui.source.field.type with parameters of type FileConfig Modifier and Type Method Description static java.lang.String
FileDataType.FileDataParser. extract(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
Constructors in lumis.doui.source.field.type with parameters of type FileConfig Constructor Description Data(FileConfig fileConfig)
Deprecated.Since 4.0.8 replaced by#Data(FileConfig, String)
so icon value is also set.Data(FileConfig fileConfig, FileMimeTypeConfig mimeTypeConfig)
Creates a new Data for the given fileConfig with the given mimeType. -
Uses of FileConfig in lumis.portal.file
Methods in lumis.portal.file that return FileConfig Modifier and Type Method Description FileConfig
FileManager. add(SessionConfig sessionConfig, java.lang.String name, java.io.File file, java.lang.String contentType, java.lang.String serviceInstanceId, ITransaction transaction)
FileConfig
FileManager. add(SessionConfig sessionConfig, java.lang.String fileId, java.lang.String fileRelativePath, java.lang.String name, java.io.File file, java.lang.String contentType, java.lang.String serviceInstanceId, ITransaction transaction)
FileConfig
FileManager. add(SessionConfig sessionConfig, java.lang.String fileId, java.lang.String fileRelativePath, java.lang.String name, java.io.File file, java.lang.String serviceInstanceId, ITransaction transaction)
FileConfig
FileManager. add(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
Deprecated.FileConfig
IFileManager. add(SessionConfig sessionConfig, java.lang.String name, java.io.File file, java.lang.String contentType, java.lang.String serviceInstanceId, ITransaction transaction)
Persists a file.FileConfig
IFileManager. add(SessionConfig sessionConfig, java.lang.String fileId, java.lang.String fileRelativePath, java.lang.String name, java.io.File file, java.lang.String contentType, java.lang.String serviceInstanceId, ITransaction transaction)
Persists a file.FileConfig
IFileManager. add(SessionConfig sessionConfig, java.lang.String fileId, java.lang.String fileRelativePath, java.lang.String name, java.io.File file, java.lang.String serviceInstanceId, ITransaction transaction)
Persists a file.FileConfig
IFileManager. add(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
Deprecated.Since 6.0.0 replaced byIFileManager.add(SessionConfig, String, File, String, String, ITransaction)
.FileConfig
FileManager. findByFullPath(SessionConfig sessionConfig, java.lang.String fullPath, ITransaction transaction)
Finds the FileConfig by the full path.FileConfig
FileManager. get(SessionConfig sessionConfig, java.lang.String fileId, ITransaction transaction)
FileConfig
IFileManager. get(SessionConfig sessionConfig, java.lang.String fileId, ITransaction transaction)
Returns the FileConfig for a file with the given fileId.Methods in lumis.portal.file that return types with arguments of type FileConfig Modifier and Type Method Description java.util.Collection<FileConfig>
FileManager. getFileConfigsByFilesId(SessionConfig sessionConfig, java.lang.String filesId, ITransaction transaction)
java.util.Collection<FileConfig>
IFileManager. getFileConfigsByFilesId(SessionConfig sessionConfig, java.lang.String filesId, ITransaction transaction)
Returns a collection of FileConfig of file entries belonging to the files with the given id.java.util.Collection<FileConfig>
FileManager. getFileConfigsByServiceInstanceId(java.lang.String serviceInstanceId, ITransaction transaction)
Returns all file configs by a given service instance id.Methods in lumis.portal.file with parameters of type FileConfig Modifier and Type Method Description FileConfig
FileManager. add(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
Deprecated.FileConfig
IFileManager. add(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
Deprecated.Since 6.0.0 replaced byIFileManager.add(SessionConfig, String, File, String, String, ITransaction)
.java.io.File
FileManager. getFile(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
Deprecated.java.io.File
IFileManager. getFile(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
Deprecated.since 8.0.0 replaced byIFileManager.getPortalFile(SessionConfig, FileConfig, ITransaction)
.static IMonitor
FileMonitorUtil. getFileDownloadMonitor(FileConfig fileConfig, ITransaction transaction)
Returns a monitor for the "lumis.portal.monitor.ev.file.download" event.static IMonitor
FileMonitorUtil. getFileUploadMonitor(FileConfig fileConfig, ITransaction transaction)
Returns a monitor for the "lumis.portal.monitor.ev.file.upload" event.IFile
FileManager. getPortalFile(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
IFile
IFileManager. getPortalFile(SessionConfig sessionConfig, FileConfig fileConfig, ITransaction transaction)
Returns the File object for accessing the corresponding file in the portal filesystem.static IWebsite
FileUtil. getWebsiteByFile(FileConfig fileConfig, ITransaction transaction)
Returns the website of the given file (the website that contains the file's service instance).void
FileManager. moveFile(FileConfig file, IWebRootPortalBaseFolder oldWebRoot, IWebRootPortalBaseFolder newWebRoot)
Moves the givenfile
from one web root to another.void
ExtensionFileValidator. validate(FileConfig file)
Validate the file using property bags defined on instance service.void
IFileValidator. validate(FileConfig file)
Validate the metadata of a file. -
Uses of FileConfig in lumis.portal.file.transformation
Methods in lumis.portal.file.transformation with parameters of type FileConfig Modifier and Type Method Description java.util.Collection<IImageScaleTransformationResult>
FileTransformationManager. getImageScaleTransformationResults(FileConfig srcFile)
java.util.Collection<IImageScaleTransformationResult>
IFileTransformationManagerSPI. getImageScaleTransformationResults(FileConfig srcFile)
Returns all image scaling transformations of the given file.void
FileTransformationManager. moveTransformedFiles(FileConfig fileConfig, IWebRootPortalBaseFolder oldWebRoot)
void
IFileTransformationManagerSPI. moveTransformedFiles(FileConfig fileConfig, IWebRootPortalBaseFolder oldWebRoot)
Moves the transformed public files from the old web root to the current.TransformedFileConfig
DefaultFileTransformer. transform(FileConfig fileConfig, FileTransformation fileTransformation)
TransformedFileConfig
IFileTransformer. transform(FileConfig fileConfig, FileTransformation fileTransformation)
Converts the file using the file config as source of transformation, applying the transformations.Method parameters in lumis.portal.file.transformation with type arguments of type FileConfig Modifier and Type Method Description void
FileTransformationManager. transformFiles(java.util.Collection<FileConfig> files, java.lang.String serviceInstanceId, ITransaction transaction)
Schedule the file transformation for the given files. -
Uses of FileConfig in lumis.portal.service
Methods in lumis.portal.service with parameters of type FileConfig Modifier and Type Method Description default boolean
IService. checkFileAccess(FileConfig file)
Returns whether the current user has access to the given file.
-