Class FormThemeEditModeAdvancedModel
java.lang.Object
de.xima.fc.gui.model.form_theme.FormThemeEditModeAdvancedModel
- All Implemented Interfaces:
AutoCloseable
Model with additional data for the selected client form theme, such as a list of files that can be edited. This model
* is used when the edit mode is set to
EFormThemeEditMode.ADVANCED.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionFormThemeEditModeAdvancedModel(String explorerSessionId, IUser user, Mandant client) Creates a new model for advanced edit mode, that lets the user edit all files in a file explorer. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Gets the connector for the elFinder file explorer.Gets the file system that grants access to the files in the current form theme.Gets the current folder in the file manager.Gets the versioned store manager for associating additional data with e.g. files.voidsetCurrentFolder(String currentFolder) Sets the current folder in the file manager.Gets the handler for thumbnail URLs.
-
Constructor Details
-
FormThemeEditModeAdvancedModel
Creates a new model for advanced edit mode, that lets the user edit all files in a file explorer.- Parameters:
explorerSessionId- ID of the explorer session, usually bound to the lifecycle of the backing view scoped bean.user- The current user, used e.g. when new files are created.client- The current client who owns the form themes to edit.
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
connector
Gets the connector for the elFinder file explorer. The connector is used to handle requests from the explorer.- Returns:
- The connector for the elFinder file explorer.
-
fileSystemManager
Gets the file system that grants access to the files in the current form theme.- Returns:
- The file system for the current form theme.
-
getCurrentFolder
Gets the current folder in the file manager. Used to preserve the currently opened folder when the component is updated via AJAX requests.- Returns:
- The current folder.
-
setCurrentFolder
Sets the current folder in the file manager. Used to preserve the currently opened folder when the component is updated via AJAX requests.- Parameters:
currentFolder- The current folder.
-
resourceStoreManager
Gets the versioned store manager for associating additional data with e.g. files.- Returns:
- The versioned store manager.
-
thumbnailRequestHandler
Gets the handler for thumbnail URLs. Handles requests by generating the thumbnail for the requested image file from the file system.- Returns:
- The thumbnail request handler.
-