Skip navigation links

Package lumis.portal.filesystem

LumisXP provides a comprehensive file system API to abstract a virtual file system available on all portal servers on the same cluster.

See: Description

Package lumis.portal.filesystem Description

LumisXP provides a comprehensive file system API to abstract a virtual file system available on all portal servers on the same cluster.

The portal known files are those files that belong to some specific folders controlled by the LumisPortal.
These folders are abstracted by the IPortalBaseFolder interface.
A portal file is denoted by:

  1. A portal base folder
  2. A string that is the relative path of the file
By doing this the portal can easily identify a given file in any cluster server, even if the LumisPortal install path vary from server to server. The PortalFilePath class is the abstraction of these information.

The usage of portal known files must be performed through this API. The direct file manipulation could corrupt the portal file system.

The usage of this API provides the following advantages:

The entry points for this package are:

How the portal known files are persisted can be configured on the portal environment configuration. If it is desired to implement your own way of file persistence this can be done by implementing IFileSystem. It is important to notice, though, that file system implementations are not loaded from platform's classloader. They must be present in web application's classloader instead.

Since:
4.1.0
Version:
$Revision: 23103 $ $Date: 2019-09-03 15:45:21 +0000 (Tue, 03 Sep 2019) $
See Also:
ManagerFactory.getFileSystemManager(), IFileSystemManager, PortalFilePath, IFile
Skip navigation links

LumisXP  12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.