Package | Description |
---|---|
lumis.content.service | |
lumis.doui.source.field.type | |
lumis.portal.file | |
lumis.portal.file.transformation |
Provides the file transformations.
|
lumis.portal.service |
Modifier and Type | Method and Description |
---|---|
boolean |
ContentService.checkFileAccess(FileConfig file) |
Modifier and Type | Method and Description |
---|---|
static String |
FileDataType.FileDataParser.extract(SessionConfig sessionConfig,
FileConfig fileConfig,
ITransaction transaction) |
Constructor and 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.
|
Modifier and Type | Method and 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 by
IFileManager.add(SessionConfig, String, File, String, String, ITransaction) . |
FileConfig |
FileManager.add(SessionConfig sessionConfig,
String name,
File file,
String contentType,
String serviceInstanceId,
ITransaction transaction) |
FileConfig |
IFileManager.add(SessionConfig sessionConfig,
String name,
File file,
String contentType,
String serviceInstanceId,
ITransaction transaction)
Persists a file.
|
FileConfig |
FileManager.add(SessionConfig sessionConfig,
String fileId,
String fileRelativePath,
String name,
File file,
String serviceInstanceId,
ITransaction transaction) |
FileConfig |
IFileManager.add(SessionConfig sessionConfig,
String fileId,
String fileRelativePath,
String name,
File file,
String serviceInstanceId,
ITransaction transaction)
Persists a file.
|
FileConfig |
FileManager.add(SessionConfig sessionConfig,
String fileId,
String fileRelativePath,
String name,
File file,
String contentType,
String serviceInstanceId,
ITransaction transaction) |
FileConfig |
IFileManager.add(SessionConfig sessionConfig,
String fileId,
String fileRelativePath,
String name,
File file,
String contentType,
String serviceInstanceId,
ITransaction transaction)
Persists a file.
|
FileConfig |
FileManager.findByFullPath(SessionConfig sessionConfig,
String fullPath,
ITransaction transaction)
Finds the FileConfig by the full path.
|
FileConfig |
FileManager.get(SessionConfig sessionConfig,
String fileId,
ITransaction transaction) |
FileConfig |
IFileManager.get(SessionConfig sessionConfig,
String fileId,
ITransaction transaction)
Returns the FileConfig for a file with the given fileId.
|
Modifier and Type | Method and Description |
---|---|
Collection<FileConfig> |
FileManager.getFileConfigsByFilesId(SessionConfig sessionConfig,
String filesId,
ITransaction transaction) |
Collection<FileConfig> |
IFileManager.getFileConfigsByFilesId(SessionConfig sessionConfig,
String filesId,
ITransaction transaction)
Returns a collection of FileConfig of file entries belonging to the files
with the given id.
|
Collection<FileConfig> |
FileManager.getFileConfigsByServiceInstanceId(String serviceInstanceId,
ITransaction transaction)
Returns all file configs by a given service instance id.
|
Modifier and Type | Method and 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 by
IFileManager.add(SessionConfig, String, File, String, String, ITransaction) . |
File |
FileManager.getFile(SessionConfig sessionConfig,
FileConfig fileConfig,
ITransaction transaction)
Deprecated.
|
File |
IFileManager.getFile(SessionConfig sessionConfig,
FileConfig fileConfig,
ITransaction transaction)
Deprecated.
since 8.0.0 replaced by
IFileManager.getPortalFile(SessionConfig, FileConfig, ITransaction) .
When not using the LumisPortal's default file systems, this method may raise an exception. |
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 given
file from one web root to another. |
void |
IFileValidator.validate(FileConfig file)
Validate the metadata of a file.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
FileTransformationManager.transformFiles(Collection<FileConfig> files,
String serviceInstanceId,
ITransaction transaction)
Schedule the file transformation for the given files.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
IService.checkFileAccess(FileConfig file)
Returns whether the current user has access to the given file.
|
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.